aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruser@node5.net <user@node5.net>2025-09-17 19:18:24 +0200
committeruser@node5.net <user@node5.net>2025-09-17 19:18:24 +0200
commit27df92c66eefe3e59ea7b87d099ecfc3149c4d19 (patch)
tree69aa82993443d2c82342744d6646400d9fa809e6
parent296edc2116c4a8e739fa8015dbbb3cf520eb50c8 (diff)
Style - Adjust side padding based on device width
-rw-r--r--blog.node5.net/static/main.css18
1 files changed, 17 insertions, 1 deletions
diff --git a/blog.node5.net/static/main.css b/blog.node5.net/static/main.css
index e24ec17..a28a6e4 100644
--- a/blog.node5.net/static/main.css
+++ b/blog.node5.net/static/main.css
@@ -41,12 +41,28 @@ body {
color: white;
}
-@media screen and (min-width: 100rem) {
+#root-container {
+ padding: 0 3em;
+}
+
+@media screen and (max-width: 30rem) {
+ #root-container {
+ padding: 0!important;
+ }
+}
+
+@media screen and (min-width: 70rem) {
#root-container {
padding: 0 15em;
}
}
+@media screen and (min-width: 100rem) {
+ #root-container {
+ padding: 0 25em;
+ }
+}
+
#logo h1 {
font-family: "RobotoMono-Bold", monospace;
font-size: 3em;