From 3f0288e52a88d0e267904a199097107340d6671b Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Mon, 10 Feb 2025 09:43:51 -0300 Subject: [PATCH] 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 --- docs/theme/css/general.css | 6 ++++++ docs/theme/css/variables.css | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/theme/css/general.css b/docs/theme/css/general.css index d1b8e9b926..b4ef43518c 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 6604545c45..bd3b42522e 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%);