From 7164245b2f499553f6db63ff33783f61a9a69fc0 Mon Sep 17 00:00:00 2001 From: deepskyblue Date: Mon, 2 Sep 2024 17:50:44 -0500 Subject: [PATCH] font tunin" #7 /\/\/\/ --- echo.css | 44 ++++++++++++++++++++++++++++++++++++++------ 1 file changed, 38 insertions(+), 6 deletions(-) diff --git a/echo.css b/echo.css index b7932d3..23974f8 100644 --- a/echo.css +++ b/echo.css @@ -1,18 +1,50 @@ +:focus { + outline: thick dotted; +} + +:any-link:hover { + text-decoration-style: double; +} + +* { box-sizing: border-box } +a { touch-action: manipulation } + html { font-family: sans-serif; font-size: max(20px, 2vw + 1vh + 1pt); line-height: 1.618; } -body { margin: 0; padding: 1.618em } -h1 { font-size: 1.618em; margin: 0 } -em { font-size: 1.236em; font-style: unset } -:focus { outline: thick dotted } -:any-link:hover { text-decoration-style: double } +body { + margin: 0; + overflow-wrap: anywhere; + padding: 1.618em; +} + +h1 { + font-size: 1.618em; + margin: 0; +} + +main { + contain: layout; + display: flow-root; +} + +em, +b { + font: unset; + font-size: 1.236em; +} + +p { + contain: layout; + margin-block: 1em; +} kbd { + all: unset; display: inline-block; - font: unset; font-size: 2em; margin-block: 2em; padding-block: 1em;