-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
116 lines (101 loc) · 2.52 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
#bg {
height: screen.height;
width: screen.width;
margin-bottom: 0;
}
#psy {
width: 150px;
height: 250px;
margin: 0 auto;
margin-top: 240px
}
html {
width: 100%;
height: 100%;
}
body {
background-image: url(dancefloor.jpeg);
background-size: cover;
width: 100%;
margin: 0;
overflow: hidden;
background-repeat: no-repeat;
background-attachment: fixed;
}
@-webkit-keyframes rotateDiscoBall {
0% {-webkit-transform: rotateX(90deg) rotateZ(0deg) rotate(0deg); }
100% {-webkit-transform: rotateX(90deg) rotateZ(360deg) rotate(0deg); }
}
@keyframes rotateDiscoBall {
0% {transform: rotateX(90deg) rotateZ(0deg) rotate(0deg); }
100% {transform: rotateX(90deg) rotateZ(360deg) rotate(0deg); }
}
@-webkit-keyframes rotateDiscoBallMiddle {
0% {-webkit-transform: rotateX(90deg) rotateY(0deg) rotate(0deg); }
100% {-webkit-transform: rotateX(90deg) rotateY(-360deg) rotate(0deg); }
}
@keyframes rotateDiscoBallMiddle {
0% {transform: rotateX(90deg) rotateY(0deg) rotate(0deg); }
100% {transform: rotateX(90deg) rotateY(-360deg) rotate(0deg); }
}
@-webkit-keyframes reflect {
0% {-webkit-filter: brightness(60%);}
50% {-webkit-filter: brightness(120%);}
100% {-webkit-filter: brightness(90%);}
}
@keyframes reflect {
0% {opacity: 1;}
50% {opacity: 0.4;}
100% {opacity: 1;}
}
#discoBall {
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
width: 100px;
height: 100px;
position: absolute;
top: 50px;
left: 50%;
margin-left: -50px;
-webkit-animation: rotateDiscoBall 18s linear infinite;
animation: rotateDiscoBall 18s linear infinite;
}
#discoBallLight {
width: 100px;
height: 100px;
position: absolute;
top: 50px;
left: 50%;
margin-left: -50px;
border-radius: 100%;
background-color: white;
opacity: 0.2;
-webkit-filter: blur(20px);
}
.square {
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
position: absolute;
top: 50px;
left: 50px;
width: 6px;
height: 6px;
position: absolute;
transform: rotateX(90deg) rotateY(0deg) translateZ(0px);
}
#discoBallMiddle {
height: 100%;
border-radius: 100%;
background-color: #111;
position: absolute;
background: -webkit-linear-gradient(top, #111, #333);
background: -moz-linear-gradient(top, #111, #333);
background: linear-gradient(top, #111, #333);
-webkit-animation: rotateDiscoBallMiddle 18s linear infinite;
animation: rotateDiscoBallMiddle 18s linear infinite;
}
a {
position: absolute;
bottom: 12px;
right: 20px;
}