X-Git-Url: https://git.chrismorgan.info/gitweb/blobdiff_plain/a21510b946408b22da99ab135f676e9972ca9455..1e764923eb029c7fbe20af5935905f7ab173cf3e:/static/gitweb.css?ds=sidebyside diff --git a/static/gitweb.css b/static/gitweb.css index 3212601..e549474 100644 --- a/static/gitweb.css +++ b/static/gitweb.css @@ -1,11 +1,35 @@ +html, +body { + height: 100%; +} + body { font-family: sans-serif; - font-size: small; - border: solid #d9d8d1; - border-width: 1px; - margin: 10px; + margin: 0; background-color: #ffffff; color: #000000; + /*display: flex; + flex-direction: column;*/ +} + +.cards { + display: flex; + flex-direction: column; + gap: 1rem; + margin: 1rem; +} + +.cards > article { + border: 1px solid #ddd; +} + +.cards > article > .header > .title { + --card-title-pad-left: 0.5rem; + padding: 0.25rem 0.5rem; +} + +.cards > article > table { + padding: 0; } a { @@ -41,67 +65,85 @@ a.list img.avatar { border-style: none; } -div.page_header { - height: 25px; - padding: 8px; +.page_header { + /* Subtracting the border-top, because otherwise the underlines on/below links start to unbalance it. */ + padding: 0.75rem 1rem 1rem; font-size: 150%; + border-top: 0.25rem solid #f71; + background-color: #f716; +} + +.page_header a { font-weight: bold; - background-color: #d9d8d1; } -div.page_header a:visited, a.header { +.page_header a:visited, a.header { color: #0000cc; } -div.page_header a:hover { +.page_header a:hover { color: #880000; } +/* .page_header + nav.page_subhead now wraps .page_nav and the search form, which is reduced from