Skip to content

Commit 8c07ebb

Browse files
authored
docs: add border-radius to hX:target selector styles (#19270)
* chore: add `border-radius` to `hX:target` selector styles * style: add padding to heading elements
1 parent eff7c57 commit 8c07ebb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/src/assets/scss/foundations.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ h4:target,
1010
h5:target,
1111
h6:target {
1212
background-color: var(--lighter-background-color);
13+
border-radius: var(--border-radius);
1314
}
1415

1516
*:focus {
@@ -363,6 +364,7 @@ h6 {
363364
font-weight: 500;
364365
margin-top: 0;
365366
margin-block-start: 0;
367+
padding: 0.25rem 0;
366368
}
367369

368370
h2,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy