From 3bd4da2784d37b9f8a26384139a3302cc4de16c4 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 26 Jan 2025 23:35:28 +0100 Subject: [PATCH] css/tips --- rtfd/public/html/style/reset.css | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/rtfd/public/html/style/reset.css b/rtfd/public/html/style/reset.css index 1a81f37..324d955 100644 --- a/rtfd/public/html/style/reset.css +++ b/rtfd/public/html/style/reset.css @@ -1,11 +1,25 @@ +*::after, +*::before, * { box-sizing: border-box; +} + +* { +font: inherit; /* -margin: .5px; -padding: .5em; +margin: 0; +padding: 0; /**/ } +html { +color-scheme: dark light; +} + +body { +min-height: 100svh; +} + h1, h2, h3, h4, h5, h6 { text-wrap: balance; } @@ -16,3 +30,11 @@ p { max-width: 64ch; text-wrap: pretty; } + +img, +picture, +svg, +video { +display: block; +max-width: 100%; +}