-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
98 lines (84 loc) · 1.7 KB
/
styles.css
File metadata and controls
98 lines (84 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-position: center;
background-size: cover;
padding-left: 5rem;
max-height: 100vh;
margin-top: 8rem;
background-repeat: no-repeat;
background-attachment: fixed;
background-image: url(./QUIZ.jpg)
}
.text-center{
color: white;
padding-bottom: 2rem;
}
.card-text{
color: black;
padding: 1rem;
}
.answer-options{
color: black;
padding-left: 1rem;
word-spacing: 10px;
line-height: 30px;
}
.hidden{
color: red;
display: none;
}
.instruction{
color: white;
padding-bottom: 2rem;
}
.card{
border-radius: 1rem;
max-width: 45%;
background-color: rgb(157, 233, 233);
}
.Next{
margin-top: 1rem;
padding: 0.3rem;
margin-bottom: 2rem;
margin-left: 1rem;
cursor: pointer;
transition: background-color 0.3s, color 0.3s;
box-shadow: none;
border-radius: 0.7rem;
}
.Next:hover{
background-color: rgb(70, 68, 228);
}
.quiz-result{
color: white;
}
@media only screen and (max-width: 500px) {
body{
padding-top: 10rem;
max-width: 500px;
image-orientation: flip;
background-attachment: fixed;
max-height: 100vh;
background-image: url(./quiz-mobile\ \(2\).jpg);
}
.text-center{
padding-top: 1rem;
position: absolute;
top: 100px;
}
.card{
max-width: 80%;
size-adjust: small;
text-align: left;
magin-top: 10rem;
}
.instruction{
color: white;
position: absolute;
top: 80px;
}
}