-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
103 lines (103 loc) · 2.03 KB
/
style.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
* {
box-sizing: border-box;
}
body {
font-family: Tahoma, Arial;
}
.quiz-app {
margin: 20px auto;
width: 800px;
background-color: #f8f8f8;
padding: 15px;
}
.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: 0 20px 20px;
}
.quiz-app .answers-area .answer {
background-color: #f9f9f9;
padding: 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 {
cursor: pointer;
font-weight: bold;
color: #777;
font-size: 14px;
margin-left: 5px;
position: relative;
top: -1px;
}
.quiz-app .submit-button {
background-color: #0075ff;
display: block;
width: 100%;
padding: 15px;
border: none;
color: #fff;
font-weight: bold;
font-size: 18px;
cursor: pointer;
border-radius: 6px;
margin: 20px auto;
}
.quiz-app .submit-button:focus {
outline: none;
}
.quiz-app .bullets {
border-top: 1px solid #dfdfdf;
background-color: #fff;
display: flex;
padding: 20px;
}
.quiz-app .bullets .spans {
flex: 1;
display: flex;
}
.quiz-app .bullets .spans span {
width: 20px;
height: 20px;
background-color: #ddd;
margin-right: 5px;
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;
}