From e0fc47beb5f64fd508b2504ca4ddd50c0ca1fc46 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 24 Jul 2023 23:14:26 -0700 Subject: [PATCH] Update visuals of title and subtitle --- src/less/include/components.less | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/less/include/components.less b/src/less/include/components.less index c396e1b..78ff371 100644 --- a/src/less/include/components.less +++ b/src/less/include/components.less @@ -67,7 +67,7 @@ pre.src { .subtitle { font-size: 0.7rem; margin: 0; - text-align: center; + text-align: right; padding: 0; margin: 0; line-height: 1; @@ -76,6 +76,14 @@ pre.src { .title-header { text-align: center; margin: 0; - font-size: 1rem; - line-height: 1; + + border-bottom-width: 1px; + border-bottom-style: solid; + + @media (prefers-color-scheme: dark) { + border-bottom-color: @dark-foreground; + } + @media (prefers-color-scheme: light) { + border-bottom-color: @light-foreground; + } }