-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.css
306 lines (273 loc) · 6.03 KB
/
index.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
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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
body{
margin-top: 0;
margin-left: 0;
margin-right: 0;
margin-bottom: 40px;
background-color: rgb(245, 245, 245);
}
a{ text-decoration : none;}
/*************** 最顶部logo **************/
/*************** 菜单按钮 **************/
/*************** picture、news、about三部分总框 **************/
#page{
/* border: 2px solid red ; */
height: 900px;
width: 100%;
}
/*************** 左侧picture、about总框 **************/
#left{
/* border: 2px solid red; */
height: 900px;
width: 60%;
float: left;
}
/*************** 左上picture框 **************/
#picture{
float: left;
/* border:2px solid blue; */
height: 500px;
width: 100%;
}
/************ 百叶窗效果(废弃) *************/
/************ 轮播图效果 *************/
/* 总框 */
.banner{
position: relative;
width: 64%;
height: 320px;
margin-top: 50px;
margin-left: 150px;
/* margin-right: 50px; */
}
/* 三张图的总ul */
.cont{
width: 100%;
height: 390px;
/* box-shadow:2px 5px 15px rgba(0,0,0,0.5); */
}
/* 三张图之一 */
.cont li{
cursor: pointer;
position: absolute;
width: 100%;
height: 390px;
list-style: none;
transform: translate(-40px,0px); /*轮播图 图片位置 (左,上)*/
}
/* 三张图之一 */
.item.active{
z-index: 50;
}
#Larrow{
cursor: pointer;
position: absolute;
top: 50%;
left: 5px;
width: 40px;
height: 60px;
z-index: 99;
color: #fff;
text-align: center;
line-height: 60px; /* =height */
transform: translateY(-50%);
border-radius: 5px;
opacity:0.8; /*透明度*/
background-color: skyblue;
}
#Rarrow{
cursor: pointer;
position: absolute;
top: 50%;
right: 5px;
width: 40px;
height: 60px;
z-index: 99;
color: #fff;
text-align: center;
line-height: 60px; /* =height */
transform: translateY(-50%);
border-radius: 5px;
opacity:0.8; /*透明度*/
background-color: skyblue;
}
.dot{
position: absolute;
bottom: 10px;
left: 40%;
transform: translateY(45px); /*下*/
display: flex;
z-index: 99;
list-style: none;
}
.dot .point{
cursor: pointer;
width: 8px;
height: 8px;
margin: 6px;
background-color: rgba(0,0,0,.8);
border-radius: 50%;
}
.point.active{ /* 激活点颜色 */
background-color: skyblue;
}
/*************** muon视频的位置控制 **************/
#video-muon{
position: relative;
top: -20px;
left: 140px;
}
/*************** 左下about框 **************/
#about{
float: left;
/* border: 2px solid blue; */
height: 400px;
width: 100%;
}
#about-title{
padding-left: 20px;
padding-right: 20px;
border-left: 6px solid teal;
margin-left: 50px;
margin-bottom: 20px;
}
#about-text{
margin-left: 50px;
margin-right: 20px;
font-family: Arial, Helvetica, sans-serif;
font-size:auto ;
letter-spacing: 1.5px; /* 漢字间距*/
text-indent: 2em; /* 首行缩进 */
line-height: 20pt;
color: #666666;
}
/*************** 右侧news框 **************/
#news{
float: left;
/* border: 2px solid blue; */
height: 900px;
width: 35%;
margin-left: 35px;
}
#news-title{
padding-left: 20px;
padding-right: 20px;
border-left: 6px solid teal;
margin-left: 50px;
margin-top: 50px;
margin-bottom: 20px;
}
.news-items{
width: 90%;
list-style-type: none;
border-bottom: 1px solid skyblue;
padding-bottom: 5px;
margin-bottom: 5px;
margin-left: 10px; /* 保证条目与标题左侧竖线对其 */
}
h6{
font-size: 12pt;
color: teal;
margin: 15px auto 5px;
}
#news-more{
width: 90%;
list-style-type: none;
margin-top: 50px;
margin-bottom: 5px;
margin-left: 10px; /* 保证条目与标题左侧竖线对其 */
padding-top: 5px;
padding-bottom: 5px;
border-radius: 8px;
background-color: skyblue;
text-align: center;
font-size: 16pt;
color: teal;
font-family: Arial, Helvetica, sans-serif;
letter-spacing: 8px;
}
/*************** 名言警句 **************/
#AmIContent{
width: 92%;
margin-left: 4%;
margin-top: 60px; /*名言警句上面蓝色分割线高度*/
padding-top: 60px;
border-top: 2px solid skyblue;
font-family: Arial, Helvetica, sans-serif;
font-size:14pt ;
/* letter-spacing: ; 漢字间距*/
text-indent: 2em; /* 首行缩进 */
line-height: 26pt;
color: #666666;
}
#Renzo{
width: 40%;
margin-left: 58%;
margin-top: 30px;
font-family: Arial, Helvetica, sans-serif;
font-size: 16pt;
color:teal;
}
/*************** 最底部框 **************/
#bottom{
border-top : 2px solid #c0c0c0;
width: 92%;
margin-left: 4%;
margin-top: 60px;
height: 300px;
color: #666666;
}
/**********友情链接 *********/
#bottom-link{
float: left;
width: 45%;
height: 300px;
}
#bottom-link-title{
padding-bottom: 20px;
padding-left: 20px;
margin-left: 50px;
margin-bottom: 20px;
border-bottom: 2px solid #666666;
width: 80%;
font-size: 18pt;
}
.bottom-link-li{
width: 100%;
margin-left: 30px;
font-size: 12pt;
list-style-type: none;
line-height: 24pt;
letter-spacing: 1.5px;
}
.bottom-link-a:link{
color: #666666;
}
.bottom-link-a:visited {
color:#666666;
text-decoration:none;
}
.bottom-link-a:hover {
color:#666666;
text-decoration:none;
}
.bottom-link-a:active {
color:#666666;
text-decoration:none;
}
/********** 联系我们 *********/
#bottom-contact{
float: left;
width: 45%;
height: 300px;
}
#bottom-copyright{
display: inline-block;
width: 100%;
text-align: center;
margin-top: 0;
padding-top: 10px;
padding-bottom: 10px;
border-top: 1px solid teal;
font-size: 12pt;
font-family: Arial, Helvetica, sans-serif;
}