From 9ea041d3323db663961e4b6169fc2e43b9021194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Marchal?= Date: Sat, 6 Sep 2025 10:49:01 +0200 Subject: [PATCH] Fix mobile background --- quartz/styles/custom.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/quartz/styles/custom.scss b/quartz/styles/custom.scss index 4f4ed81..6a40d2f 100644 --- a/quartz/styles/custom.scss +++ b/quartz/styles/custom.scss @@ -414,6 +414,19 @@ table { } } +// Softer dark background for mobile +@media all and ($mobile) +{ + .page > #quartz-body .sidebar.left:has(.explorer) + { + background-color: unset; + } + + .explorer:not(.collapsed)>.explorer-content { + background-color: color-mix(in srgb, var(--lightgray)60%, var(--light)); + } +} + .page { @media all and ($mobile) {