-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
223 lines (218 loc) · 4.83 KB
/
style.css
File metadata and controls
223 lines (218 loc) · 4.83 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
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
/*Set Background*/
div#bg{
position:fixed;
top:0;
left:0;
bottom:0;
right:0;
z-index:-1;
}
div#bg > img {
height:100%;
width:100%;
border:0;
}
/*End of the Background*/
/*Set Navigation 3D Bar*/
#cssmenu,#cssmenu ul,#cssmenu ul li,#cssmenu ul li a,#cssmenu #menu-button {
margin: 0;
padding: 0;
border: 0;
list-style: none;
line-height: 1;
display: block;
position: relative;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
#cssmenu #menu-button {
display: none;
}
#cssmenu {
width: auto;
font-family: "Times New Roman",Georgia,Serif;
line-height: 1;
}
#cssmenu > ul > li {
float: left;
-webkit-perspective: 1000px;
-moz-perspective: 1000px;
perspective: 1000px;
}
#cssmenu.align-center > ul {
font-size: 0;
text-align: center;
}
#cssmenu.align-center > ul > li {
display: inline-block;
float: none;
}
#cssmenu.align-right > ul > li {
float: right;
}
#cssmenu > ul > li > a {
padding: 90px 140px;
font-size: 14px;
color: #EAEAEA;
letter-spacing: 3px;
text-transform: uppercase;
text-decoration: none;
background: #171717;
-webkit-transition: all .3s;
-moz-transition: all .3s;
-o-transition: all .3s;
transition: all .3s;
-webkit-transform-origin: 50% 0;
-moz-transform-origin: 50% 0;
transform-origin: 50% 0;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
}
#cssmenu > ul > li.active > a {
color:#EAEAEA;
} /*z第一个文字*/
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li > a:hover {
color:#BBFFFF;
-webkit-transform: rotateX(90deg) translateY(-23px);
-moz-transform: rotateX(90deg) translateY(-23px);
transform: rotateX(90deg) translateY(-23px);
-ms-transform: none;
} /*文字运动过程中*/
#cssmenu > ul > li > a::before {
position: absolute;
top: 100%;
left: 0;
z-index: -1;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
height: 100%;
padding: 16px 20px;
color: #BBFFFF;
background: #171717;
content: attr(data-title);
-webkit-transition: background 0.3s;
-moz-transition: background 0.3s;
transition: background 0.3s;
-webkit-transform: rotateX(-90deg);
-moz-transform: rotateX(-90deg);
transform: rotateX(-90deg);
-webkit-transform-origin: 50% 0;
-moz-transform-origin: 50% 0;
transform-origin: 50% 0;
-ms-transform: translateY(-18px);
} /*所有文字旋转后*/
#cssmenu > ul > li:hover > a::before,
#cssmenu > ul > li > a:hover::before {
background: #171717;
}
/*以下代码与表面处理没有关系 */
#cssmenu.small-screen {
width: 100%;
}
#cssmenu.small-screen > ul,
#cssmenu.small-screen.align-center > ul {
width: 100%;
text-align: left;
}
#cssmenu.small-screen > ul > li,
#cssmenu.small-screen.align-center {
float: none;
display: block;
border-top: 1px solid rgba(100, 100, 100, 0.1);
}
#cssmenu.small-screen > ul > li:hover > a,
#cssmenu.small-screen > ul > li > a:hover {
color:#BBFFFF;
-webkit-transform: none;
-moz-transform: none;
transform: none;
-ms-transform: none;
}
#cssmenu.small-screen > ul > li > a::before {
display: none;
}
#cssmenu.small-screen #menu-button {
display: block;
padding: 16px 20px;
cursor: pointer;
font-size: 14px;
text-decoration: none;
color: #EAEAEA;
text-transform: uppercase;
letter-spacing: 1px;
background:#050505;
}
#cssmenu.small-screen #menu-button:after {
content: "";
position: absolute;
right: 20px;
top: 17px;
display: block;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
border-top: 2px solid #EAEAEA;
border-bottom: 2px solid #EAEAEA;
width: 22px;
height: 3px;
}
#cssmenu.small-screen #menu-button.menu-opened:after {
border-top: 2px solid #FFFFFF;
border-bottom: 2px solid #FFFFFF;
}
#cssmenu.small-screen #menu-button:before {
content: "";
position: absolute;
right: 20px;
top: 27px;
display: block;
width: 22px;
height: 2px;
background: #EAEAEA;
}
#cssmenu.small-screen #menu-button.menu-opened:before {
background:black;
}
/*End of the 3D Navigation Bar*/
/*Set the words of homepage*/
#homeparagraph
{ clear: both;/*也可用voerflow:hidden;来清除浮动影响*/
font-family:arial;
color:#FFFFFF;
font-size:80px;
}
#homewords{
z-index: -1;
position:absolute;
top:550px;
left:100px;
}
/*End the words of homepage*/
#iframe1{
margin :0px;
width:1530px; /*框架设置*/
height:1530px;
border:0px;
scrolling:no;
}
#d3{
margin:0px;
border:0px blue solid;
position:absolute; /*框架位置,大小调整*/
top:810px;
right:450px;
}
#d4 {
margin: 0px;
width:1510px;
height:510px; /*about me_1 的边框设置*/
padding:0px;
border:0px ;
}
#p1{color:black;
size:9px;}