From ffaf559823842b8643c55c53aeab6ac6c25c1f4b Mon Sep 17 00:00:00 2001 From: mjfernez Date: Wed, 20 Dec 2023 17:08:29 -0500 Subject: Better fix for mobile view --- static/main.css | 31 +++++-------------------------- templates/base.html | 4 +++- 2 files changed, 8 insertions(+), 27 deletions(-) diff --git a/static/main.css b/static/main.css index cbc338e..18bebbc 100644 --- a/static/main.css +++ b/static/main.css @@ -96,35 +96,14 @@ iframe { .longboi { word-wrap: break-word; } -/* + @media screen and (max-device-width: 480px) { - h1 { - font-size: 150%; - } - h2 { - font-size: 125%; - } - h3 { - font-size: 115%; - } - h4 { - font-size: 100%; - } - body { - max-width: 100%; - font-size: 100%; - } .license { font-size: 0; } - p { - margin-top: 5%; - margin-bottom: 5%; - } - code.longboi { + .longboi { + word-wrap: break-word; + font-size: 65%; } - .content { - text-align: left; - } -}*/ +} diff --git a/templates/base.html b/templates/base.html index 7862e3f..d1d0c08 100644 --- a/templates/base.html +++ b/templates/base.html @@ -14,7 +14,9 @@ mjfernez, mjfernet, mike, fernez, mikefernez, michael, Fernez, Mike, Mike Fernez, Michael Fernez"/> - + + {% block css%} -- cgit v1.2.3