-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
107 lines (92 loc) · 1.93 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
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
@font-face {
font-family: "Inconsolata";
src: url("https://ggayane.github.io/css-experiments/Inconsolata-VF.ttf");
font-weight: 275 900;
font-stretch: 50% 200%;
}
body {
margin: 0;
padding: 0;
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #000119;
color: white;
font-size: 8em;
font-family: "Inconsolata";
}
main {
white-space: nowrap;
width: 80vw;
margin: auto;
}
.static {
font-size: 3vw;
font-variation-settings: "wght" 900, "wdth" 200;
}
.variable {
display: flex;
font-variation-settings: "wght" 275, "wdth" 50;
text-align: center;
animation: swapthings 3s infinite both cubic-bezier(0.17, 0.04, 0.04, 0.99);
}
.work {
animation: swapthings2 3s infinite both cubic-bezier(0.17, 0.04, 0.04, 0.99);
color: #00a2ff00;
background-clip: text;
background-image: linear-gradient(to right, #33ff00, #d0ff00);
}
.study {
animation: swapthings2 3s infinite both cubic-bezier(0.17, 0.04, 0.04, 0.99);
color: #00a2ff00;
background-clip: text;
background-image: linear-gradient(to right, #ab11f3, #00ccff);
}
.life {
background-clip: text;
background-image: linear-gradient(
to right,
#09f1b8,
#00a2ff,
#ff00d2,
#fed90f
);
color: #000119;
-webkit-text-stroke-color: transparent;
-webkit-text-stroke-width: calc(1em / 16);
}
.work,
.study,
.life {
font-size: 8vw;
}
@keyframes swapthings {
0% {
font-variation-settings: "wght" 275, "wdth" 50;
}
50% {
font-variation-settings: "wght" 900, "wdth" 200;
}
100% {
font-variation-settings: "wght" 275, "wdth" 50;
}
}
@keyframes swapthings2 {
0% {
font-variation-settings: "wght" 900, "wdth" 200;
}
50% {
font-variation-settings: "wght" 275, "wdth" 50;
}
100% {
font-variation-settings: "wght" 900, "wdth" 200;
}
}
@media screen and (max-width: 600px) {
.variable {
font-size: 4vw;
}
}