From 73cd7efcf7a69ffc29abb91216879457386ad9a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=AA=E3=82=AD=E8=90=8C?= Date: Tue, 26 Aug 2025 20:19:25 +0200 Subject: [PATCH] tweak top padding to be more consistent in wide without sidebar / narrow layouts --- static/css/doc.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/static/css/doc.css b/static/css/doc.css index 97d92ef..373e225 100644 --- a/static/css/doc.css +++ b/static/css/doc.css @@ -102,7 +102,6 @@ main.doc { align-items: center; & .vertical-center { - --article-padding: 3.2rem; min-height: 0; flex-grow: 1; } @@ -122,6 +121,14 @@ main.doc { } } +@media (max-width: 1280px) { + main.doc { + & .vertical-center { + --article-padding: 0rem; + } + } +} + @media (max-width: 700px) { main.doc { & .doc-text {