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: Adjust heading sizes (#33628)

Danilo Lealc3d0230f89ff
diff --git a/docs/theme/css/general.css b/docs/theme/css/general.css
index 61b373651a0..138a3a325b8 100644
--- a/docs/theme/css/general.css
+++ b/docs/theme/css/general.css
@@ -79,20 +79,34 @@ h6 code {
display: none !important;
}
+h1 {
+ font-size: 3.4rem;
+}
+
h2 {
padding-bottom: 1rem;
border-bottom: 1px solid;
border-color: var(--border-light);
}
-h2,
h3 {
- margin-block-start: 1.5em;
- margin-block-end: 0;
+ font-size: 2rem;
}
+
+h4 {
+ font-size: 1.8rem;
+}
+
+h5 {
+ font-size: 1.6rem;
+}
+
+h2,
+h3,
h4,
h5 {
- margin-block-start: 2em;
+ margin-block-start: 1.5em;
+ margin-block-end: 0;
}
.header + .header h3,