# HG changeset patch # User Paper # Date 1717635764 14400 # Node ID 5914d06f72b44204c48bf3ef103dc41785592ae0 # Parent 06fd6ffefb58c22684ca74286837c42441a4250f css: tweak styles to make things work on older browsers the other thing was hacky; this is weirder, but makes a tiny bit more sense diff -r 06fd6ffefb58 -r 5914d06f72b4 _layouts/default.html --- a/_layouts/default.html Mon May 20 05:04:46 2024 -0400 +++ b/_layouts/default.html Wed Jun 05 21:02:44 2024 -0400 @@ -38,8 +38,10 @@ {% include navigation.html %} -
+
{{ content }} + +
\ No newline at end of file diff -r 06fd6ffefb58 -r 5914d06f72b4 css/style.css --- a/css/style.css Mon May 20 05:04:46 2024 -0400 +++ b/css/style.css Wed Jun 05 21:02:44 2024 -0400 @@ -79,16 +79,20 @@ margin: 0; } +/* this uglifies the HTML, but it was already fairly ugly to begin with */ +.catchall { + margin: 0 auto; + padding: 1em 1em; +} + /* creates a box to store text or whatever in */ .content { background-color: rgba(0, 0, 0, 0.6); - margin-inline: max(1em, 50% - 46.88em/2); + + max-width: 750px; - /* essentially equivalent to `margin: auto;` - * except it has a minimum value of 1em to make it - * look nice on mobile - */ - padding: 1em; + margin: 0 auto; + padding: 1em 1em; } /* headers */