Guides CSS to format code tags in h2 headings

Noticed when reading the edge guides that we have some wonky formatting for the case when we use a method name in an h2 heading.

There's already a fix for h3-level headings, so I copied the font-weight (400) and eyeballed a font-size. 2.25rem looked too much to my eyes, so went with 2rem.
This commit is contained in:
Andy Croll 2024-07-05 12:12:12 +01:00 committed by GitHub
parent 0d30e84878
commit 6fc58b8eea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -144,6 +144,11 @@ body.guide {
a:visited {
color: $rf-brand;
} // a, a:link, a:visited
code {
font-size: 2rem;
font-weight: 400;
}
} // h2
h3 {