From f7851f77015a26a37780df0e425e4943eab5f7bb Mon Sep 17 00:00:00 2001 From: mjfernez Date: Sun, 14 Nov 2021 17:24:46 -0500 Subject: Adjust headings. Add meta tags --- static/main.css | 66 +++++++++++++++++++++++++++++------------------------ templates/base.html | 15 +++++++++--- 2 files changed, 48 insertions(+), 33 deletions(-) diff --git a/static/main.css b/static/main.css index 3834e8b..eeaeffc 100644 --- a/static/main.css +++ b/static/main.css @@ -1,11 +1,12 @@ -h1,h2,h3,h4 { +h1,h2 { text-align: center; - margin: 0.25em auto; + margin: 1% auto; white-space: normal; } h3,h4 { text-align: justify; - margin: 0.25em auto; + margin: 1% auto; + white-space: normal; } h3.center { text-align: center; @@ -20,11 +21,11 @@ h2 { } h3 { font-size: 150%; - color: #808080; + color: #404040; } h4 { font-size: 125%; - color: #bfbfbf; + color: #808080; } body { margin: 0 auto; @@ -34,26 +35,6 @@ body { white-space: normal; font-size: 120%; } - -.navbar { - text-align: center; - max-width: 95%; - display: block; -} -.content { - text-align: justify; - max-width: 85%; - display: inline-block; -} -.license { - font-size: 50%; - text-align: center; - max-width: 35%; - display: block; -} -.longboi { - word-wrap: break-word; -} p { margin-top: 1.5%; margin-bottom: 1.5%; @@ -68,13 +49,14 @@ code { white-space: pre-wrap; word-wrap: break-all; } - -table { - border-spacing: 0 10px; +th { + text-align: center; + padding: 1%; + background-color: #cccccc; } td { - text-align: left; - padding: 2%; + text-align: center; + padding: 1%; } img { max-width: 100%; @@ -84,6 +66,30 @@ img { img.icon { filter: invert(50%); } +iframe { + border: 0; +} + +.navbar { + text-align: center; + max-width: 95%; + display: block; +} +.content { + text-align: justify; + max-width: 85%; + display: inline-block; +} +.license { + font-size: 50%; + text-align: center; + max-width: 35%; + display: block; +} +.longboi { + word-wrap: break-word; +} + @media screen and (max-device-width: 480px) { body { max-width: 100%; diff --git a/templates/base.html b/templates/base.html index 1509d5c..2515795 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,9 +3,18 @@ {{ domain }}/{{ title }} - + + + + {% block css%} + {% endblock %}
@@ -18,7 +27,7 @@ {% endfor %} -   +  

{{ title }}

@@ -30,7 +39,7 @@

Go up to parent folder ({{ parent_dir }})

{% endif %} - {% if last_update %} + {% if last_update %}

Last update: {{ last_update }} -4:00 UTC

{% endif %}
{% include 'site/license.html' %}
-- cgit v1.2.3