-
-
Notifications
You must be signed in to change notification settings - Fork 99
/
load.css
50 lines (45 loc) · 1020 Bytes
/
load.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
@import "./global.css";
:root {
--content-width: 300px;
}
html, body {
margin: 0;
background-color: #36393F;
height: 100%;
-webkit-app-region: drag;
}
body, div.aura {
text-align: center;
display: flex;
margin: 0px;
align-items: center;
justify-content: center;
flex-direction: column;
}
h1 {
margin-top: 0.5em;
}
.aura-content {
width: var(--content-width);
margin-left: calc(50vw - (var(--content-width)/2));
margin-right: calc(50vw - (var(--content-width)/2));
overflow: hidden;
white-space: normal;
}
.aura {
height: 100%;
width: 100%;
background-color: var(--color-accent);
animation-name: aura;
animation-duration: 1s;
animation-timing-function: ease-in-out;
animation-fill-mode: forwards;
white-space: nowrap;
overflow: hidden;
text-overflow: clip;
}
@keyframes aura {
0% {width: 0%}
10% {width: 0%;background-color: var(--color-accent)}
100% {width: 100%;background-color: transparent}
}