From dc42ede94e2a1bfb3077ce81d4508686202c9e16 Mon Sep 17 00:00:00 2001 From: Rhiannon Morris Date: Tue, 4 Aug 2020 18:59:38 +0200 Subject: [PATCH] some style fixes --- style/shiny/base.css | 21 ++++++++++++--------- style/shiny/single.css | 1 - 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/style/shiny/base.css b/style/shiny/base.css index f480d00..99c5a51 100644 --- a/style/shiny/base.css +++ b/style/shiny/base.css @@ -29,9 +29,11 @@ header { text-align: center; } -h1, h2 { font-weight: 100; } +h1 { font-weight: 100; } +h2, h3, h4 { font-weight: 400; } h1 { font-size: 300%; } h2 { font-size: 125%; } +h3 { font-size: 110%; } body { --shadow: hsl(42deg, 82%, 90%, 75%); @@ -57,7 +59,7 @@ header h1 { a { color: inherit; - text-decoration: single underline; + text-decoration: dotted underline; text-decoration-thickness: 2px; } @@ -70,7 +72,6 @@ a:focus { footer { font-weight: 500; - font-size: 80%; } @@ -146,6 +147,9 @@ footer { } +summary { + cursor: pointer; +} summary > * { display: inline; @@ -171,6 +175,11 @@ summary:focus-within { --text-col: hsl(55deg, 60%, 90%); } + body { + --shadow: hsl(42deg, 82%, 90%, 20%); + --border-col: black; + } + @media (prefers-contrast: high) { :root { --text-col: white; @@ -183,17 +192,11 @@ summary:focus-within { background: unset; } } - - body { - --shadow: hsl(42deg, 82%, 90%, 20%); - --border-col: black; - } } @media (pointer: coarse) { .buttonbar { font-size: 200%; - border-width: 2px; } } diff --git a/style/shiny/single.css b/style/shiny/single.css index 955e3d4..bb1e8ec 100644 --- a/style/shiny/single.css +++ b/style/shiny/single.css @@ -92,7 +92,6 @@ body { } footer { - font-size: 90%; text-align: center; margin-top: 1em; }