From 1715c87983b5a19af37c3813d083988dc4106b20 Mon Sep 17 00:00:00 2001 From: semblanceofsense Date: Sat, 22 Feb 2025 14:40:09 -0700 Subject: [PATCH] new style.css --- _werc/pub/style.css | 14 ++++++++++++++ _werc/pub/style/style.css | 3 --- 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 _werc/pub/style.css diff --git a/_werc/pub/style.css b/_werc/pub/style.css new file mode 100644 index 0000000..89d62a7 --- /dev/null +++ b/_werc/pub/style.css @@ -0,0 +1,14 @@ +body { display: flex; flex-wrap: wrap; font-family: sans; } +header { flex-basis: 100%; flex-shrink: 0; } +article { flex-basis: 60%; padding-left: 1em; } +footer { flex-basis: 100%; flex-shrink: 0; } +header nav { display: flex; justify-content: space-between; } +nav a, header a { text-decoration: none ; color: inherit; } +header h1 span { margin-left: 1em; font-size: 50%; font-style: italic; } +body > nav { flex-basis: content; padding-right: 1vw; min-width: 16em; } +nav ul { display: flex; flex-direction: column; list-style-type: none; list-style-position: outside; padding-left: 0; } +nav li ul { padding-left: 0.6em } +footer { display: flex; justify-content: space-between; } + +/* header and top bar */ +header h1 { background-color: #cc99ff; } diff --git a/_werc/pub/style/style.css b/_werc/pub/style/style.css index b8da61d..91f060e 100644 --- a/_werc/pub/style/style.css +++ b/_werc/pub/style/style.css @@ -9,6 +9,3 @@ body > nav { flex-basis: content; padding-right: 1vw; min-width: 16em; } nav ul { display: flex; flex-direction: column; list-style-type: none; list-style-position: outside; padding-left: 0; } nav li ul { padding-left: 0.6em } footer { display: flex; justify-content: space-between; } - -/* header and top bar */ -header h1 { background: #cc99ff }