From 8e9d7e961e9a04a64673a8cc239dd3b085b3f845 Mon Sep 17 00:00:00 2001 From: Justin Reeves Date: Wed, 26 Aug 2026 04:43:17 -0500 Subject: [PATCH 1/2] Attempt to improve font-sizing. --- Themes/Tiqoe Dark.nnwtheme/stylesheet.css | 70 +++++++++++++++++++---- 1 file changed, 60 insertions(+), 10 deletions(-) diff --git a/Themes/Tiqoe Dark.nnwtheme/stylesheet.css b/Themes/Tiqoe Dark.nnwtheme/stylesheet.css index 649b69dff..ee6f3b0ff 100644 --- a/Themes/Tiqoe Dark.nnwtheme/stylesheet.css +++ b/Themes/Tiqoe Dark.nnwtheme/stylesheet.css @@ -10,7 +10,7 @@ body { } [href] { - text-decoration-style: underline; + text-decoration-style: solid; text-decoration-color: var(--link-underline-color); text-decoration-thickness: 1px; text-underline-offset: 0.15em; @@ -18,7 +18,7 @@ body { [href]:has(img):hover { opacity: 1; - } +} #nnwImageIcon { width: 32px; @@ -49,7 +49,7 @@ body { --secondary-accent-color: #43350e; --block-quote-border-color: rgba(255, 255, 255, 0.3); --link-underline-color: color-mix(in hsl, currentColor, transparent 20%); - --link-underline-special: color-mix(in hsl, currentColor, transparent 40%) + --link-underline-special: color-mix(in hsl, currentColor, transparent 40%); } hr { @@ -190,9 +190,7 @@ pre { code, pre { - font-family: "SF Mono", Menlo, "Courier New", Courier, monospace; - font-size: 0.85rem; - letter-spacing: -0.027em; + font-family: ui-monospace, Menlo, "Courier New", Courier, monospace; -webkit-hyphens: none; } @@ -272,7 +270,6 @@ figure { } figcaption { - font-size: 14px; line-height: 1.3em; } @@ -339,7 +336,6 @@ blockquote { font-size: 66%; } -/* Newsfoot theme for light mode (default) */ .newsfoot-footnote-popover { background: #555; box-shadow: 0 2px 4px rgba(255, 255, 255, 0.5), 0 3px 6px rgba(255, 255, 255, 0.25); @@ -382,7 +378,7 @@ a.footnote:hover, -webkit-hyphens: auto; -webkit-text-size-adjust: none; font-family: Charter, Georgia, sans-serif; - font-size: [[font-size]]px; + font-size: calc([[font-size]]px + 2px); } .articleTitle h1 { @@ -397,6 +393,15 @@ a.footnote:hover, .nnw-overflow table { border: 1px solid var(--secondary-accent-color); } + + code, + pre { + font-size: calc([[font-size]]px - 2px); + } + + figcaption { + font-size: calc([[font-size]]px + 0px); + } } /* macOS Specific */ @@ -413,22 +418,67 @@ a.footnote:hover, font-size: 14px; } + .smallText code, + .smallText pre { + font-size: 10px; + } + + .smallText figcaption { + font-size: 12px; + } + .mediumText { font-size: 16px; } + .mediumText code, + .mediumText pre { + font-size: 12px; + } + + .mediumText figcaption { + font-size: 14px; + } + .largeText { font-size: 18px; } + .largeText code, + .largeText pre { + font-size: 14px; + } + + .largeText figcaption { + font-size: 16px; + } + .xlargeText { font-size: 20px; } + .xlargeText code, + .xlargeText pre { + font-size: 16px; + } + + .xlargeText figcaption { + font-size: 18px; + } + .xxlargeText { font-size: 22px; } + .xxlargeText code, + .xxlargeText pre { + font-size: 18px; + } + + .xxlargeText figcaption { + font-size: 20px; + } + pre { border: 1px solid var(--primary-accent-color); padding: 10px; @@ -450,7 +500,7 @@ a.footnote:hover, } [href]:hover, - .headerContainer a[href]:hover { +.headerContainer a[href]:hover { text-shadow: 0 1px rgba(0, 0, 0, 2); opacity: 0.8; color: color-mix(in hsl, var(--link-underline-color), firebrick 70%); From 85d83b7589cae897c87495de39a48c0bb4f7e6ab Mon Sep 17 00:00:00 2001 From: Justin Reeves Date: Sun, 20 Sep 2026 21:51:14 -0500 Subject: [PATCH 2/2] Fix orphans in table cells --- Themes/Tiqoe Dark.nnwtheme/stylesheet.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Themes/Tiqoe Dark.nnwtheme/stylesheet.css b/Themes/Tiqoe Dark.nnwtheme/stylesheet.css index ee6f3b0ff..92f73e426 100644 --- a/Themes/Tiqoe Dark.nnwtheme/stylesheet.css +++ b/Themes/Tiqoe Dark.nnwtheme/stylesheet.css @@ -223,6 +223,10 @@ pre { border-top: none; border-left: none; padding: 5px; + + &:has(sup) { + text-wrap: pretty; + } } .nnw-overflow tr :matches(td, th):last-child {