forked from CupNoodleThemes/Noir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
splash.css
71 lines (63 loc) · 1.38 KB
/
splash.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
:root{
--background: url("https://cdn.upload.systems/uploads/77p2iksE.png");
--accent: #3f336e;
--accent-glass: #fff1;
--text-color: transparent;
--blur: 10px;
}
@font-face {
font-family: 'Noir';
src: url('Noir.woff') format('woff');
}
/* Main */
#splash{
background:var(--background);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
padding: 0;
}
#splash .splash-inner video.loaded{
display: none;
}
#splash .splash-inner .splash-text{
position: absolute;
top:30px;
left:0;
width: 100%;
}
#splash .splash-inner .splash-text > span.splash-status{
font-style: normal;
text-transform: unset;
color: var(--text-color);
position:relative;
top:265px;
left:5px;
font-size:25px;
font-family: 'Noir';
}
/* Prog bar */
.progress{
position: fixed;
bottom:30px;
left:30px;
width: calc(100% - 60px);
}
.progress .progress-bar{
width:100%;
height: 10px;
border-radius: 10px;
background: var(--accent-glass);
overflow: hidden;
backdrop-filter: blur(calc(var(--blur) / 2));
}
.progress .progress-bar .complete{
border-radius: 0;
background: var(--accent);
box-shadow: unset;
}
/* Animations */
@keyframes fade{
from{ opacity: 0;}
to{ opacity: 1;}
}