-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
138 lines (118 loc) · 2.34 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
@import url("https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap");
html {
min-height: -webkit-fill-available;
}
body {
min-height: 100vh;
font-family: "Silkscreen", cursive;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-evenly;
background-color: #8549ba;
min-height: -webkit-fill-available; /* a fix for the issues with the mobile view */
}
header {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
/* padding: 2rem; */
}
h1 {
display: flex;
font-size: 4.5em;
padding: 0;
color: #f0f018;
}
main {
flex: 1; /*supposed to fill the whole space and push the footer down */
color: #ffffff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
/* box-shadow: 2px 4px 16px #20074233; */
}
.instructions {
display: flex;
align-items: center;
justify-content: center;
justify-items: center;
font-size: x-large;
padding-top: 0;
margin: 0;
}
/* #styleB {
display: flex;
align-items: center;
justify-content: center;
justify-items: center;
unnecessary repeat of some rules, left here as a reminder
} */
.buttons {
display: flex;
flex-wrap: wrap;
}
.textBox {
width: 100%;
display: flex;
flex-direction: column;
background-color: #dae459;
margin: 1em;
color: #000000;
border-radius: 2%;
align-items: center;
justify-content: center;
box-shadow: 3px 6px 12px #372a3a;
}
#restart {
display: flex;
align-items: center;
justify-content: center;
}
button {
font-family: "Silkscreen", cursive;
font-size: large;
margin: 5px;
padding: 10px 20px;
box-shadow: 2px 4px 16px #00000033;
}
p {
padding: 10px 13px;
font-size: larger;
flex-wrap: wrap;
}
.counter {
font-size: larger;
display: flex;
flex-direction: column;
align-items: space-around;
justify-content: center;
width: 100%;
background-color: #ebb248;
margin: 1rem;
border-radius: 5%;
box-shadow: 3px 6px 12px #372a3a;
}
#scores,
#roundScores {
display: flex;
flex-wrap: wrap;
align-items: center;
align-content: center;
justify-content: center;
}
.footer {
font-size: large;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
@media screen and (max-width: 1023px) {
button {
margin: 2px;
padding: 5px 10px;
}
}