-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.css
85 lines (76 loc) · 1.65 KB
/
test.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
body {
background-color: #212429;
display: flex;
justify-content: center;
align-items: center;
font-family: 'Inter', sans-serif;
}
:root {
--button-border: #40444F;
--button-background: #202429;
--text-color: white;
--progress-color: rgba(255, 255, 255, 0.5);
}
#questionDiv {
background-color: #191B1F;
color: var(--text-color);
border-radius: 20px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
width: 100%;
max-width: 600px;
height: auto;
max-height: 800px;
padding: 15px;
text-align: center;
}
#choices {
display: flex;
flex-direction: column;
flex-grow: 1;
align-items: stretch;
width: 100%;
}
#question {
font-size:xx-large;
color: var(--text-color);
margin-bottom:15px;
margin-top: 10px;
font-weight: 600;
}
#progressBar {
width: 100%;
height: 10px;
border: 2px solid var(--progress-color);
margin-top: 10px;
border-radius: 50px;
overflow:hidden;
}
#progressBarFull{
height: 100%;
background: var(--progress-color);
width: 0%;
transition: width 500ms;
}
.choiceButton {
min-height: 50px;
margin-top: 5px;
padding: 10px;
color: whitesmoke;
border-radius: 10px;
font-size: medium;
background-color: var(--button-background);
border-color: var(--button-border);
opacity: 0.7;
transition: opacity 400ms;
transition: border-color 400ms;
}
.choiceButton:hover {
opacity: 1;
border-color: #62b7df;
}
.choiceButton:active{
opacity: 0.6;
}