Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
100 lines (98 loc) · 2.81 KB
/
Copy pathstyle.css
File metadata and controls
100 lines (98 loc) · 2.81 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
/*==========================背景顏色==========================*/
body {
background-color: Snow;
}
/*==========================普通设置==========================*/
h1 {
font-family: Baskerville Old Face;
font-size: 28px;
color: black;
font-weight: bold;
font-style: normal;
text-align: left;
}
.title {
font-family: Baskerville Old Face;
font-size: 36px;
color: black;
font-weight: bold;
font-style: normal;
text-align: center;
}
.nav {
font-family: Helvetica;
font-size: 15px;
}
p {
font-family: Times New Roman;
color: black;
font-size: 24px;
text-align: justify;
}
/*==========================主页图标==========================*/
#backhome a { /* back to home button */
position: fixed;
bottom: 25px; /* 小按钮到浏览器底边的距离 */
right: 25px; /* 小按钮到浏览器右边框的距离 */
color: Black; /* 小按钮中文字的颜色 */
z-index: 1000;
background: Lavender; /* 小按钮底色 */
padding: 5px; /* 小按钮中文字到按钮边缘的距离 */
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px; /* 小按钮圆角的弯曲程度(半径)*/
font-weight: normal; /* 小按钮中文字的粗细 */
text-decoration: none;
}
#backhome a:hover { /* 小按钮上有鼠标悬停时 */
background: MediumSlateBlue; /* 小按钮的底色 */
color: White; /* 文字颜色 */
}
/*==========================返回图标==========================*/
#back a { /* back to home button */
position: fixed;
bottom: 60px; /* 小按钮到浏览器底边的距离 */
right: 25px; /* 小按钮到浏览器右边框的距离 */
color: Black; /* 小按钮中文字的颜色 */
z-index: 1000;
background: Lavender; /* 小按钮底色 */
padding: 5px; /* 小按钮中文字到按钮边缘的距离 */
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px; /* 小按钮圆角的弯曲程度(半径)*/
font-weight: normal; /* 小按钮中文字的粗细 */
text-decoration: none;
}
#back a:hover { /* 小按钮上有鼠标悬停时 */
background: MediumSlateBlue; /* 小按钮的底色 */
color: White; /* 文字颜色 */
}
/*=========================自适应设置=========================*/
/*----------------============大屏============----------------*/
@media screen and (min-width:750px) {
/*----------------------左右分栏----------------------*/
.about-contact {
position: fixed;
width: 30%;
top: 130px;
right: 0;
}
.about-content {
margin-left: 0;
margin-top: -20px;
float: left;
width: 80%;
}
/*----------------------两列文字----------------------*/
.two-column {
padding: 1em;
-moz-column-count: 2;
-ms-column-count: 2;
-webkit-column-count: 2;
column-count: 2;
-moz-column-gap: 1em;
-ms-column-gap: 1em;
-webkit-column-gap: 1em;
column-gap: 1em;
}
}