-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
151 lines (135 loc) · 2.71 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
@import url(https://fonts.googleapis.com/css?family=Orbitron:700);
@font-face {
font-family: "Molot";
font-style: normal;
font-weight: normal;
src: local("Molot"), url("./resources/Molot.woff") format("woff");
}
@font-face {
font-family: "Caviar Dreams";
font-style: normal;
font-weight: normal;
src: local("Caviar Dreams"), url("./resources/CaviarDreams.ttf") format("ttf");
}
/* Stars
------------------------------------- */
#space,
.stars {
overflow: hidden;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.stars {
background-image: radial-gradient(
2px 2px at 20px 30px,
#eee,
rgba(0, 0, 0, 0)
),
radial-gradient(2px 2px at 40px 70px, #fff, rgba(0, 0, 0, 0)),
radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0, 0, 0, 0)),
radial-gradient(2px 2px at 90px 40px, #fff, rgba(0, 0, 0, 0)),
radial-gradient(2px 2px at 130px 80px, #fff, rgba(0, 0, 0, 0)),
radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0, 0, 0, 0));
background-repeat: repeat;
background-size: 200px 200px;
animation: zoom 5s infinite;
opacity: 0;
}
.stars:nth-child(1) {
background-position: 50% 50%;
animation-delay: 0s;
}
.stars:nth-child(2) {
background-position: 20% 60%;
animation-delay: 1s;
}
.stars:nth-child(3) {
background-position: -20% -30%;
animation-delay: 2s;
}
.stars:nth-child(4) {
background-position: 40% -80%;
animation-delay: 3s;
}
.stars:nth-child(5) {
background-position: -20% 30%;
animation-delay: 4s;
}
@keyframes zoom {
0% {
opacity: 0;
transform: scale(0.5);
animation-timing-function: ease-in;
}
85% {
opacity: 1;
transform: scale(2.8);
animation-timing-function: linear;
}
100% {
opacity: 0;
transform: scale(3.5);
}
}
/* Demo syles
------------------------------------- */
body {
background: #090e16;
}
.container {
margin-top: 100px;
text-align: center;
}
.social {
position: relative;
z-index: 98;
font-family: "Caviar Dreams", sans-serif;
font-size: 3em;
color: #fff;
}
#sketch {
position: relative;
top: 10px;
height: 300px;
border: red;
z-index: 99;
}
h1 {
font-family: "Molot", sans-serif;
color: #000;
letter-spacing: 2px;
margin-top: 25px;
margin-bottom: 5px;
font-size: 10em;
text-shadow: 0 0 5px #fff;
}
h2 {
font-family: "Caviar Dreams", sans-serif;
margin-top: 5px;
letter-spacing: 1px;
color: #011;
font-size: 3em;
text-shadow: 0 0 3px #6cf;
}
/* unvisited link */
a:link,
a:visited,
a:active {
color: #fff;
text-decoration: none;
}
a:hover {
color: #fff;
text-decoration: underline;
}
.footer {
font-family: "Caviar Dreams", sans-serif;
z-index: 98;
color: #fff;
position: absolute;
bottom: 10px;
right: 10px;
}