From a0fbd37fa15c29e31f441257af65d04a37f777cd Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Thu, 8 May 2025 18:22:05 -0700 Subject: [PATCH] style: clean up default-base.css by removing commented-out media queries - Removed unnecessary media query styles to streamline the CSS. - Added margin reset for

elements containing links, scripts, and styles to improve spacing consistency. --- .../plugins/dynamix/styles/default-base.css | 29 ++++++------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/emhttp/plugins/dynamix/styles/default-base.css b/emhttp/plugins/dynamix/styles/default-base.css index 712240be5..7940eccfd 100644 --- a/emhttp/plugins/dynamix/styles/default-base.css +++ b/emhttp/plugins/dynamix/styles/default-base.css @@ -17,26 +17,6 @@ body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } -/* @media (max-width: 1280px) { - #template { - min-width: 1260px; - max-width: 1260px; - margin: 0; - } -} -@media (min-width: 1281px) { - #template { - min-width: 1260px; - margin: 0 10px; - } -} -@media (min-width: 1921px) { - #template { - min-width: 1260px; - max-width: 1920px; - margin: 0 auto; - } -} */ img { border: none; text-decoration: none; @@ -45,6 +25,15 @@ img { p { text-align: justify; } +/** + * The markdown parser will often add

around links, scripts, and styles. + * Without this, spacing is off with essentially empty paragraphs. + */ +p:has(> link), +p:has(> script), +p:has(> style) { + margin: 0; +} p.centered { text-align: left; }