]> git.cworth.org Git - lmno.games/blobdiff - style.css
style: Apply "box-sizing: border-box" globally
[lmno.games] / style.css
index baf35bf59abe9367432554e01f6ecb7b3fa5ef9f..b770986f8164b899764069f1e9f736d32a5338cd 100644 (file)
--- a/style.css
+++ b/style.css
@@ -1,3 +1,8 @@
+/* Because this is the only sizing that is sane, make it global. */
+* {
+    box-sizing: border-box;
+}
+
 /*\
 |*|
 |*| Properties for the page: colors, etc.
@@ -124,7 +129,6 @@ body {
  * of the page content.
  */
 #page {
-    box-sizing: border-box;
     max-width: var(--page-max-width-padded);
     margin-left: auto;
     margin-right: auto;