Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions frontend/public/about-me.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
* {
box-sizing: border-box;
}

body {
margin: 0;
min-height: 100vh;
color: #263238;
background-color: #eef3f7;
font-family: Arial, "Microsoft YaHei", sans-serif;
}

.profile-page {
width: min(860px, calc(100% - 32px));
margin: 0 auto;
padding: 40px 0;
}

.profile-header,
.profile-section,
.profile-footer {
margin-bottom: 20px;
padding: 24px;
background-color: #ffffff;
border: 1px solid #d7e0e8;
border-radius: 8px;
}

.profile-header {
border-top: 5px solid #3973ac;
}

.profile-header a,
.profile-footer a {
color: #2563a6;
}

.profile-section h2 {
margin-top: 0;
color: #315a7d;
}

.profile-section li {
margin: 10px 0;
}

blockquote {
margin: 0;
padding-left: 16px;
color: #52616b;
border-left: 4px solid #70a1c8;
}

@media (max-width: 600px) {
.profile-page {
width: calc(100% - 20px);
padding: 20px 0;
}
}
52 changes: 52 additions & 0 deletions frontend/public/about-me.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<!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="stylesheet" href="./about-me.css" />
</head>

<body>
<main class="profile-page">
<header class="profile-header">
<a href="./index.html">返回首页</a>

<h1>关于我</h1>
<p>你好,我是<strong>wang-yx</strong>。</p>
<p>目前就读于清华大学电子工程系无57班。</p>
</header>

<section class="profile-section">
<h2>我的兴趣</h2>
<ul>
<li>健身</li>
<li>阅读</li>
<li>旅行</li>
</ul>
</section>

<section class="profile-section">
<h2>一件有趣的事</h2>
<p>
完成这份有趣的作业。
</p>
</section>

<section class="profile-section">
<h2>我的目标</h2>
<blockquote>
努力做完暑培的所有作业!
</blockquote>
</section>

<footer class="profile-footer">
<p>
可以在
<a href="https://github.com/wang-yx-123/" target="_blank">GitHub</a>
找到我。
</p>
</footer>
</main>
</body>
</html>
2 changes: 2 additions & 0 deletions frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ <h1 style="color: purple;">这是一个趣味会议软件</h1>
<a href="./main.html">进入主页</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="./about.html" target="_blank">关于这个工程</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="./about-me.html">关于我</a>
</div>
</body>
</html>