Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

docs: Add a light border to h2s (#24554)

Danilo Leal3f0288e52a88
diff --git a/docs/theme/css/general.css b/docs/theme/css/general.css
index d1b8e9b9265..b4ef43518c8 100644
--- a/docs/theme/css/general.css
+++ b/docs/theme/css/general.css
@@ -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;
diff --git a/docs/theme/css/variables.css b/docs/theme/css/variables.css
index 6604545c456..bd3b42522e0 100644
--- a/docs/theme/css/variables.css
+++ b/docs/theme/css/variables.css
@@ -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%);