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
152
153
154
155
156
157
158
159
160
161
162
163
|
@font-face {
font-family: Penumbra;
src: url(./PenumbraSansStd-Semibold.otf);
}
@-webkit-keyframes fade {
0% {
opacity: 0;
margin-top: 10px;
}
100% {
opacity: 1;
margin-top: 0px;
}
}
* {
margin: 0px;
padding: 0px;
}
body {
font-family: Penumbra, HiraginoSansGB-W3, sans-serif;
background: url(./bg.jpg) top center;
background-size: cover;
}
h1 {
font-size: 22px;
line-height: 40px;
-webkit-transition: padding 100ms ease;
}
p {
font-size: 20px;
line-height: 40px;
}
img {
width: 80px;
height: 80px;
padding: 10px;
-webkit-transition: margin 1000ms ease;
}
span#loveu {
font-size: 17px;
line-height: 40px;
font:"Microsoft Ya Hei";
}
div#card {
position: absolute;
width: 600px;
height: 400px;
top: 50%;
left: 50%;
margin-top: -200px;
margin-left: -300px;
box-shadow: 0px 5px 20px -5px black;
background: black;
font:"Microsoft Yi Baiti", Roboto, "华文行楷";
}
div.block {
position: relative;
width: 200px;
height: 200px;
float: left;
background: url(./texture.png);
box-shadow: inset 0px -2px 2px rgba(0,0,0,0.2);
text-align: center;
color: white;
overflow: hidden;
-webkit-transition: opacity 145s ease;
}
div.block:hover > .divin img {
margin-top: -20px;
}
div.block:hover > .divin h1 {
padding-top: 20px;
}
div.block:hover > .divin {
margin-top: -100px;
}
div.block:hover > .time5 {
margin-top: -110px;
}
div.block:hover > .inbox {
-webkit-animation: fade 500ms ease 200ms both;
}
div.divin {
width: 100px;
height: 140px;
padding: 30px 50px;
-webkit-transition: margin 300ms ease;
}
div.inbox {
width: 150px;
padding: 0px 25px;
}
div.time {
width: 175px;
margin: 0px auto;
padding: 0px;
height: 100px;
padding: 10px 12.5px 0px;
background: rgba(0,0,0,0.1);
box-shadow: inset 0px 0px 20px rgba(0,0,0,0.1);
}
div.time li.list {
list-style: none;
position: relative;
float: left;
width: 25px;
height: 50px;
margin: 0px 0px 10px 0px;
font-size: 12px;
-webkit-transition: 200ms ease;
}
div.time li.list:hover {
color: yellow;
-webkit-transform: scale(1.1);
}
div#b1 {
background-color: #2CC0E2;
}
div#b2 {
background-color: #59D999;
}
div#b3 {
background-color: #7658F9;
}
div#b4 {
background-color: #E9C24E;
}
div#b5 {
background-color: #E55679;
}
div#b6 {
background-color: grey;
}
span.last {
position: absolute;
font-size: 72px;
line-height: 200px;
width: 200px;
height: 200px;
left: 0px;
top: 0px;
-webkit-transition: opacity 200ms ease;
}
span#u {
}
span#real {
position: absolute;
opacity: 0;
}
div#b6:hover #u {
opacity: 0;
}
div#b6:hover #real {
opacity: 1;
}
|