docs: Add a light border to h2s (#24554)
I was finding hard to navigate the "Configuring Zed" page with just white space creating a boundary between the different chunks of content. I think a slight border below the h2 heading helps a lot with that! Release Notes: - N/A
This commit is contained in:
parent
d15a61a1aa
commit
3f0288e52a
2 changed files with 7 additions and 1 deletions
6
docs/theme/css/general.css
vendored
6
docs/theme/css/general.css
vendored
|
@ -79,6 +79,12 @@ h6 code {
|
|||
display: none !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
padding-bottom: 1rem;
|
||||
border-bottom: 1px solid;
|
||||
border-color: var(--border-light);
|
||||
}
|
||||
|
||||
h2,
|
||||
h3 {
|
||||
margin-block-start: 1.5em;
|
||||
|
|
2
docs/theme/css/variables.css
vendored
2
docs/theme/css/variables.css
vendored
|
@ -98,7 +98,7 @@
|
|||
--title-color: hsl(220, 92%, 80%);
|
||||
|
||||
--border: hsl(220, 13%, 20%);
|
||||
--border-light: hsl(220, 13%, 90%);
|
||||
--border-light: hsl(220, 13%, 15%);
|
||||
--border-hover: hsl(220, 13%, 40%);
|
||||
|
||||
--media-bg: hsl(220, 13%, 8%);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue