aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicksphere.ch>2022-11-09 00:00:00 +0000
committerNicholas Johnson <nick@nicksphere.ch>2022-11-09 00:00:00 +0000
commit90f6e85f8689f09644b3a060541d0d5b3defa2e0f39a910e2212bc3ededeef89 (patch)
tree41288bf6ebefdbf916d7f4b6e2e1683ae7f658e03b1536179d9d25a826545473 /assets
parentd2df941fdaa188ece3f43fd8c47b9234e10bbcd6ca2fe4636d9ab5da18cdb336 (diff)
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.
Diffstat (limited to 'assets')
-rw-r--r--assets/css/style.css111
1 files changed, 111 insertions, 0 deletions
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 <https://www.gnu.org/licenses/>.
+*/
+
+* {
+ 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;
+ }
+}