From b39758cf6c6d4b1b8de99e51cbff8120cff63a78 Mon Sep 17 00:00:00 2001 From: Radiohotline Date: Tue, 26 May 2026 12:30:17 +0000 Subject: css --- _werc/pub/style.css | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 _werc/pub/style.css (limited to '_werc/pub/style.css') diff --git a/_werc/pub/style.css b/_werc/pub/style.css new file mode 100644 index 0000000..99ac649 --- /dev/null +++ b/_werc/pub/style.css @@ -0,0 +1,47 @@ +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; } + +/* cut here to leave vanity behind */ + +body { margin:0; padding: 0; font-family: Helvetica, Verdana, Arial, 'Liberation Sans', FreeSans, sans-serif; background-color: #ffffea; } +a { text-decoration: none; color: } +a:hover { text-decoration: underline; } +.thisPage { color: black; } + +/* header and top bar */ +header nav { background-color: #888844; color: black; padding: 0.3em; border-bottom: 2px solid black; font-size: 91%; } +header h1 { background-color: #cccc88; color: black; margin: 0; border-bottom: 2px solid black; font-weight: normal; padding: 0.25ex; font-size: 233%; } +header a:hover { text-decoration: none; } + +/* sidebar */ +body > nav { padding: 0; } +body > nav > div a { display: block; text-transform: capitalize; font-weight: bold; padding: 0.25em 1ex 0.25em 2mm; font-size: 110%} +body > nav > div a:hover { color: white; background-color: #448888; border-left: black solid 0.2em; text-decoration: none; } +body > nav > div p { font-weight: bold; margin: 0 0 0.5em 2mm; padding: 1em 0 0 0; } + +/* main copy */ +article { padding: 0 0 5vh 1vw; } +article h1, article h2 { font-weight: bold; margin: 2em 0 0 0; border-bottom: 2px solid black; } +article h3, article h4, article h5 { font-weight: bold; margin: 2em 0 0 0; } +article h6, article h7, article h8 { font-weight: bold; margin: 2em 0 0 0; } +article a { color: black; } +article a:hover { color: #448888; } +article pre { font-size: 1.2em; } + +/* footer */ +footer a { color: inherit; } +footer div { padding: 1em; } + +/* tables */ +table { border: 1px solid rgba(128,128,128,0.5); padding: 0; } +th { color: white; background-color: rgb(100,135,220); } +tr:nth-child(odd) { background-color: rgba(128,128,128,0.1) } -- cgit v1.3