From 5b5d6ee6e99f878c32e4fee0218d750b6c5ed617 Mon Sep 17 00:00:00 2001 From: Eric Bower Date: Tue, 16 Jan 2024 10:15:24 -0500 Subject: [PATCH] style: add `.md` class to `smol.css` --- static/post.css | 40 ---------------------------------------- static/smol.css | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 40 deletions(-) diff --git a/static/post.css b/static/post.css index 0f6c792..931a1b6 100644 --- a/static/post.css +++ b/static/post.css @@ -1,43 +1,3 @@ -/* ==== MARKDOWN ==== */ - -.md h1, -.md h2, -.md h3, -.md h4 { - margin: 1.5rem 0; - font-weight: bold; - border-bottom: 2px solid var(--grey); - padding-bottom: 15px; -} - -.md h1 a, -.md h2 a, -.md h3 a, -.md h4 a { - color: var(--grey-light); - text-decoration: none; -} - -.md h1 { - font-size: 1.60rem; - line-height: 1.15; -} - -.md h2 { - font-size: 1.45rem; - line-height: 1.15; -} - -.md h3 { - font-size: 1.20rem; -} - -.md h4 { - font-size: 1rem; -} - -/* ==== POST ==== */ - main { overflow-y: scroll; } diff --git a/static/smol.css b/static/smol.css index 3ea494e..fa844e3 100644 --- a/static/smol.css +++ b/static/smol.css @@ -507,6 +507,44 @@ figure { text-align: right; } +/* ==== MARKDOWN ==== */ + +.md h1, +.md h2, +.md h3, +.md h4 { + margin: 1.5rem 0; + font-weight: bold; + border-bottom: 2px solid var(--grey); + padding-bottom: 15px; +} + +.md h1 a, +.md h2 a, +.md h3 a, +.md h4 a { + color: var(--grey-light); + text-decoration: none; +} + +.md h1 { + font-size: 1.60rem; + line-height: 1.15; +} + +.md h2 { + font-size: 1.45rem; + line-height: 1.15; +} + +.md h3 { + font-size: 1.20rem; +} + +.md h4 { + font-size: 1rem; +} + /* ==== HELPERS ==== */ .logo-header {