-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathstyles.css
129 lines (113 loc) · 1.82 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
body {
background: #141315;
height: 100vh;
margin: 0;
display: grid;
place-items: center;
font-family: "Euclid Circular A", "Poppins";
color: rgb(255 255 255 / 50%);
overflow: hidden;
}
.frame {
position: relative;
display: grid;
place-items: center;
scale: 1.45;
translate: 0 24px;
user-select: none;
}
.frame header {
position: absolute;
text-align: center;
width: 100%;
left: 0;
top: -70px;
}
.frame :is(h2, h1, h3) {
font-weight: 400;
margin: 0;
text-transform: uppercase;
letter-spacing: 1px;
}
.frame h2 {
font-size: 10px;
margin: 0 0 0px;
cursor: default;
}
.frame h1 {
font-size: 24px;
color: #f9f9f9;
margin: 0 0 40px;
}
.frame h3 {
position: absolute;
bottom: -14px;
font-size: 12px;
cursor: default;
}
.frame.rows h3 {
bottom: -60px;
}
.grid {
display: grid;
gap: 0 6px;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(2, 1fr);
}
.grid.two-col {
grid-template-columns: repeat(2, 1fr);
gap: 0;
}
.grid.rows {
grid-template-columns: 196px;
gap: 0;
place-items: center;
}
.grid.rows > div {
height: 40px;
width: 100%;
}
.grid > div {
position: relative;
display: grid;
place-items: center;
/* width: 70px; */
width: 51px;
height: 108px;
}
.grid > div::after {
content: "";
position: absolute;
top: 50%;
left: 0;
right: 0;
height: 2px;
background: rgb(255 255 255 / 10%);
pointer-events: none;
opacity: 0;
}
.grid > div::before {
content: "";
position: absolute;
top: 0;
left: 50%;
right: 0;
bottom: 0;
width: 2px;
translate: -1px 0;
background: rgb(255 255 255 / 10%);
pointer-events: none;
opacity: 0;
}
.grid.grid.two-col > div {
width: 96px;
}
.grid > div > p {
position: absolute;
z-index: 0;
top: -6px;
left: 50%;
translate: -50% 0;
margin: 0;
cursor: default;
}