X-Git-Url: https://git.distorted.org.uk/~mdw/chopwood/blobdiff_plain/9140b588b71496b427f3723faf9713bb43b147bf..HEAD:/chpwd.css diff --git a/chpwd.css b/chpwd.css index 2ca07d4..caa9375 100644 --- a/chpwd.css +++ b/chpwd.css @@ -26,29 +26,39 @@ /*----- General typesetting and layout -----------------------------------*/ +body { + background: white; + color: black; + margin: 1ex 2em; +} + h1 { - border-bottom-style: solid; - border-bottom-width: medium; - padding-bottom: 1ex; + border-bottom: thick solid; + padding: 8px 0; + margin-bottom: 24px; } h2 { - border-top-style: solid; - border-top-width: thin; + border-top: thin solid; padding-top: 1ex; - margin-top: 4ex; + margin-top: 3ex; } h1 + h2, h2:first-child { - border-top-style: hidden; + border-top: none; + padding-top: 0; margin-top: inherit; } +h1, h2 { + font-family: sans-serif; + font-weight: bold; +} + div.credits { - border-top-style: solid; - border-top-width: thin; - padding-top: 0.5ex; - margin-top: 2ex; + border-top: thin solid; + padding-top: 1ex; + margin-top: 3.43ex; text-align: right; font-size: small; font-style: italic; @@ -61,6 +71,23 @@ div.warn { background: red; } +a { text-decoration: none; } +a:link { color: blue; } +a:link:active, a:visited { color: darkblue; } +a:link:hover, a:visited:hover { background: #ccc; } + +dl { display: block; } +dt { + font-weight: bold; + width: 9em; + clear: left; + float: left; +} +dd { + margin: 1.5ex 0 1.5ex 10em; + display: block; +} + /*----- Form layout -------------------------------------------------------*/ /* Common form validation styling. */