Files: 890b63ba1d9f369041e099ec9f54c6f9e8ce289d / styles / main.css
4624 bytesRaw
1 | @font-face{ |
2 | font-family: interval; |
3 | src: url('./fonts/Interval.otf') |
4 | } |
5 | @font-face{ |
6 | font-family: sinkin; |
7 | src: url('./fonts/SinkinSans-100Thin.otf') |
8 | } |
9 | |
10 | body, html{ |
11 | margin: 0; |
12 | padding: 0; |
13 | box-sizing: border-box; |
14 | background: linear-gradient(180deg, rgba(0,0,0,1) 2%, rgba(6,7,60,1) 64%, rgba(33,21,54,1) 100%); |
15 | min-height: 100vh; |
16 | width: 100%; |
17 | display: flex; |
18 | flex-direction: column; |
19 | justify-content: center; |
20 | align-items: center; |
21 | font-family: sinkin; |
22 | letter-spacing: 0.24em; |
23 | animation: undulate 24s infinite alternate; |
24 | } |
25 | |
26 | body + div{ |
27 | height: 100%; |
28 | width: 100%; |
29 | } |
30 | |
31 | .wrapper{ |
32 | position: relative; |
33 | display: flex; |
34 | flex-direction: column; |
35 | justify-content: center; |
36 | align-items: center; |
37 | min-height: 100%; |
38 | width: 100%; |
39 | } |
40 | |
41 | a{ |
42 | color: var(--link); |
43 | } |
44 | |
45 | .title{ |
46 | position: fixed; |
47 | top: 0; |
48 | left: 50; |
49 | } |
50 | |
51 | .paper{ |
52 | position: relative; |
53 | display: grid; |
54 | grid-template-rows: 1fr 4fr 1fr; |
55 | border: 1.5px dashed #FFE4E1; |
56 | grid-gap: 1em; |
57 | border-radius: 7px; |
58 | min-height: 50%; |
59 | padding: 1em;; |
60 | height: auto; |
61 | width: 50%; |
62 | color: var(--text); |
63 | } |
64 | |
65 | .paper-splash{ |
66 | position: relative; |
67 | display: flex; |
68 | border: 1.5px dashed #FFE4E1; |
69 | border-radius: 7px; |
70 | min-height: 50%; |
71 | padding: 1em;; |
72 | height: auto; |
73 | flex-direction: column; |
74 | justify-content: center; |
75 | align-items: center; |
76 | width: 50%; |
77 | color: var(--text); |
78 | } |
79 | |
80 | .paper h1{ |
81 | letter-spacing: 0.5em; |
82 | font-size: 1.5em; |
83 | margin-top: 1em; |
84 | width: 100%; |
85 | color: var(--title); |
86 | text-align: center; |
87 | } |
88 | .paper-splash h1{ |
89 | letter-spacing: 0.75em; |
90 | font-size: 4em; |
91 | margin-top: 0em; |
92 | width: 100%; |
93 | color: var(--title); |
94 | text-align: center; |
95 | } |
96 | |
97 | |
98 | |
99 | .paper a { |
100 | position: absolute; |
101 | bottom: 1em; |
102 | width: 100%; |
103 | text-align: center; |
104 | font-size: 0.75em; |
105 | line-height: 1.3em; |
106 | text-decoration: none; |
107 | } |
108 | |
109 | .paper-splash a { |
110 | position: absolute; |
111 | bottom: 1em; |
112 | width: 100%; |
113 | text-align: center; |
114 | font-size: 0.75em; |
115 | line-height: 1.3em; |
116 | text-decoration: none; |
117 | } |
118 | |
119 | #tracklist{ |
120 | display: flex; |
121 | justify-content: center; |
122 | align-items: center; |
123 | flex-direction: column; |
124 | position: relative; |
125 | color: var(--text); |
126 | font-weight: bold; |
127 | animation: fade-in 1s; |
128 | } |
129 | |
130 | #tracklist ul{ |
131 | display: grid; |
132 | padding: 2em; |
133 | grid-template-columns: 1fr 1fr 1fr 1fr; |
134 | grid-gap: 1em; |
135 | margin: 0; |
136 | } |
137 | |
138 | #tracklist li{ |
139 | display: flex; |
140 | justify-content: center; |
141 | align-items: center; |
142 | flex-direction: column; |
143 | margin: 0; |
144 | list-style-type: none; |
145 | font-size: 1.1em; |
146 | text-align: center; |
147 | line-height: 1.4em; |
148 | cursor: pointer; |
149 | } |
150 | |
151 | |
152 | #text { |
153 | position: relative; |
154 | font-size: 1em; |
155 | margin: auto; |
156 | font-weight: bold; |
157 | display: flex; |
158 | flex-direction: column; |
159 | justify-content: center; |
160 | align-items: center; |
161 | padding: 1em; |
162 | animation: fade-in 3s; |
163 | } |
164 | |
165 | #text p { |
166 | padding-left: 1em; |
167 | } |
168 | |
169 | |
170 | |
171 | .fade-in{ |
172 | animation: fade-in 3s; |
173 | } |
174 | |
175 | .fade-out{ |
176 | animation: fade-out 2s; |
177 | } |
178 | |
179 | .change-color{ |
180 | animation: changeColor 1s; |
181 | } |
182 | |
183 | @keyframes fade-in{ |
184 | 0% {opacity: 0;} |
185 | 70% {opacity: 0.6;} |
186 | 100% {opacity: 1;} |
187 | } |
188 | |
189 | @keyframes fade-out{ |
190 | 0% {opacity: 1;} |
191 | 70% {opacity: 0.6;} |
192 | 100% {opacity: 0;} |
193 | } |
194 | |
195 | @keyframes changeColor{ |
196 | 0% {border-color: lavender; border-width: 1px} |
197 | 50% {border-color: yellow; border-width: 2px; } |
198 | 100% {border-color: lavender; border-width: 1px; } |
199 | } |
200 | @keyframes undulate{ |
201 | 0%{ background: linear-gradient(180deg, rgba(0,0,0,1) 2%, rgba(6,7,60,1) 64%, rgba(33,21,54,1) 100%);} |
202 | 5%{ background: linear-gradient(180deg, rgba(0,0,0,1) 2%, rgba(6,7,60,1) 64%, rgba(33,21,44,1) 100%);} |
203 | 10%{ background: linear-gradient(180deg, rgba(0,0,0,1) 2%, rgba(6,7,62,1) 64%, rgba(33,21,34,1) 100%);} |
204 | 15%{ background: linear-gradient(180deg, rgba(0,0,0,1) 2%, rgba(6,7,64,1) 64%, rgba(33,21,24,1) 100%);} |
205 | 20%{ background: linear-gradient(180deg, rgba(0,0,0,1) 2%, rgba(6,7,66,1) 64%, rgba(33,21,14,1) 100%);} |
206 | 33%{ background: linear-gradient(180deg, rgba(0,0,0,1) 2%, rgba(6,7,68,1) 64%, rgba(33,21,4,1) 100%);} |
207 | 43%{ background: linear-gradient(180deg, rgba(0,0,0,1) 2%, rgba(6,7,60,1) 64%, rgba(43,21,4,1) 100%);} |
208 | 53%{ background: linear-gradient(180deg, rgba(0,0,0,1) 2%, rgba(6,7,60,1) 64%, rgba(53,21,4,1) 100%);} |
209 | 66%{ background: linear-gradient(180deg, rgba(0,0,0,1) 2%, rgba(6,7,60,1) 64%, rgba(63,21,4,1) 100%);} |
210 | 76%{ background: linear-gradient(180deg, rgba(0,0,0,1) 2%, rgba(6,7,60,1) 64%, rgba(66,21,4,1) 100%);} |
211 | 86%{ background: linear-gradient(180deg, rgba(0,0,0,1) 2%, rgba(6,7,60,1) 64%, rgba(68,21,4,1) 100%);} |
212 | 96%{ background: linear-gradient(180deg, rgba(0,0,0,1) 2%, rgba(6,7,60,1) 64%, rgba(70,21,4,1) 100%);} |
213 | 100%{ background: linear-gradient(180deg, rgba(0,0,0,1) 2%, rgba(6,7,60,1) 64%, rgba(73,21,4,1) 100%);} |
214 | } |
215 |
Built with git-ssb-web