-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
140 lines (119 loc) · 3.38 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
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
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
html {
min-height: 100vh;
position: relative;
}
body {
background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzExMTExMSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #000000), color-stop(100%, #111111));
background: -moz-linear-gradient(#000000, #111111);
background: -webkit-linear-gradient(#000000, #111111);
background: linear-gradient(#000000, #111111);
}
a {
@apply text-white;
@apply font-semibold;
transition: color .2s ease-in-out 0s;
}
a:hover {
@apply text-zinc-400;
}
#title {
overflow: hidden;
padding-bottom: 2px;
margin-left: -4px;
display: block;
}
#title span {
transition: opacity .5s ease-in-out .5s;
opacity: 0;
width: 0;
height: 0;
display: block;
}
#title span.visible {
opacity: 1;
width: auto;
height: auto;
}
.moon {
width: 80px;
height: 80px;
position: absolute;
bottom: -25%;
left: -25%;
animation: 242s ease-in-out 0s normal none infinite moon-move;
z-index: -5;
}
@keyframes moon-move {
0% {
transform: rotate(20deg) translate(-80.5px);
opacity: 0;
}
50% {
left: 110%;
bottom: 10%;
opacity: 1;
}
100% {
transform: rotate(380deg) translate(-80.5px);
opacity: 0;
bottom: -50%;
}
}
/*** https://codepen.io/vavik96/pen/vEdMXM ***/
@keyframes clouds-loop-1 {
to {
background-position: -1000px 0;
}
}
.clouds-1 {
background-image: url("/clouds_2.webp");
animation: clouds-loop-1 1500s infinite linear;
}
@keyframes clouds-loop-2 {
to {
background-position: -1000px 0;
}
}
.clouds-2 {
background-image: url("/clouds_1.webp");
animation: clouds-loop-2 750s infinite linear;
}
@keyframes clouds-loop-3 {
to {
background-position: -1579px 0;
}
}
.clouds-3 {
background-image: url("/clouds_3.png");
animation: clouds-loop-3 900s infinite linear;
}
.clouds {
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
opacity: 0.4;
pointer-events: none;
position: absolute;
overflow: hidden;
top: 0;
left: 0;
right: 0;
height: 100%;
z-index: -1;
}
.clouds-1,
.clouds-2,
.clouds-3 {
background-repeat: repeat-x;
background-position: center;
position: absolute;
bottom: -200px;
right: 0;
left: 0;
height: 500px;
transform: scale(1, -1);
}
}