From 90f6e85f8689f09644b3a060541d0d5b3defa2e0f39a910e2212bc3ededeef89 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Wed, 9 Nov 2022 00:00:00 +0000 Subject: Remove Python scripts Using Hugo's configDir is more elegant. css/ was moved to assets so it isn't published when processing Gemini. Files in static/ are always published. Files in assets/ are only published when invoked in a template. --- assets/css/style.css | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 assets/css/style.css (limited to 'assets/css') diff --git a/assets/css/style.css b/assets/css/style.css new file mode 100644 index 0000000..913eab6 --- /dev/null +++ b/assets/css/style.css @@ -0,0 +1,111 @@ +/* + nicksphere-gmi Generates a Gemini capsule from existing files + Copyright (C) 2021 Nicholas Johnson + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +* { + margin: 0; + padding: 0; + font-size: 18px; +} + +body { + line-height: 1.4; + background-color: black; + color: lightgray; + padding: 30px; + font-family: Arial, Helvetica, sans-serif; + margin: 0 auto; /* remove default styling */ +} + +@media only screen and (min-width: 40em) { + body { + max-width: 40em; + } +} + +h1 { color: #ff0000; font-size: 22px; } +h2 { color: #66ff00; font-size: 20px; } +h3 { color: #ff007f; font-size: 18px; } +h4 { color: #ff007f; font-size: 18px; } +h5 { color: #ff007f; font-size: 18px; } +h6 { color: #ff007f; font-size: 18px; } + +p { + overflow-wrap: break-word; +} + +a { + color: #0091ea; + text-decoration: none; /* remove default styling */ +} + +a:hover { + color: black; + background-color: #004eff; +} + +pre { + color: #ffffba; + overflow: auto; + line-height: normal; +} + +body > header { + margin-bottom: 2em; +} + +#logo { + line-height: normal; +} + +body > footer { + margin-top: 2em; +} + +body > footer p { + margin-bottom: 0em; +} + +blockquote p { + margin-bottom: 0em; +} + +ol { + list-style: decimal inside none; +} + +ul { + list-style: disc inside none; +} + +p, pre, ul, ol, blockquote { + margin-bottom: 1.4em; +} + +nav ul { + list-style: none; +} + +#return { + margin-bottom: 2em; +} + +@media (pointer: coarse) { + .navlink { + margin-bottom: 1em; + } +} -- cgit v1.2.3