aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/css/main.css4
-rw-r--r--templates/blog/partials/base.html9
2 files changed, 11 insertions, 2 deletions
diff --git a/static/css/main.css b/static/css/main.css
index ac7d5fdc..0725ec21 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -11,6 +11,10 @@ body {
text-align: center;
}
+.main {
+ padding: 10px;
+}
+
.zoom {
width: 320px;
height: 160px;
diff --git a/templates/blog/partials/base.html b/templates/blog/partials/base.html
index be190670..b0838887 100644
--- a/templates/blog/partials/base.html
+++ b/templates/blog/partials/base.html
@@ -64,11 +64,16 @@
</td>
<hr>
</div>
- <div class="content">
+ <div class="content" style="
+ width: 1010px;
+ margin: 0 auto;
+ box-sizing: border-box;
+ padding: 10px 0px 20px 0px;
+">
<center>
<table style="table-layout: fixed; width: 1000px;">
<td width="250px" style="vertical-align:top;">{% include 'blog/partials/sidebar.html' %}</td>
- <td width="750px" style="vertical-align:top;"><div class="content">{% block content %} {% endblock %}</div></td>
+ <td width="750px" style="vertical-align:top;"><div>{% block content %} {% endblock %}</div></td>
</table>
</center>
</div>