-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.css
107 lines (94 loc) · 2 KB
/
app.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
/* Your styles should be mobile-first and responsive */
/**
* If you are unclear on how to utilize a mobile-first, responsive technique to write your CSS, here is an example:
*
* https://github.com/andreacardybailey/responsive_example/blob/master/styles/responsive-base.css
*
*/
* {
box-sizing: border-box;
}
body {
background-color: gray;
display: flex;
flex-direction: column;
align-items: center;
}
header {
display: flex;
justify-content: center;
margin-top: 40px;
text-align: center;
font-family: 'Permanent Marker';
color: whitesmoke;
text-shadow: 2px 2px 4px rgba(0,0,0);
font-size: 18px;
}
main {
font-family: 'Inter';
}
.home-screen {
text-align: center;
background-color: rgba(255, 255, 255, 0.692);
border-radius: 5px;
padding-top: 1px;
padding-bottom: 1px;
padding-left: 10px;
padding-right: 10px;
margin-bottom: 10px;
}
.question-score-number {
text-align: center;
background-color: rgba(255, 255, 255, 0.692);
border-radius: 5px;
padding-top: 1px;
padding-bottom: 1px;
margin-bottom: 10px;
line-height: 0.5rem;
}
.questions {
display: flex;
flex-direction: column;
line-height: 1.5rem;
}
fieldset {
border: none;
background-color: rgba(62, 210, 255, 0.521);
border-radius: 5px;
margin-bottom: 10px;
}
.last-screen {
background-color: rgba(255, 255, 255, 0.692);
border-radius: 5px;
padding-top: 1px;
padding-bottom: 1px;
padding-right: 20px;
padding-left: 20px;
margin-bottom: 20px;
}
.incorrect-answer {
background-color: rgba(255, 0, 0, 0.534);
color: white;
border-radius: 5px;
padding-top: 1px;
padding-bottom: 1px;
padding-left: 10px;
padding-right: 10px;
margin-bottom: 10px;
text-align: center;
}
.correct-answer {
background-color:rgba(62, 210, 255, 0.521);
border-radius: 5px;
padding-top: 15px;
padding-bottom: 1px;
padding-left: 10px;
padding-right: 10px;
margin-bottom: 10px;
text-align: center;
}
button {
position: absolute;
left: 50%;
transform: translate(-50%);
}