Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
112 lines (99 loc) · 1.76 KB
/
Copy pathstyle.css
File metadata and controls
112 lines (99 loc) · 1.76 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
/* ----------- 全局基础设置 ----------- */
body {
font-family: "Helvetica Neue", Arial, sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
color: #333;
background-color: #fafafa;
}
a {
color: #007acc;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* ----------- Header 区域 ----------- */
header {
text-align: center;
padding: 40px 20px;
background: #f4f4f4;
border-bottom: 1px solid #ddd;
}
.profile-pic {
width: 150px; /* 头像大小,可调 */
height: auto;
border-radius: 50%; /* 圆形头像 */
display: block;
margin: 0 auto 15px; /* 居中,下面加点间距 */
}
header h1 {
margin: 10px 0 5px;
font-size: 2.2em;
color: #2c3e50;
}
header p {
margin: 0;
font-size: 1.1em;
color: #555;
}
nav {
margin-top: 15px;
}
nav a {
margin: 0 12px;
font-weight: bold;
font-size: 1em;
}
nav a:hover {
color: #005a99;
}
/* ----------- Section 通用 ----------- */
section {
max-width: 900px;
margin: 40px auto;
padding: 0 20px;
}
section h2 {
font-size: 1.6em;
margin-bottom: 15px;
border-bottom: 2px solid #007acc;
padding-bottom: 5px;
color: #2c3e50;
}
section p {
text-align: justify;
}
/* ----------- 列表样式 ----------- */
ul {
list-style: none;
padding: 0;
}
ul li {
margin: 12px 0;
line-height: 1.5;
}
/* ----------- 视频 iframe 响应式 ----------- */
iframe {
max-width: 100%;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
/* ----------- 联系方式 ----------- */
#contact p {
text-align: center;
font-size: 1.1em;
}
#contact a {
margin: 0 8px;
}
/* ----------- Footer ----------- */
footer {
text-align: center;
padding: 20px;
font-size: 0.9em;
background: #f4f4f4;
color: #555;
border-top: 1px solid #ddd;
}