new style.css

This commit is contained in:
semblanceofsense 2025-02-22 14:40:09 -07:00
parent f883bce5c3
commit 1715c87983
2 changed files with 14 additions and 3 deletions

14
_werc/pub/style.css Normal file
View File

@ -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; }

View File

@ -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 }