-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
69 lines (61 loc) · 1.17 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
.misson {
background-color: rgb(0, 0, 0);
padding: 5px 25px 25px 25px;
width: 20vmax;
margin: 25px;
border-radius: 10px;
color: white;
text-wrap: wrap;
height: max-content;
}
.misson-image {
width: 75%;
height: 75%;
}
article {
display: grid;
grid-template-columns: repeat(3, 1fr);
/* 3 equal columns */
grid-auto-rows: auto;
/* Automatically determine row height based on content */
grid-auto-flow: row;
/* Fill items by row first */
gap: 10px;
/* Optional: Space between items */
}
@media (max-width: 600px) {
article {
grid-template-columns: repeat(1, 1fr);
}
.icon {
margin-top: 100px;
}
}
.math-button {
height: 10vmin;
background-color: black;
color: white;
font-size: 5vmin;
border-radius: 10px;
width: 15vmax;
margin-top: 100px;
}
#score-display {
text-align: center;
font-size: 5vmin;
padding: 25px;
}
body {
font-family: Arial;
}
.result-displays {
display: flex;
justify-content: center;
/* Center horizontally */
align-items: center;
/* Center vertically if needed */
height: 0vh;
}
.icon {
width: 5%;
}