-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
125 lines (124 loc) · 2.52 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
@import url("https://fonts.googleapis.com/css?family=Raleway|PT+Serif:700");
:root{
--main-font-color: #1a1a1a;
--main-bg-color: white;
--main-theme-color: rgb(243,168,47);
--light-white: #f5f5f5;
--light-gray: #ccc;
--light-black: #282a39;
--font-body-stack: raleway, Charcoa,sans-serif;
--font-heading-stack: "PT Serif", sans-serif;
--container-width: 768px;
}
*{
padding: 0;
margin:0;
box-sizing: border-box;
}
.container{
max-width: var(--container-width);
margin-right: auto;
margin-left: auto;
}
.button{
padding: 1rem 3.8rem;
text-transform:uppercase;
border: 0;
outline: 0;
opacity: 0.8;
transition: 0.3s all ease;
font-weight: bold;
}
.button:hover{
opacity: 1;
background: var(--light-black);
color: white;
}
.button.button--bordered{
border: 1px solid var(--light-black);
}
.jabquiz{
padding: 2rem;
}
.question-box{
text-align: center;
}
.question{
font-family: var(--font-heading-stack);
font-weight: bold;
letter-spacing: 1.5px;
padding: 0.8rem 4rem;
color: var(--main-font-color);
}
.jabquiz-tracker{
font-family: var(--font-body-stack);
color: var(--light-black);
padding: 1rem;
}
.jabquiz-tagline {
font-family: var(--font-body-stack);
color: var(--light-gray);
font-size: 1.4rem;
}
.progress{
border-radius: 4px;
margin: 2rem auto;
width: 50%;
background-color: var(--light-white);
}
.progress-inner{
height: 10px;
width: 0%;
background-color: var(--main-theme-color);
border-right: 2px solid black;
}
.choices-box{
}
.choices{
list-style-type: none;
margin: 1rem auto;
display: flex;
flex-wrap: wrap;
}
.choice{
min-width: 300px;
border-radius: 4px;
background-color: var(--light-white);
margin: 0.5rem auto;
font-family: sans-serif;
color: var(--light-black);
letter-spacing: 1.2px;
font-size: 0.86rem;
display: block;
}
.jab-label{
padding: 2rem 2rem;
display: flex;
align-items: center;
}
.choices input {
opacity: 0;
}
.choices input:checked + label{
color: var(--main-theme-color);
}
.choices input:checked + label i{
background-image: url('./images/circle-filled.jfif');
}
.choices label i{
background: url('./images/circle-outlined.jfif');
background-size: 40px;
height: 40px;
width: 40px;
display: inline-block;
position: relative;
top: 1px;
left: -2px;
margin-right: 10px ;
}
.jabquiz-footer{
padding: 2rem;
display: flex;
flex-direction: column;
margin-bottom: .5rem;
}