From bb84ab48be7210ffb01d9dff03db01ecc4416a52 Mon Sep 17 00:00:00 2001 From: Lynn Date: Fri, 5 Jul 2024 16:53:13 +0200 Subject: [PATCH] Show sidebar TOC starting at 1050px --- refgram/css/style.css | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/refgram/css/style.css b/refgram/css/style.css index f372163..ebcffab 100644 --- a/refgram/css/style.css +++ b/refgram/css/style.css @@ -697,7 +697,13 @@ table.conjunctionexamples th { text-decoration: underline; } -@media (min-width: 1200px) { +@media (min-width: 1050px) { + @media ( max-width: 1250px) { + .fixed-width > * { + padding: 0px 20px 0px 20px; + border: none; + } + } .delta-refgram .toc { position: fixed; right: 0; @@ -706,7 +712,8 @@ table.conjunctionexamples th { display: block; border-top: none; border-bottom: none; - width: calc(min(15%, 250px)); + width: 270px; + box-sizing: border-box; overflow-y: hidden; } .toc-header { @@ -716,7 +723,7 @@ table.conjunctionexamples th { display: block; } .delta-refgram { - margin-left: calc(max(-15%, -250px)); + padding-right: 270px; position: relative; } }