-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
62 lines (54 loc) · 1.12 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
@charset "utf-8";
*{
margin: 0;
padding:0
}
.title h1{
font-size: 36px;
font-family: 'Lato', sans-serif;
margin-top: 10cm;
margin-left:auto;
margin-right: auto;
text-align: center;
Color:white;
background: -webkit-linear-gradient(#eee, #333);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 6px 6px 0px rgba(0,0,0,0,2);
display: block;
position: relative;
z-index: 3;
}
@keyframes move-cloud-back {
from {background-position: 0 0;}
to {background-position: 10000px 0}
}
@keyframes move-twinkle-back {
from {background-position: 0 0;}
to {background-position: -10000px 5000px}
}
.stars, .twinkling, .clouds{
position: absolute;
top:0;
left:0;
right:0;
bottom:0;
width:100%;
height:100%;
display: block
}
.stars{
background: #000 url(stars.png) repeat top center;
z-index: 0;
}
.twinkling{
background: transparent url(twinkling.png) repeat top center;
z-index: 1;
animation: move-twinkle-back 200s linear infinite;
}
.clouds{
background: transparent url(clouds.png) repeat top center;
z-index: 2;
opacity: .4;
animation: move-clouds-back 200s linear infinite;
}