From: Max Value Date: Mon, 4 May 2026 12:36:43 +0000 (+0100) Subject: Added EB Garamond and made top submit stick to top X-Git-Url: https://git.ozva.co.uk/?a=commitdiff_plain;h=ce5c7f8a101844ac53d177d281047731f68c7d9e;p=delta-velorum Added EB Garamond and made top submit stick to top --- diff --git a/argo/static/admin.css b/argo/static/admin.css index 8ec2ddc..aee1ec6 100644 --- a/argo/static/admin.css +++ b/argo/static/admin.css @@ -2,6 +2,11 @@ :root { --nav-background: lightgray; + font-family: sans-serif; +} +h1, h2, h3, h4, h5, h6 { + font-family: "EB Garamond", serif; + font-size-adjust: 0.5; } body > * { @@ -20,6 +25,13 @@ main { left: min(20%, calc(350px)); } +/* TOP SUBMIT BUTTON */ + +input[type="submit"]:first-of-type { + outline: 15px solid white; + position: sticky; top: 0px; +} + /* THE OPTIONS GRID */ .optionsGrid { diff --git a/argo/static/andika.css b/argo/static/andika.css index 0f268e5..55af682 100644 --- a/argo/static/andika.css +++ b/argo/static/andika.css @@ -49,7 +49,3 @@ Open Font License, Version 1.1 (https://openfontlicense.org). font-style: italic; src: url(/static/fonts/Andika-BoldItalic.woff2); } - -:root { - font-family: "Andika", sans-serif; -} diff --git a/argo/static/fonts/EBGaramond-Bold.woff2 b/argo/static/fonts/EBGaramond-Bold.woff2 new file mode 100644 index 0000000..a437c8d Binary files /dev/null and b/argo/static/fonts/EBGaramond-Bold.woff2 differ diff --git a/argo/static/fonts/EBGaramond-BoldItalic.woff2 b/argo/static/fonts/EBGaramond-BoldItalic.woff2 new file mode 100644 index 0000000..e3fe0f5 Binary files /dev/null and b/argo/static/fonts/EBGaramond-BoldItalic.woff2 differ diff --git a/argo/static/fonts/EBGaramond-ExtraBold.woff2 b/argo/static/fonts/EBGaramond-ExtraBold.woff2 new file mode 100644 index 0000000..d17f262 Binary files /dev/null and b/argo/static/fonts/EBGaramond-ExtraBold.woff2 differ diff --git a/argo/static/fonts/EBGaramond-ExtraBoldItalic.woff2 b/argo/static/fonts/EBGaramond-ExtraBoldItalic.woff2 new file mode 100644 index 0000000..a65690b Binary files /dev/null and b/argo/static/fonts/EBGaramond-ExtraBoldItalic.woff2 differ diff --git a/argo/static/fonts/EBGaramond-Italic.woff2 b/argo/static/fonts/EBGaramond-Italic.woff2 new file mode 100644 index 0000000..da98825 Binary files /dev/null and b/argo/static/fonts/EBGaramond-Italic.woff2 differ diff --git a/argo/static/fonts/EBGaramond-Medium.woff2 b/argo/static/fonts/EBGaramond-Medium.woff2 new file mode 100644 index 0000000..00651d5 Binary files /dev/null and b/argo/static/fonts/EBGaramond-Medium.woff2 differ diff --git a/argo/static/fonts/EBGaramond-MediumItalic.woff2 b/argo/static/fonts/EBGaramond-MediumItalic.woff2 new file mode 100644 index 0000000..6ae00ce Binary files /dev/null and b/argo/static/fonts/EBGaramond-MediumItalic.woff2 differ diff --git a/argo/static/fonts/EBGaramond-Regular.woff2 b/argo/static/fonts/EBGaramond-Regular.woff2 new file mode 100644 index 0000000..c51dbd3 Binary files /dev/null and b/argo/static/fonts/EBGaramond-Regular.woff2 differ diff --git a/argo/static/fonts/EBGaramond-SemiBold.woff2 b/argo/static/fonts/EBGaramond-SemiBold.woff2 new file mode 100644 index 0000000..ec036e6 Binary files /dev/null and b/argo/static/fonts/EBGaramond-SemiBold.woff2 differ diff --git a/argo/static/fonts/EBGaramond-SemiBoldItalic.woff2 b/argo/static/fonts/EBGaramond-SemiBoldItalic.woff2 new file mode 100644 index 0000000..0f361e2 Binary files /dev/null and b/argo/static/fonts/EBGaramond-SemiBoldItalic.woff2 differ diff --git a/argo/static/garamond.css b/argo/static/garamond.css new file mode 100644 index 0000000..27e7718 --- /dev/null +++ b/argo/static/garamond.css @@ -0,0 +1,49 @@ +/* + * https://github.com/octaviopardo/EBGaramond12 + * This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at http://scripts.sil.org/OFL +*/ + +@font-face { + font-family: "EB Garamond"; + font-weight: 400; + src: url(/static/fonts/EBGaramond-Regular.woff2); +} +@font-face { + font-family: "EB Garamond"; + font-weight: 500; + src: url(/static/fonts/EBGaramond-Medium.woff2); +} +@font-face { + font-family: "EB Garamond"; + font-weight: 600; + src: url(/static/fonts/EBGaramond-SemiBold.woff2); +} +@font-face { + font-family: "EB Garamond"; + font-weight: 700; + src: url(/static/fonts/EBGaramond-Bold.woff2); +} +@font-face { + font-family: "EB Garamond"; + font-weight: 400; + font-style: italic; + src: url(/static/fonts/EBGaramond-Italic.woff2); +} +@font-face { + font-family: "EB Garamond"; + font-weight: 500; + font-style: italic; + src: url(/static/fonts/EBGaramond-MediumItalic.woff2); +} +@font-face { + font-family: "EB Garamond"; + font-weight: 600; + font-style: italic; + src: url(/static/fonts/EBGaramond-SemiBoldItalic.woff2); +} +@font-face { + font-family: "EB Garamond"; + font-weight: 700; + font-style: italic; + src: url(/static/fonts/EBGaramond-BoldItalic.woff2); +} diff --git a/argo/templates/index.html b/argo/templates/index.html index af8760e..a09db01 100644 --- a/argo/templates/index.html +++ b/argo/templates/index.html @@ -3,6 +3,7 @@ + {# ELEMENT STYLING IMPORTS #}