summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xblog/newblog2
-rw-r--r--style.css6
2 files changed, 7 insertions, 1 deletions
diff --git a/blog/newblog b/blog/newblog
index 4ab27ba..2b3a049 100755
--- a/blog/newblog
+++ b/blog/newblog
@@ -18,7 +18,7 @@ cat > "$filename/index.html" << EOF
<title>'$name'</title>
<meta name="date" content="$(date "+%Y/%m/%d")">
<link rel="stylesheet" href="/style.css">
- <body style="background-color: #161617;">
+ <body id="blog">
<p>
</p>
</body>
diff --git a/style.css b/style.css
index cb2e4ca..097cb73 100644
--- a/style.css
+++ b/style.css
@@ -36,6 +36,12 @@ html, body {
display: flex;
justify-content: center;
}
+body[id=blog] {
+ background-color: #161617;
+ display: unset !important;
+ max-width: 80ch;
+ margin: auto;
+}
div#master header {
text-align: center;
font-size: 30px;