-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
96 lines (80 loc) · 1.72 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
@font-face {
font-family: 'Matemasieregular';
src: url('fonts/Matemasie-Regular.woff2') format('woff2'),
url('fonts/Matemasie-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
body, html {
height: auto; /* Allows page content to dictate total height */
margin: 0;
padding: 0;
background-color: black;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
font-family: 'Matemasieregular', sans-serif; /* Apply Matemasie font */
}
#specimenContainer {
text-align: center;
}
#typeSpecimen {
font-size: 200px;
color: white; /* Default white, will be changed by JavaScript */
}
#controls button {
margin: 10px;
padding: 10px;
background-color: black;
color: #fff;
border: none;
cursor: pointer;
}
#controls button:hover {
background-color: black;
}
#Specimen {
text-align: center;
}
header, footer {
background-color: #222;
color: #fff;
padding: 20px 0;
text-align: center;
}
nav ul {
list-style: none;
padding: 0;
display: flex;
justify-content: center;
}
nav ul li {
margin: 0 15px;
}
nav ul li a {
color: #fff;
text-decoration: none;
}
main {
/* Ensure there's no fixed height preventing expansion */
width: 90%;
max-width: 1200px;
margin: 12px auto;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 12px;
/* Don't restrict the height; let it grow with content */
}
.grid div {
background-color: rgb(236, 228, 8);
color: black;
display: flex;
justify-content: center;
align-items: center;
height: 300px;
font-size: 96px;
}