Skip to content
This repository was archived by the owner on Sep 5, 2019. It is now read-only.

Commit 9634bee

Browse files
authored
Update style.css
1 parent 5ce199e commit 9634bee

File tree

1 file changed

+10
-38
lines changed

1 file changed

+10
-38
lines changed

src/css/style.css

Lines changed: 10 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -5,46 +5,18 @@ body {
55
font-family: 'Open Sans', sans-serif;
66
}
77

8-
/* website loader
8+
/* nanobar
99
========================================================================== */
10-
#webloader {
11-
background: #fff;
12-
height: 100vh;
13-
opacity: 1;
14-
position: fixed;
15-
visibility: visible;
16-
transition: all 0.3s ease-in-out;
10+
.nanobar {
11+
height: 2px;
12+
top: 0;
1713
width: 100%;
18-
z-index: 999;
14+
z-index: 9999;
1915
}
2016

21-
#webloader.out {
22-
opacity: 0;
23-
visibility: hidden;
17+
.nanobar .bar {
18+
background: #acacac;
19+
height: 100%;
20+
transition: height .3s;
21+
width: 0;
2422
}
25-
26-
#spinner {
27-
width: 40px;
28-
height: 40px;
29-
margin: 100px auto;
30-
background: #333;
31-
position: relative;
32-
top: 35%;
33-
border-radius: 100%;
34-
animation: sk-scaleout 1.0s infinite ease-in-out;
35-
}
36-
37-
@-webkit-keyframes sk-scaleout {
38-
100% {
39-
opacity: 0;
40-
}
41-
}
42-
43-
@keyframes sk-scaleout {
44-
0% {
45-
transform: scale(0);
46-
} 100% {
47-
transform: scale(1.0);
48-
opacity: 0;
49-
}
50-
}

0 commit comments

Comments
 (0)