forked from nastiazhyrnova/Quiz
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
141 lines (139 loc) · 2.93 KB
/
Copy pathstyles.css
File metadata and controls
141 lines (139 loc) · 2.93 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
134
135
136
137
138
139
140
141
@import url("https://fonts.googleapis.com/css?family=Raleway|PT+Serif:700");
:root {
--main-font-color: #1a1a1a;
--main-background-color: white;
--main-theme-color: rgb(243, 168, 47);
--light-white: #f5f5f5;
--light-grey: #f0f0f0;
--light-black: #282a39;
--font-body-stack: Raleway, Charcoal, sans-serif;
--font-heading-stack: "PT Serif", sans-serif;
--container-width: 768px;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: var(--font-body-stack);
}
.container {
max-width: var(--container-width);
margin-right: auto;
margin-left: auto;
}
.button {
padding: 1rem 3rem;
text-transform: uppercase;
border: 0;
transition: 0.3 all ease;
outline: 0;
opacity: 0.9;
font-weight: bold;
background-color: transparent;
}
.button:hover {
opacity: 1;
background-color: var(--light-black);
color: var(--main-background-color);
}
.button-bordered {
border: 1px solid var(--light-black);
}
.jabquiz {
padding: 2rem 1.4rem;
}
.questionbox {
text-align: center;
}
.question {
font-family: var(--font-heading-stack);
font-weight: bold;
letter-spacing: 1.5px;
padding: 0.8rem 4rem;
color: var(--light-black);
}
.tracker{
color: var(--light-black);
padding: 1rem;
}
.progressbar {
border-radius: 4px;
margin: 2rem auto;
width: 50%;
background-color: var(--light-white);
}
.progressbar__inner {
height: 10px;
width: 0%;
background-color: var(--main-theme-color);
border-right: 2px solid black;
transition: 0.3 all ease;
}
.tagline {
font-family: var(--font-body-stack);
color: var(--light-black);
font-size: 1.4rem;
}
.choices {
list-style: none;
margin: 1rem auto;
display: flex;
flex-wrap: wrap;
align-content: center;
justify-content: space-between;
}
.choice {
display: block;
width: 335px;
/* max-width: max-content; */
max-height: max-content;
border-radius: 4px;
display: block;
background-color: var(--light-grey);
font-family: sans-serif;
color: var(--light-black);
letter-spacing: 1.2px;
font-size: 0.86rem;
margin: 0.5rem;
}
.quiz__label {
padding: 2rem 1.25rem;
display: flex;
align-items: center;
}
.choices input {
display: none;
}
.choices input:checked + label {
color: var(--main-theme-color);
}
.choices input:checked + label i{
background-image: url(./circle-filled.svg);
}
.choices label i{
background-image: url(./circle-outline.svg);
background-size: 40px;
height: 40px;
width: 40px;
display: inline-block;
position: relative;
top: 1px;
left: -2px;
margin-right: 10px;
}
.footer {
margin: auto 0;
text-align: center;
padding: 2rem;
}
.next,
.restart {
width: 250px;
margin: 0.2rem 1rem;
}
@media (max-width: 896px) and (orientation: portrait) {
.footer {
display: flex;
flex-direction: column-reverse;
}
}