-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
157 lines (132 loc) · 2.13 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
@import url("https://rsms.me/inter/inter.css");
html {
font-family: "Inter", sans-serif;
}
@supports (font-variation-settings: normal) {
html {
font-family: "Inter var", sans-serif;
}
}
*,
::before,
::after {
box-sizing: border-box;
}
html {
background: black;
}
body {
margin: 0;
color: white;
font-style: normal;
overflow-x: hidden;
}
main {
margin: 1rem 0 1rem -0.3rem;
max-width: 1200px;
max-inline-size: 1200px;
}
header {
display: grid;
grid-template-columns: 0.5vw 0.7ch max-content 0.5vw;
grid-template-rows: auto;
/* justify-content: center; */
}
.info {
grid-column: 3 / -1;
padding-inline-start: 1.15em;
--tt-key: smallTrans;
--tt-max: 960;
}
@keyframes smallTrans {
0% {
font-size: 0.725rem;
font-variation-settings: "wght" 250;
}
100% {
font-size: 1rem;
font-variation-settings: "wght" 300;
}
}
.headline {
display: contents;
}
.headline span {
--tt-key: textTrans;
--tt-max: 960;
}
.headline span:nth-of-type(odd) {
grid-column: 2 / -1;
}
.headline span:nth-of-type(even) {
grid-column: 3 /-1;
}
.first {
grid-row: 2;
}
.second {
grid-row: 3;
}
.third {
grid-row: 4;
}
.fourth {
grid-row: 5;
}
.fifth {
grid-row: 6;
}
.sixth {
grid-row: 7;
}
.seventh {
grid-row: 8;
}
.eighth {
grid-row: 9;
}
.text_trans {
--tt-key: textTrans;
--tt-max: 960;
}
@keyframes textTrans {
0% {
font-variation-settings: "wght" 500;
}
20% {
font-size: 2.2rem;
opacity: 0.7;
}
50% {
font-size: 9.3vw;
}
100% {
font-size: 9.15vw;
font-variation-settings: "wght" 650;
opacity: 0.75;
}
}
@media screen and (min-width: 530px) {
header {
grid-template-columns: 0.5vw 0.8ch max-content 0.5vw;
}
}
@media screen and (min-width: 730px) {
header {
grid-template-columns: 0.5vw 1.2ch max-content 0.5vw;
/* justify-content: center; */
}
}
@media screen and (min-width: 920px) {
header {
grid-template-columns: 0.5vw 1.1rem max-content 0.5vw;
}
}
@media screen and (min-width: 1000px) {
main {
margin-left: -1.2rem;
}
header {
grid-template-columns: 0.5vw 1.35rem max-content 0.5vw;
}
}