From 5e796cd6d21ad9fb283f6fac7f3d41562a1dd0a3 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Sat, 20 May 2023 13:05:16 -0700 Subject: [PATCH] Legacy style --- static/style.css | 71 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 static/style.css diff --git a/static/style.css b/static/style.css new file mode 100644 index 0000000..df34403 --- /dev/null +++ b/static/style.css @@ -0,0 +1,71 @@ +@import url('https://fonts.googleapis.com/css2?family=Gentium+Basic:ital,wght@0,400;0,700;1,400;1,700&family=Gotu&display=swap'); + +/* Legacy style for clade listings */ + +header, body, footer { + max-width: 960px; + padding: 1rem; + margin: 0 auto; +} + +header, footer { + font-family: "Gotu", sans-serif; +} + +header { + border-bottom: 1px dotted black; + margin-bottom: 1rem; + padding-bottom: 0rem; +} + +footer { + margin-top: 1rem; + padding-top: 0rem; + border-top: 1px dotted black; +} + +main { + font-family: "Gentium Basic", serif; +} + +h1 span { + display: block; + font-size: 80%; +} + +ul.clade > li { + list-style-type: '\251C'; + padding-left: 0.5rem; + margin-left: 0rem; +} + +ul.clade > li:last-of-type { + list-style-type: '\2514'; +} + +ul.clade li ul.clade { + padding-left: 1rem; + margin-left: calc(-1rem + 1pt); + border-left: 2pt dotted black; +} + +ul.clade li:last-of-type > ul.clade { + margin-left: calc(-1rem + 2pt); + border-left: none; +} + +div.notification { + padding: 1rem; + background-color: #feeeee; + border: 2px solid #fddddd; + border-radius: 2px; + text-align: center; +} + +table { + width: 100%; +} + +thead { + background-color: #eeeeee; +}