From dad45a965c252cc9c1b47d48cfa8b86fc909e084 Mon Sep 17 00:00:00 2001 From: Snorre Ettrup Altschul Date: Thu, 27 Mar 2025 22:51:47 +0100 Subject: [PATCH] fixed background --- public/css/css.css | 5 ++++- public/posts/index.html | 18 +++++++++++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/public/css/css.css b/public/css/css.css index bb68643..4183ed0 100644 --- a/public/css/css.css +++ b/public/css/css.css @@ -116,6 +116,9 @@ body { position: fixed; z-index: -3; + top: 50%; + left: 50%; + color: var(--background-text); opacity: 0.3; @@ -124,7 +127,7 @@ body { font-size: 1.5em; transform-origin: center center; - transform: rotate(-45deg); + transform: translate(-50%, -50%) rotate(-45deg); align-content: center; text-align: center; diff --git a/public/posts/index.html b/public/posts/index.html index e1cfb67..15d2ff2 100644 --- a/public/posts/index.html +++ b/public/posts/index.html @@ -15,7 +15,7 @@ } #content>.content { - font-size: 1.5em; + font-size: 1.2em; max-width: 75ch; } @@ -24,6 +24,22 @@ text-justify: auto; } + #content h2::before { + content: "> "; + } + + #content h3::before { + content: ">> "; + } + + #content h3 { + text-decoration: underline; + } + + #content h4::before { + content: ">>> "; + } + .toc { background: var(--background-text); border-radius: var(--radius);