X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/5a8ad39fd1ee45c264511d707d407f4babaae95d..4efce86dda416d04c48406724fa51de24a8adb72:/css/style.css diff --git a/css/style.css b/css/style.css index 33950a8..33483e0 100644 --- a/css/style.css +++ b/css/style.css @@ -11,7 +11,17 @@ body { letter-spacing: 0.02em; padding: 2em; } -@supports (-webkit-touch-callout: none) { body { font: -apple-system-body } } +@supports (-webkit-touch-callout: none) { + body { + font-size: 1em; + font: -apple-system-body; + font-family: "Hoefler Text", "Times New Roman", serif; + font-feature-settings: "liga" 1, "dlig" 1, "pnum" 1; + line-height: 1.6; + letter-spacing: 0.02em; + padding: 2em; + } +} aside { clear: both; padding: 2em 0; @@ -74,20 +84,21 @@ h1, h2, h3 { font-family: "Avenir Next"; font-weight: 900 } -h1 { font-size: 2em } +h1 { font-size: 4em } +h2 { + font-size: 2em; + text-transform: lowercase; +} h3 { + display: inline-block; font-weight: 600; margin-top: 1em } h2, h3, a { color: #00f } [data-title="/index.html"] { - .h2:nth-of-type(n+2):nth-of-type(-n+4) { - h2, h3, a { color: #EE0700 } - } - .h2:nth-of-type(n+5):nth-of-type(-n+6) { - h2, h3, a { color: #398557 } + h2, h3, a { color: #EE0700 } } .h2:nth-of-type(n+7):nth-of-type(-n+9) { @@ -99,7 +110,7 @@ h2, h3, a { color: #00f } } .h2:nth-of-type(11) { - h2, h3, a { color: #1D76DB } + h2, h3, a { color: #398557 } } .h2:nth-of-type(n+12):nth-of-type(-n+16) { @@ -117,6 +128,11 @@ h2, h3, a { color: #00f } margin: 0.25em 0; } +header { position: relative } +main { + position: relative; + z-index: 1 +} header h1 { font-size: min(7.5rem, 17vw); font-weight: 900;