add style for blog entries

This commit is contained in:
2024-01-14 19:39:39 -05:00
parent 815d3e21ca
commit 615b6e1683
2 changed files with 7 additions and 1 deletions

View File

@ -18,7 +18,7 @@ cat > "$filename/index.html" << EOF
<title>'$name'</title> <title>'$name'</title>
<meta name="date" content="$(date "+%Y/%m/%d")"> <meta name="date" content="$(date "+%Y/%m/%d")">
<link rel="stylesheet" href="/style.css"> <link rel="stylesheet" href="/style.css">
<body style="background-color: #161617;"> <body id="blog">
<p> <p>
</p> </p>
</body> </body>

View File

@ -36,6 +36,12 @@ html, body {
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
body[id=blog] {
background-color: #161617;
display: unset !important;
max-width: 80ch;
margin: auto;
}
div#master header { div#master header {
text-align: center; text-align: center;
font-size: 30px; font-size: 30px;