From 8e7133bf1c87ac07921ec07e4d5a4f4702f74b5b Mon Sep 17 00:00:00 2001 From: jetstream0 <49297268+jetstream0@users.noreply.github.com> Date: Wed, 2 Aug 2023 09:33:58 -0700 Subject: [PATCH] css fixes --- static/styles/global.css | 7 +++++-- static/styles/index.css | 2 +- templates/components/makoto-styling.html | 10 +++++++--- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/static/styles/global.css b/static/styles/global.css index 9504cdc..4013a14 100644 --- a/static/styles/global.css +++ b/static/styles/global.css @@ -3,6 +3,10 @@ body, html { padding: 0; } +body { + word-break: break-all; +} + #main { box-sizing: border-box; min-height: 100vh; @@ -43,8 +47,7 @@ p { h1, h2, h3, h4, h5, h6 { font-family: Verdana, sans-serif; - margin: 0; - margin-bottom: 5px; + margin: 10px 0px 5px 0px; } ul { diff --git a/static/styles/index.css b/static/styles/index.css index 41ca6c8..e723212 100644 --- a/static/styles/index.css +++ b/static/styles/index.css @@ -4,7 +4,7 @@ h2 { #fancy-title:checked ~ h2 { color: white; - padding-right: 0px 4px; + padding-right: 4px; background-color: dodgerblue; text-shadow: 1px 1px 1px gray, 4px 4px 1px blue; } diff --git a/templates/components/makoto-styling.html b/templates/components/makoto-styling.html index c0d13d9..2c86598 100644 --- a/templates/components/makoto-styling.html +++ b/templates/components/makoto-styling.html @@ -19,17 +19,21 @@ word-break: break-all; border-radius: 3px; } - + img { max-width: 85%; } - + table { border-collapse: collapse; } - + th, td { padding: 2px 5px; border: 1px solid black; } + + sup { + font-size: 0.75rem; + } \ No newline at end of file