-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdmaku.css
118 lines (108 loc) · 2.37 KB
/
dmaku.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
@charset "utf-8";
html{height:100%;}
body{
padding:0;
text-align:center;
font-family:'open sans';
position:relative;
margin:0;
height:100%;
padding-bottom:50px;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
}
a{text-decoration:none;}
canvas{display:block;width:100%;height:100%;top:0;left:0;position:fixed;}
canvas.flare{opacity:0.5;}
body{margin:auto}
#bridge{
display: block;
margin: 0 auto;
overflow: hidden;
background-image:url("../res/sc-2.jpg");
background-image:-webkit-image-set(url("../res/sc-2.jpg") 1x,url("../res/sc-2x.jpg") 2x);
background-size:cover;
width:80%;
height: 100%;
cursor:crosshair;
cursor:url(../res/circular-cursor.png) 53 53,crosshair;
}
#bridgeContainer{text-align:center;font-family:Avenir,sans-serif}
.fd .floor-cot {
height: auto;
overflow: visible;
position: relative;
width: 400px;
}
.fd .floor-cot a {
display: block;
overflow: hidden;
position: absolute;
}
.fd .floor-cot a {
opacity: 1;
transition: all 0.5s ease 0s;
}
.fd .floor-cot:hover a {
opacity: 0.3;
transition: all 0.5s ease 0s;
}
.fd .floor-cot a:hover {
opacity: 1;
transition: all 0.5s ease 0s;
}
.fd .floor-cot a .left {
height: 0;
position: absolute;
transition: all 0.7s ease 0s;
width: 2px;
}
.fd .floor-cot a .right {
height: 0;
position: absolute;
transition: all 0.7s ease 0s;
width: 2px;
}
.fd .floor-cot a .top {
height: 2px;
position: absolute;
transition: all 0.7s ease 0s;
width: 0;
}
.fd .floor-cot a .bottom {
height: 2px;
position: absolute;
transition: all 0.7s ease 0s;
width: 0;
}
.fd .floor-cot a:hover .left {
height: 100%;
transition: all 0.7s ease 0s;
}
.fd .floor-cot a:hover .right {
height: 100%;
transition: all 0.7s ease 0s;
}
.fd.floor-cot a:hover .top {
transition: all 0.7s ease 0s;
width: 100%;
}
.fd .floor-cot a:hover .bottom {
transition: all 0.7s ease 0s;
width: 100%;
}
.fd .floor-cot a img {
display: block;
left: 0;
position: absolute;
top: 0;
transform: scale(1, 1);
transition: all 1.2s ease 0s;
z-index: 3;
}
.fd .floor-cot a:hover img {
opacity: 0;
transform: scale(1.2, 1.2);
transition: all 1.2s ease 0s;
}