From 046ec8d7e528dbef753e7b19ab4b38756c81cdca Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Fri, 10 Jul 2020 10:22:54 -0400 Subject: Fold search form into nav CSS is kind of almost working for me here. I await its inevitable betrayal. --- default.css | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'default.css') 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; } -- cgit 1.4.1