Repository navigation
Expand file tree
/
Copy pathquizzer.css
More file actions
133 lines (108 loc) · 1.8 KB
/
Copy pathquizzer.css
File metadata and controls
133 lines (108 loc) · 1.8 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
body {
background-color: #7CBB7A;
margin: 0;
font-family: 'Open sans', sans-serif;
}
* {
box-sizing: border-box;
}
button {
border: none;
border-radius: 6px;
padding: 10px 20px;
font-size: 20px;
color: #fff;
background-color: #ccc;
}
header .title {
background-color: #767D76;
color: #fff;
text-align: center;
padding: 15px;
}
header h1, header h2 {
margin: 0;
}
header div.countdown {
float: right;
}
header div.points {
float: left;
-webkit-transition: color 0.5s;
transition: color 0.5s;
}
header div.points.animate.right {
color: #767D76;
}
header div.points.animate.wrong {
color: #bf0000;
}
header div.countdown, header div.points {
font-weight: bold;
margin: 10px;
color: #fff;
padding: 0px;
font-size: 26px;
}
.card {
background-color: red;
width: 500px;
background-color: #fff;
margin: 100px auto 30px auto;
border-radius: 6px;
text-align: center;
padding: 20px;
}
div.start .card {
display: block;
}
div.start .card p, .question.card span.question {
font-size: 25px;
}
.card.question {
display: none;
}
.card.question.active {
display: block;
}
.card.question .options {
padding: 0;
list-style: none;
margin-top: 35px;
}
.card.question .options > li {
margin: 10px 80px;
}
.card.question .options > li label {
background-color: #7ED2CF;
display: block;
padding: 10px;
border-radius: 20px;
}
.card.question .options > li label:hover {
background-color: #8EE8E5;
}
.card.question .options > li input:checked + label {
background-color: #4D8E8C !important;
color: #fff;
}
.card.question .options > li input {
opacity: 0;
display: none;
}
.finish {
display: none;
}
.card.finish p {
font-size: 22px;
}
.card.finish .final_points {
font-size: 40px;
font-weight: bolder;
}
.play_again,
button.start {
width: 200px;
margin: 0 auto 20px auto;
color: #fff;
}