-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
67 lines (55 loc) · 1.09 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
@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+Pinstripe&display=swap');
*, ::before, ::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Alumni Sans Pinstripe', sans-serif;
background: linear-gradient(90deg, #CA6E3C, #658477);
color: #f1f1f1;
padding: clamp(20px, 5vw, 50px) 10px 10px;
}
h1 {
font-size: 40px;
}
h1 span {
border-bottom: 1px solid;
font-size: 60px;
margin-left: 5px;
}
h1, h2 {
text-align: center;
}
h2 {
font-size: 30px;
}
.container {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 1px;
max-width: 400px;
background: #f1f1f1f1;
border: 1px solid #f1f1f1;
margin: 50px auto;
}
.cell {
aspect-ratio: 1/1;
background: #2a335b;
color: #f1f1f1;
cursor: pointer;
font-size: 110px;
display: flex;
justify-content: center;
align-items: center;
}
@media screen and (max-width:900px) {
.cell {
font-size: 80px;
}
}
@media screen and (max-width:500) {
.cell {
font-size: 60px;
}
}