From 4c1527c49149ade0caa09b7833e7fabc0f877cab Mon Sep 17 00:00:00 2001 From: Edward Dewhurst Date: Wed, 18 Dec 2024 08:51:56 +0000 Subject: [PATCH] Update styles --- src/2022/08/13/GIT_SSH_COMMAND.html | 5 ++ src/2024/04/29/simple_baguette.html | 5 ++ src/2024/12/11/variable_is_set.html | 5 ++ src/index.html | 51 ++++++++++---------- src/style.css | 74 ++++++++++++++++++----------- 5 files changed, 88 insertions(+), 52 deletions(-) diff --git a/src/2022/08/13/GIT_SSH_COMMAND.html b/src/2022/08/13/GIT_SSH_COMMAND.html index eae581a..0089bc7 100644 --- a/src/2022/08/13/GIT_SSH_COMMAND.html +++ b/src/2022/08/13/GIT_SSH_COMMAND.html @@ -14,6 +14,11 @@

For Me

+
diff --git a/src/2024/04/29/simple_baguette.html b/src/2024/04/29/simple_baguette.html index b212759..beb8e17 100644 --- a/src/2024/04/29/simple_baguette.html +++ b/src/2024/04/29/simple_baguette.html @@ -14,6 +14,11 @@

For Me

+
diff --git a/src/2024/12/11/variable_is_set.html b/src/2024/12/11/variable_is_set.html index bfd5ccf..64c9a85 100644 --- a/src/2024/12/11/variable_is_set.html +++ b/src/2024/12/11/variable_is_set.html @@ -16,6 +16,11 @@

For Me

+
- + + \ No newline at end of file diff --git a/src/style.css b/src/style.css index fc1eb91..cff9a67 100644 --- a/src/style.css +++ b/src/style.css @@ -3,48 +3,68 @@ } html { + font-family: monospace; font-size: 100%; } -header[role=banner] { - margin: auto; - max-width: 45em; +body { + margin: 1em; } -header[role=banner] h1 { - background-color: #237; - display: inline-block; - font-family: serif; - font-size: 300%; - padding: 0.5em; +a { + color: blue; + text-decoration: none; } -header[role=banner] h1 a { - color: white; - text-decoration: none; +li { + list-style: none; + padding-bottom: 0.3em; +} + +li::marker { + content: '* '; } -code { +time { + color: #595959; + font-style: italic; +} + +pre { + color: #595959; + margin-left: 2em; white-space: pre-wrap; } -main { - font-family: sans-serif; - line-height: 1.3; - margin: auto; - max-width: 40em; +header { + display: flex; + align-items: center; } -a { - color: #237; - text-decoration: none; +nav.breadcrumbs { } -time { - color: slategray; +nav.breadcrumbs ol { + list-style: none; } -pre { - text-wrap: wrap; - margin-left: 1em; -} \ No newline at end of file +nav.breadcrumbs li { + display: inline-block; + line-height: 1; + padding-bottom: none; +} + +nav.breadcrumbs li::marker { + content: none; +} + +nav.breadcrumbs li:not(:nth-last-of-type(1))::after { + content: ' >'; +} + +@media screen and (width <= 600px) { + html { + font-size: 130%; + line-height: 1.5; + } +}