-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
120 lines (98 loc) · 1.75 KB
/
styles.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
*,
*:before,
*:after {
box-sizing: border-box;
padding: 0;
margin: 0;
}
:root {
font-size: 62.5%;
/* Fonts and Weights */
--ff-primary: 'Nunito', sans-serif;
--ff-secondary: 'PT Sans', sans-serif;
--fw-regular: 400;
--fw-bold: 700;
/* Colors */
--clr-background: #13242a;
--clr-primary: #3eb3ca;
--clr-secondary: #18314c;
--clr-white: #f6f9fb;
}
html{
background-color: var(--clr-background);
}
body{
font-size: 1.6rem;
font-family: var(--ff-primary);
color:var(--clr-white);
}
h1,h2,h3,h4 {
font-family: var(--ff-secondary);
font-weight: var(--fw-bold);
color:var(--clr-primary);
}
p{
font-family: var(--ff-primary);
max-width: 60ch;
text-align: center;
}
.container{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 5rem;
max-width: 900px;
margin: auto;
}
.title{
text-align: center;
font-size: 6rem;
}
.game-container{
display:flex;
flex-direction: column;
min-height: 300px;
max-width: 800px;
justify-content: space-between;
align-items: center;
gap: 4rem;
padding: 5rem;
}
.answer-title{
color: var(--clr-white);
font-size: 4rem;
}
.answer{
color: var(--clr-white);
font-size: 4rem;
text-align: center;
}
.result{
color: var(--clr-primary);
font-size: 4rem;
}
.score-container{
display:flex;
gap: 3rem;
font-size: 2rem;
}
.button-container{
display:flex;
gap: 2rem;
}
.btn{
font-family: var(--ff-secondary);
width: 30rem;
font-size: 4rem;
padding: 1.6rem 4.2rem;
border: solid 1px var(--clr-secondary);
border-radius: .8rem;
background-color: var(--clr-secondary);
color:var(--clr-white);
font-weight: var(--fw-bold);
transition: all ease 0.3s;
}
.btn:hover {
background: var(--clr-primary);
}