From e9938d9c93a4304413dc3b8e075438c929700ec7 Mon Sep 17 00:00:00 2001 From: "Matthew \"strager\" Glazar" Date: Tue, 1 Aug 2023 17:48:16 -0700 Subject: [PATCH] feat(website): reduce bold abuse > Rule #2: use bold and italic as little as possible. > https://practicaltypography.com/bold-or-italic.html --- website/public/benchmarks/benchmark.css | 3 +++ website/public/index.ejs.html | 3 +++ website/public/main.css | 4 +--- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/website/public/benchmarks/benchmark.css b/website/public/benchmarks/benchmark.css index 00b1847aca..8635c05dde 100644 --- a/website/public/benchmarks/benchmark.css +++ b/website/public/benchmarks/benchmark.css @@ -319,6 +319,9 @@ body.javascript .javascript-only { .benchmark-table tbody td { text-align: right; } +.benchmark-table tbody th { + font-weight: normal; +} .benchmark-table thead th { white-space: nowrap; diff --git a/website/public/index.ejs.html b/website/public/index.ejs.html index 782c43a01f..036385480b 100755 --- a/website/public/index.ejs.html +++ b/website/public/index.ejs.html @@ -30,6 +30,9 @@ .feature-comparison tbody th { border-top-width: 1px; } + .feature-comparison th { + font-weight: normal; + } .feature-comparison td.quick-lint-js, .feature-comparison th.quick-lint-js { diff --git a/website/public/main.css b/website/public/main.css index 1aac44d427..4ebbbdfe82 100755 --- a/website/public/main.css +++ b/website/public/main.css @@ -610,7 +610,6 @@ kbd.keystroke { background-color: rgb(240, 219, 79); border-radius: 0.5rem; display: inline-block; - font-weight: bold; letter-spacing: 0.75px; padding: 0.75rem 1.25rem 0.5em 1.25rem; text-decoration: none; @@ -772,7 +771,6 @@ kbd.keystroke { } #supported-editors a { background-color: rgb(240, 219, 79); - font-weight: bold; border-radius: 0.5rem; margin: 0 0.5rem 0 0.5rem; padding-bottom: 0.5rem; @@ -817,7 +815,7 @@ kbd.keystroke { @media only screen and (max-width: 37em) { #supported-editors { - font-size: x-small; + font-size: small; } }