forked from theneolanders/theneolanders.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
52 lines (46 loc) · 890 Bytes
/
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
/* Root Styles */
* {
padding:0;
margin:0;
font-family: 'Roboto', sans-serif;
color: rgba(255,255,255,1);
animation-name: fade;
animation-duration: 8s;
}
html, body {
margin: 0;
}
/* Body */
body {
width: auto;
height: 100vh;
background-image: linear-gradient(to bottom right, #434969, #000000);
background-repeat: repeat;
background-attachment: fixed;
background-size: 150%;
animation-name: gradient;
animation-duration: 6s;
}
/* Center text */
.center {
margin: auto;
width: 50%;
text-align: center;
padding: 10px;
position: absolute;
}
.container{
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
/* Start Animation */
@keyframes fade {
0%{color: rgba(255,255,255,0);}
100%{color: rgba(255,255,255,1);}
}
@keyframes gradient {
0%{background-position:100% 0%}
100%{background-position:0% 100%}
}