误打误撞成功了,赶紧提交
This commit is contained in:
55
templates/blog/extension/base.html
Normal file
55
templates/blog/extension/base.html
Normal file
@@ -0,0 +1,55 @@
|
||||
{# base_home模板 #}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>{% block title %}{% endblock %} | ww3</title>
|
||||
<body>
|
||||
<div id="content">
|
||||
{% block content %}
|
||||
{# 这里存放写入模板的数据 #}
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
{% include 'blog/include/footer.html' %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
{# css部分 #}
|
||||
<style>
|
||||
#navbar {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
#url_ {
|
||||
margin: 0 5px 0 0;
|
||||
color: black;
|
||||
font-weight: bold;
|
||||
}
|
||||
#content {
|
||||
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>
|
||||
Reference in New Issue
Block a user