1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-27 14:12:09 +00:00

Don't bold <dt>

It'll cause confusion with <h4>, and an upcoming post will have a lot of
those.
This commit is contained in:
Rohan Kumar 2022-10-17 12:43:56 -07:00
parent a7fe8eb259
commit 7b11f993e2
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -480,12 +480,7 @@ h1 {
/* <kbd> should be distinguished from <code> and surrounding text /* <kbd> should be distinguished from <code> and surrounding text
* in a way beyond font-face; at least two visual distinctions needed * in a way beyond font-face; at least two visual distinctions needed
* Also, Small text is easier to read when slightly bolder.
* This is important in the dark theme where I set my own colors and
* try to maintain good perceptual contrast even for small text, but
* I don't want toggling the theme to impact anything besides color so
* I set the weight here. */ * I set the weight here. */
dt,
kbd { kbd {
font-weight: bold; font-weight: bold;
} }