-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
190 lines (163 loc) · 2.81 KB
/
main.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
*,
body {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-image: url("img/minecraft-background.png");
font-family: "Roboto Condensed", sans-serif;
}
.hide-view {
display: none;
}
/* Landing Page */
.subheader {
text-align: center;
padding-top: 200px;
font-family: "Press Start 2P", cursive;
}
.continue-button {
display: block;
margin: 250px auto 0;
padding: 30px;
font-size: 20px;
border-radius: 2px;
font-family: "Press Start 2P", cursive;
}
/* Incorrect Page */
.incorrect-text {
text-align: center;
padding: 100px 0 10px 0;
font-size: 40px;
}
.correct-answer {
margin: 30px;
text-align: center;
font-size: 25px;
font-weight: 600;
}
.push {
margin-top: 275px;
}
/* Complete Page */
.score-complete {
text-align: center;
color: white;
font-size: 50px;
margin-top: 100px;
}
/* Content Page */
/* Cellphone screens */
.banner {
background: rgb(242, 242, 242);
background: linear-gradient(
0deg,
rgba(242, 242, 242, 0.8) 0%,
rgba(242, 242, 242, 0.8) 100%
);
height: 200px;
margin: 0;
}
.banner-container {
margin: 0 auto;
}
.banner .logo {
width: 80px;
padding: 0;
display: block;
margin: -10px auto;
border-radius: 2px;
}
.banner .title {
text-align: center;
font-size: 40px;
padding-top: 10px;
font-family: "Press Start 2P", cursive;
}
/* Question + Answers */
.container {
display: block;
height: 100vh;
background: rgb(242, 242, 242);
background: linear-gradient(
0deg,
rgba(242, 242, 242, 0.40379901960784315) 0%,
rgba(242, 242, 242, 0.4) 100%
);
}
.question {
font-size: 35px;
padding: 100px 5px 10px 5px;
text-align: center;
}
.answer-options {
margin: 20px 0;
text-align: center;
font-weight: 600;
font-size: 25px;
}
li {
list-style: none;
padding: 10px;
}
.answer-form .submit-button {
display: block;
margin: 80px auto;
padding: 30px;
font-size: 20px;
border-radius: 2px;
font-family: "Press Start 2P", cursive;
}
/* Footer */
.footer-wrapper {
background: rgb(242, 242, 242);
background: linear-gradient(
0deg,
rgba(242, 242, 242, 0.40379901960784315) 0%,
rgba(242, 242, 242, 0.4) 100%
);
padding: 20px;
position: fixed;
bottom: 0px;
width: 100%;
border-radius: 4px;
}
.footer-wrapper::after {
clear: both;
content: "";
display: table;
}
.q-total,
.score-total {
font-size: 15px;
font-family: "Press Start 2P", cursive;
}
.q-total {
float: left;
}
.score-total {
float: right;
}
/* All other screens */
/* Banner Changes */
@media screen and (min-width: 799px) {
.banner {
height: 100px;
padding-top: 15px;
}
.banner-container {
width: 800px;
margin: 0 auto;
}
.banner .logo {
float: left;
}
.container-inside {
width: 800px;
margin: 0 auto;
}
.footer-wrapper {
width: 800px;
}
}