diff options
author | Squibid <me@zacharyscheiman.com> | 2024-01-14 19:39:39 -0500 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2024-01-14 19:39:39 -0500 |
commit | 615b6e16837c5b3531bb28c45fdd70f2a941e1cf (patch) | |
tree | d86600620142d8034124e36fa91f9af81f0d004b | |
parent | 815d3e21caf81d169d6d2a362c3c3d5144c87198 (diff) | |
download | site-615b6e16837c5b3531bb28c45fdd70f2a941e1cf.tar.gz site-615b6e16837c5b3531bb28c45fdd70f2a941e1cf.tar.bz2 site-615b6e16837c5b3531bb28c45fdd70f2a941e1cf.zip |
add style for blog entries
Diffstat (limited to '')
-rwxr-xr-x | blog/newblog | 2 | ||||
-rw-r--r-- | style.css | 6 |
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> @@ -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; |