-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
108 lines (91 loc) · 1.55 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
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap");
* {
box-sizing: border-box;
}
body {
background-color: rgb(6, 23, 77);
color: #fff;
font-family: "Montserrat", Arial, Helvetica, sans-serif;
letter-spacing: 1.5px;
display: flex;
align-items: center;
justify-content: center;
width: 100vw;
height: 90vh;
margin: 0;
padding: 0;
}
body.correct {
background-color: green;
}
body.wrong {
background-color: red;
}
.container {
background-color: rgb(10, 71, 168);
margin: 0;
width: 600px;
height: 50vh;
padding: 15px;
max-width: 80%;
border-radius: 10px;
box-shadow: 0 2px 10px rgb(255, 255, 255);
}
#question {
text-align: center;
margin-top: 15px;
font-size: 26px;
}
.answer-btns {
display: grid;
grid-template-columns: repeat(2, auto);
gap: 18px;
margin: 20px 0;
}
.btn {
border: 1px solid rgb(6, 23, 77);
border-radius: 10px;
padding: 5px 10px;
outline: none;
background-color: #fff;
}
.btn.correct {
background-color: green;
}
.btn.wrong {
background-color: red;
}
.btn:hover {
cursor: pointer;
transform: scale(1.1);
}
.start-btn,
.next-btn {
font-size: 28px;
padding: 15px;
}
.controls {
display: flex;
justify-content: center;
align-items: center;
}
.hide {
display: none;
}
h1 {
font-size: 43px;
margin-top: 65px;
margin-bottom: 10px;
text-align: center;
}
p {
text-align: center;
font-size: 26px;
margin-bottom: 30px;
}
/* Media Queries */
@media screen and (max-width: 375px) {
.container {
height: 75%;
}
}