脑袋好乱啊,先上传了

This commit is contained in:
2025-12-28 23:12:28 +08:00
parent 8ca06abe4a
commit 4266c8ac5c
10 changed files with 179 additions and 147 deletions

55
templates/blog/base.html Normal file
View File

@@ -0,0 +1,55 @@
{# base_home模板 #}
<!DOCTYPE html>
<html>
<title>{% block title %}{% endblock %} | ww3</title>
<body>
<div id="logs_and_page">
{% block logs_and_page %}
{# 这里存放写入模板的数据 #}
{% endblock %}
</div>
{% include 'blog/footer.html' %}
</body>
</html>
{# css部分 #}
<style>
#navbar {
width: 100%;
text-align: center;
}
#url_ {
margin: 0 5px 0 0;
color: black;
font-weight: bold;
}
#logs_and_page {
margin: 0 0 0 0;
margin-left: 5%;
width: 90%;
height: 640px;
background-color: #93B9FFA4;
}
#navbar1 {
font-size: 125%;
width: 35%;
height: 13px;
background-color: rgba(169, 198, 252, 0);
}
#navbar {
font-size: 125%;
width: 500px;
height: auto;
background-color: rgb(169, 198, 252);
}
html, body {
margin: 0;
}
a {
text-decoration: none;
}
body {
background-color: rgb(92, 92, 92);
}
</style>