Skip to content

Commit

Permalink
feat(website): reduce bold abuse
Browse files Browse the repository at this point in the history
> Rule #2: use bold and italic as little as possible.
> https://practicaltypography.com/bold-or-italic.html
  • Loading branch information
strager committed Aug 2, 2023
1 parent d024dc0 commit e9938d9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions website/public/benchmarks/benchmark.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 3 additions & 0 deletions website/public/index.ejs.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 1 addition & 3 deletions website/public/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -817,7 +815,7 @@ kbd.keystroke {

@media only screen and (max-width: 37em) {
#supported-editors {
font-size: x-small;
font-size: small;
}
}

Expand Down

0 comments on commit e9938d9

Please sign in to comment.