diff options
author | June McEnroe <june@causal.agency> | 2020-07-10 10:22:54 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-07-10 10:22:54 -0400 |
commit | 046ec8d7e528dbef753e7b19ab4b38756c81cdca (patch) | |
tree | 04ed66c6e16d01f7bfa5f3f2deaebeff7871de03 /default.css | |
parent | Serve stylesheet separately, with caching (diff) | |
download | scooper-046ec8d7e528dbef753e7b19ab4b38756c81cdca.tar.gz scooper-046ec8d7e528dbef753e7b19ab4b38756c81cdca.zip |
Fold search form into nav
CSS is kind of almost working for me here. I await its inevitable betrayal.
Diffstat (limited to '')
-rw-r--r-- | default.css | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/default.css b/default.css index edd2af3..5ed641e 100644 --- a/default.css +++ b/default.css @@ -5,4 +5,38 @@ html { body { max-width: 130ch; margin: auto; + padding: 1em 1ch; +} + +h1 { + margin: 0; +} + +nav { + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: space-between; + margin-bottom: 1em; +} + +nav ol { + margin: 1em 0 0; + padding: 0; + list-style-type: none; +} +nav ol li { + display: inline; +} +nav ol li::before { + content: '/'; +} + +nav form { + margin-top: 1em; +} +nav form span[title] { + text-decoration: underline; + text-decoration-style: dotted; + cursor: help; } |