From 9272d1b1b63984fcf0cfab8c27cdc271b0fe29c5 Mon Sep 17 00:00:00 2001 From: mjfernez Date: Sun, 7 Nov 2021 15:37:34 -0500 Subject: Commit all local files for mjfer.net Excepting files in site-files.git --- static/main.css | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'static/main.css') diff --git a/static/main.css b/static/main.css index 4db48f9..3e60bff 100644 --- a/static/main.css +++ b/static/main.css @@ -7,7 +7,6 @@ h3,h4 { text-align: justify; margin: 0.25em auto; } -/* class to optionally center h3 when we want it */ h3.center { text-align: center; } @@ -52,8 +51,7 @@ body { max-width: 35%; display: block; } -/* Use for long text which doesnt wrap nicely */ -.long { +.longboi { word-wrap: break-word; } p { @@ -70,6 +68,7 @@ code { white-space: pre-wrap; word-wrap: break-all; } + table { border-spacing: 0 10px; } @@ -81,20 +80,23 @@ img { height: auto; width: auto; } -/*mobile*/ +img.icon { + filter: invert(50%); +} +/* some Stallman trickery for making mobile text bigger */ @media screen and (max-device-width: 480px) { - body { + body { max-width: 100%; font-size: 90%; - } - .license { + } + .license { font-size: 0; - } - p { + } + p { margin-top: 5%; margin-bottom: 5%; - } - code.long { + } + code.longboi { font-size: 65%; } } -- cgit v1.2.3