-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
71 lines (62 loc) · 1.15 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
:root {
--logo-width: 300px;
--spin-speed: 1.3s;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 10px 0;
font-family: 'Montserrat', sans-serif;
font-size: 20px;
color: #27ae60;
background-color: #ecf0f1;
cursor: default;
}
.preloader {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 100;
background-color: #090c31;
display: flex;
justify-content: center;
align-items: center;
transition: opacity .25s ease;
}
.preloader--invisible {
opacity: 0;
}
.preloader--hidden {
visibility: hidden;
}
.preloader__logo {
width: var(--logo-width);
padding-bottom: 10px;
background: url('logo.svg') no-repeat center;
background-size: 40%;
}
.preloader__circle {
border-top: 2px solid #fff;
border-radius: 50%;
width: calc(var(--logo-width) + 10px);
height: calc(var(--logo-width) + 10px);
animation: preloader-spin var(--spin-speed) linear infinite;
}
@keyframes preloader-spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}