-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
98 lines (84 loc) · 1.87 KB
/
style.css
File metadata and controls
98 lines (84 loc) · 1.87 KB
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
@import url(https://fonts.googleapis.com/css?family=Lato:400,300,100);
body {
font-family: "Lato";
background-image: url('https://svs.gsfc.nasa.gov/vis/a010000/a013300/a013326/BH_AccretionDisk_Sim_360_Wide_16x9.gif'); /* Credit: NASA’s Goddard Space Flight Center/Jeremy Schnittman */
background-size:100%;
background-repeat: repeat-y;
background-attachment: fixed;
height:100%;
width:100%;
-webkit-font-smoothing: antialiased;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#particles-js,
#parallax,
.layer,
.some-space,
.some-more-space {
height: 100%;
position: absolute;
width: 100%;
}
#particles-js {
opacity: 0.6;
}
h1 {
color: white;
font-size: 5em;
font-weight: 100;
letter-spacing: 0.2em;
position: absolute;
top: 50%;
left: 50%;
transform: translate3d(-50%, -50%, 0);
}
a {
color: white;
border: 1px solid white;
display: table;
position: absolute;
top: 60%;
left: 50%;
letter-spacing: 0.05em;
transform: translate3d(-50%, -50%, 0);
text-decoration: none;
transition: all 200ms ease;
padding: 10px 15px;
}
a:hover {
background: white;
color: black;
}
.some-space {
animation: rotate 18s 0.5s infinite linear reverse;
}
.some-more-space {
-webkit-animation: rotate 15s 0.1s infinite linear;
animation: rotate 15s 0.1s infinite linear;
}
@-webkit-keyframes rotate {
0% {
transform: rotateZ(0deg) translate3d(0, 1.5%, 0) rotateZ(0deg);
}
100% {
transform: rotateZ(360deg) translate3d(0, 1.5%, 0) rotateZ(-360deg);
}
}
@keyframes rotate {
0% {
transform: rotateZ(0deg) translate3d(0, 1.5%, 0) rotateZ(0deg);
}
100% {
transform: rotateZ(360deg) translate3d(0, 1.5%, 0) rotateZ(-360deg);
}
}
@media (max-width: 480px) {
body {
background-image: url('./bg2.gif') ;
max-width: 100%;
background-size:cover;
}
}