-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
128 lines (106 loc) · 1.91 KB
/
main.css
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
* {
box-sizing: border-box;
}
body {
font-family: Tahoma, Arial;
background-color: #263238;
}
.quiz-app {
margin: 20px auto;
width: 800px;
background-color: #f8f8f8;
padding: 20px;
}
.quiz-app .quiz-info {
display: flex;
background-color: #fff;
padding: 20px;
}
.quiz-app .quiz-info .category {
flex: 1;
}
.quiz-app .quiz-info .count {
flex: 1;
text-align: right;
}
.quiz-app .quiz-area {
background-color: #fff;
padding: 20px;
margin-top: 15px;
}
.quiz-app .quiz-area h2 {
margin: 0;
}
.quiz-app .answers-area {
background-color: #fff;
padding: 20px;
margin-top: 10px;
}
.quiz-app .answers-area .answer {
background-color: #f8f8f8;
padding: 20px;
margin-top: 15px;
}
.quiz-app .answers-area .answer:not(:last-child) {
border-bottom: 1px solid #dfdfdf;
}
.quiz-app .answers-area .answer input[type="radio"]:checked + label {
color: #0075ff;
}
.quiz-app .answers-area .answer label {
position: relative;
color: #777;
font-weight: bold;
margin-left: 5px;
font-size: 14px;
top: -1;
}
.quiz-app .submit-button {
display: block;
background-color: #0075ff;
color: #fff;
width: 100%;
padding: 10px;
margin: 20px auto;
font-size: 18px;
font-weight: bold;
border: none;
border-radius: 6px;
cursor: pointer;
}
.quiz-app .submit-button:focus {
outline: none;
}
.quiz-app .bullets {
border-top: 1px solid #f8f8f8;
background-color: #fff;
display: flex;
padding: 20px;
}
.quiz-app .bullets .spans {
flex: 1;
display: flex;
}
.quiz-app .bullets .spans span {
width: 8px;
height: 8px;
border: 1px solid #ddd;
padding: 10px;
margin-left: 10px;
border-radius: 50%;
}
.quiz-app .bullets .spans span.on {
background-color: #0075ff;
}
.quiz-app .results span {
font-weight: bold;
}
.quiz-app .results span.bad {
color: #dc0a0a;
}
.quiz-app .results span.good {
color: #009688;
}
.quiz-app .results span.perfect {
color: #0075ff;
}