-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
160 lines (136 loc) · 4 KB
/
index.html
File metadata and controls
160 lines (136 loc) · 4 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>王广成 - 个人主页</title>
<link rel="icon" href="favicon.ico" type="image/x-icon">
<style>
:root {
--bg-color: #f9fafb;
--text-color: #1f2937;
--accent-color: #2563eb;
--card-bg: #ffffff;
--border-color: #e5e7eb;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: var(--bg-color);
padding: 20px;
}
.container {
max-width: 800px;
margin: 40px auto;
background: var(--card-bg);
padding: 40px;
border-radius: 12px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
/* 头部信息 */
header {
text-align: center;
margin-bottom: 40px;
padding-bottom: 20px;
border-bottom: 1px solid var(--border-color);
}
h1 {
font-size: 2.5rem;
margin-bottom: 10px;
color: #111827;
}
.subtitle {
font-size: 1.1rem;
color: #6b7280;
}
/* 简介 */
section {
margin-bottom: 30px;
}
h2 {
font-size: 1.5rem;
margin-bottom: 15px;
border-left: 4px solid var(--accent-color);
padding-left: 10px;
}
p {
margin-bottom: 10px;
color: #374151;
}
/* 链接列表 */
ul {
list-style: none;
}
li {
margin-bottom: 10px;
}
a {
color: var(--accent-color);
text-decoration: none;
transition: color 0.2s;
}
a:hover {
color: #1d4ed8;
text-decoration: underline;
}
/* 标签样式 */
.tag {
display: inline-block;
background: #eff6ff;
color: var(--accent-color);
padding: 2px 8px;
border-radius: 4px;
font-size: 0.85rem;
margin-right: 5px;
}
/* 底部版权 */
footer {
text-align: center;
margin-top: 40px;
font-size: 0.85rem;
color: #9ca3af;
}
</style>
</head>
<body>
<div class="container">
<header>
<h1>王广成</h1>
<p class="subtitle">浙江 · 高中生</p>
</header>
<section>
<h2>关于我</h2>
<p>你好,我是王广成。</p>
<p>热衷于 Web 开发与开源技术,喜欢在本地环境中探索代码的乐趣。这里是我的个人小天地,记录着我的学习足迹。</p>
</section>
<section>
<h2>项目经历</h2>
<ul>
<li>
<a href="https://github.com/Wangren-Academy" target="_blank">
<strong>Wangren-Academy</strong>
</a>
<span class="tag">Organization</span>
<p>我在 GitHub 上创建并管理的组织,用于分享技术和协作开发。</p>
</li>
</ul>
</section>
<section>
<h2>联系方式</h2>
<ul>
<li>📧 <a href="mailto:Guang-Dawang@outlook.com">Guang-Dawang@outlook.com</a></li>
<li>💻 <a href="https://github.com/guangdawang" target="_blank">github.com/guangdawang</a></li>
</ul>
</section>
<footer>
© 2026 Guangcheng Wang. Built with simple HTML & CSS.
</footer>
</div>
</body>
</html>