aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-11-30 22:46:54 -0500
committerBobby <[email protected]>2022-11-30 22:46:54 -0500
commitdd9178f2f1917c2139f5ac4e125e686f9e84dc27 (patch)
tree0c661b8f55816fce305f1b342c9bf932de405279
parent982bee9fc665b21f235ac457ca6e4f960275f8dc (diff)
parent28ae5e6a05f3a2e77be10f8c68b3036f8899af25 (diff)
downloadthatcomputerscientist-dd9178f2f1917c2139f5ac4e125e686f9e84dc27.tar.xz
thatcomputerscientist-dd9178f2f1917c2139f5ac4e125e686f9e84dc27.zip
Merge branch 'main' of https://github.com/luciferreeves/thatcomputerscientist
-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>