From 9d5a2959e17109b4806ba62e02ed9239dca5a57a Mon Sep 17 00:00:00 2001 From: Maxim Dolgolyov Date: Sat, 30 May 2026 09:51:04 +0300 Subject: [PATCH] =?UTF-8?q?fix(textbooks):=20=D0=BA=D0=BD=D0=BE=D0=BF?= =?UTF-8?q?=D0=BA=D0=B0=20=C2=AB=D0=A8=D0=BF=D0=B0=D1=80=D0=B3=D0=B0=D0=BB?= =?UTF-8?q?=D0=BA=D0=B0=C2=BB=20=D0=BD=D0=B5=20=D0=BE=D1=82=D0=BA=D1=80?= =?UTF-8?q?=D1=8B=D0=B2=D0=B0=D0=BB=D0=B0=20=D0=BA=D0=BE=D0=BD=D1=82=D0=B5?= =?UTF-8?q?=D0=BD=D1=82=20=D0=BD=D0=B0=20desktop?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit На десктопе (>980px) .col-side уже видна как sticky-колонка справа в grid 1fr 280px. Клик по кнопке #sidebar-btn добавлял .col-side-backdrop.show — backdrop с z-index:9990 затемнял всю страницу, перекрывая sticky-aside. Со стороны выглядело как «ничего не открылось» — на самом деле появлялась чёрная вуаль. Фикс: @media(min-width:981px) скрывает #sidebar-btn и подавляет показ backdrop. На мобайле (≤980px) кнопка и overlay работают как раньше. Применено в 51 файле: physics 8/9/10 chN, algebra 7/9/10/11 chN + 8 ch2-3, geometry 7/8/9/11 chN, geometry_10 r1-4. --- frontend/textbooks/algebra_10_ch1.html | 1 + frontend/textbooks/algebra_10_ch2.html | 1 + frontend/textbooks/algebra_10_ch3.html | 1 + frontend/textbooks/algebra_11_ch1.html | 1 + frontend/textbooks/algebra_11_ch2.html | 1 + frontend/textbooks/algebra_11_ch3.html | 1 + frontend/textbooks/algebra_7_ch1.html | 1 + frontend/textbooks/algebra_7_ch2.html | 1 + frontend/textbooks/algebra_7_ch3.html | 1 + frontend/textbooks/algebra_7_ch4.html | 1 + frontend/textbooks/algebra_8_ch2.html | 1 + frontend/textbooks/algebra_8_ch3.html | 1 + frontend/textbooks/algebra_9_ch1.html | 1 + frontend/textbooks/algebra_9_ch2.html | 1 + frontend/textbooks/algebra_9_ch3.html | 1 + frontend/textbooks/algebra_9_ch4.html | 1 + frontend/textbooks/geometry_10_r1.html | 1 + frontend/textbooks/geometry_10_r2.html | 1 + frontend/textbooks/geometry_10_r3.html | 1 + frontend/textbooks/geometry_10_r4.html | 1 + frontend/textbooks/geometry_11_ch1.html | 1 + frontend/textbooks/geometry_11_ch2.html | 1 + frontend/textbooks/geometry_11_ch3.html | 1 + frontend/textbooks/geometry_11_ch4.html | 1 + frontend/textbooks/geometry_7_ch1.html | 1 + frontend/textbooks/geometry_7_ch2.html | 1 + frontend/textbooks/geometry_7_ch3.html | 1 + frontend/textbooks/geometry_7_ch4.html | 1 + frontend/textbooks/geometry_7_ch5.html | 1 + frontend/textbooks/geometry_8_ch1.html | 1 + frontend/textbooks/geometry_8_ch2.html | 1 + frontend/textbooks/geometry_8_ch3.html | 1 + frontend/textbooks/geometry_8_ch4.html | 1 + frontend/textbooks/geometry_9_ch1.html | 1 + frontend/textbooks/geometry_9_ch2.html | 1 + frontend/textbooks/geometry_9_ch3.html | 1 + frontend/textbooks/geometry_9_ch4.html | 1 + frontend/textbooks/physics_10_ch1.html | 1 + frontend/textbooks/physics_10_ch2.html | 1 + frontend/textbooks/physics_10_ch3.html | 1 + frontend/textbooks/physics_10_ch4.html | 1 + frontend/textbooks/physics_10_ch5.html | 1 + frontend/textbooks/physics_10_ch6.html | 1 + frontend/textbooks/physics_8_ch1.html | 1 + frontend/textbooks/physics_8_ch2.html | 1 + frontend/textbooks/physics_8_ch3.html | 1 + frontend/textbooks/physics_8_lab.html | 1 + frontend/textbooks/physics_9_ch1.html | 1 + frontend/textbooks/physics_9_ch2.html | 1 + frontend/textbooks/physics_9_ch3.html | 1 + frontend/textbooks/physics_9_ch5.html | 1 + 51 files changed, 51 insertions(+) diff --git a/frontend/textbooks/algebra_10_ch1.html b/frontend/textbooks/algebra_10_ch1.html index afcde01..4d03a8c 100644 --- a/frontend/textbooks/algebra_10_ch1.html +++ b/frontend/textbooks/algebra_10_ch1.html @@ -151,6 +151,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/algebra_10_ch2.html b/frontend/textbooks/algebra_10_ch2.html index 8c26311..c37a0e8 100644 --- a/frontend/textbooks/algebra_10_ch2.html +++ b/frontend/textbooks/algebra_10_ch2.html @@ -150,6 +150,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/algebra_10_ch3.html b/frontend/textbooks/algebra_10_ch3.html index 315d2b7..23487c4 100644 --- a/frontend/textbooks/algebra_10_ch3.html +++ b/frontend/textbooks/algebra_10_ch3.html @@ -150,6 +150,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/algebra_11_ch1.html b/frontend/textbooks/algebra_11_ch1.html index a0cb14c..fc59c23 100644 --- a/frontend/textbooks/algebra_11_ch1.html +++ b/frontend/textbooks/algebra_11_ch1.html @@ -172,6 +172,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/algebra_11_ch2.html b/frontend/textbooks/algebra_11_ch2.html index 9e80551..66e18e5 100644 --- a/frontend/textbooks/algebra_11_ch2.html +++ b/frontend/textbooks/algebra_11_ch2.html @@ -152,6 +152,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/algebra_11_ch3.html b/frontend/textbooks/algebra_11_ch3.html index ba6935b..2b155fc 100644 --- a/frontend/textbooks/algebra_11_ch3.html +++ b/frontend/textbooks/algebra_11_ch3.html @@ -173,6 +173,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/algebra_7_ch1.html b/frontend/textbooks/algebra_7_ch1.html index 97a987d..a956811 100644 --- a/frontend/textbooks/algebra_7_ch1.html +++ b/frontend/textbooks/algebra_7_ch1.html @@ -205,6 +205,7 @@ a{color:inherit;text-decoration:none} /* SIDEBAR DRAWER */ .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none;animation:fadeIn .18s ease} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/algebra_7_ch2.html b/frontend/textbooks/algebra_7_ch2.html index efada5f..895e7d4 100644 --- a/frontend/textbooks/algebra_7_ch2.html +++ b/frontend/textbooks/algebra_7_ch2.html @@ -191,6 +191,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/algebra_7_ch3.html b/frontend/textbooks/algebra_7_ch3.html index 5a88fbc..17bdb84 100644 --- a/frontend/textbooks/algebra_7_ch3.html +++ b/frontend/textbooks/algebra_7_ch3.html @@ -177,6 +177,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/algebra_7_ch4.html b/frontend/textbooks/algebra_7_ch4.html index db80adb..22cfdcc 100644 --- a/frontend/textbooks/algebra_7_ch4.html +++ b/frontend/textbooks/algebra_7_ch4.html @@ -176,6 +176,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/algebra_8_ch2.html b/frontend/textbooks/algebra_8_ch2.html index df2226c..0232a9e 100644 --- a/frontend/textbooks/algebra_8_ch2.html +++ b/frontend/textbooks/algebra_8_ch2.html @@ -322,6 +322,7 @@ input,select,textarea{font-family:inherit} /* SIDEBAR DRAWER for narrow viewports */ .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none;animation:fadeIn .18s ease} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/algebra_8_ch3.html b/frontend/textbooks/algebra_8_ch3.html index aae9a2a..2ebd9de 100644 --- a/frontend/textbooks/algebra_8_ch3.html +++ b/frontend/textbooks/algebra_8_ch3.html @@ -221,6 +221,7 @@ a{color:inherit;text-decoration:none} /* SIDEBAR DRAWER for narrow viewports */ .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none;animation:fadeIn .18s ease} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/algebra_9_ch1.html b/frontend/textbooks/algebra_9_ch1.html index 7a7111a..9668290 100644 --- a/frontend/textbooks/algebra_9_ch1.html +++ b/frontend/textbooks/algebra_9_ch1.html @@ -173,6 +173,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/algebra_9_ch2.html b/frontend/textbooks/algebra_9_ch2.html index 7e1fe8e..d6236db 100644 --- a/frontend/textbooks/algebra_9_ch2.html +++ b/frontend/textbooks/algebra_9_ch2.html @@ -172,6 +172,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/algebra_9_ch3.html b/frontend/textbooks/algebra_9_ch3.html index 56ebc1e..7d66dba 100644 --- a/frontend/textbooks/algebra_9_ch3.html +++ b/frontend/textbooks/algebra_9_ch3.html @@ -132,6 +132,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/algebra_9_ch4.html b/frontend/textbooks/algebra_9_ch4.html index 194290b..177e3ec 100644 --- a/frontend/textbooks/algebra_9_ch4.html +++ b/frontend/textbooks/algebra_9_ch4.html @@ -168,6 +168,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_10_r1.html b/frontend/textbooks/geometry_10_r1.html index f0038e0..ad6378c 100644 --- a/frontend/textbooks/geometry_10_r1.html +++ b/frontend/textbooks/geometry_10_r1.html @@ -152,6 +152,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_10_r2.html b/frontend/textbooks/geometry_10_r2.html index c791818..be71f35 100644 --- a/frontend/textbooks/geometry_10_r2.html +++ b/frontend/textbooks/geometry_10_r2.html @@ -150,6 +150,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_10_r3.html b/frontend/textbooks/geometry_10_r3.html index e62695a..418726f 100644 --- a/frontend/textbooks/geometry_10_r3.html +++ b/frontend/textbooks/geometry_10_r3.html @@ -150,6 +150,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_10_r4.html b/frontend/textbooks/geometry_10_r4.html index 863daf2..ea8c923 100644 --- a/frontend/textbooks/geometry_10_r4.html +++ b/frontend/textbooks/geometry_10_r4.html @@ -150,6 +150,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_11_ch1.html b/frontend/textbooks/geometry_11_ch1.html index 8141120..5a0d69b 100644 --- a/frontend/textbooks/geometry_11_ch1.html +++ b/frontend/textbooks/geometry_11_ch1.html @@ -172,6 +172,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_11_ch2.html b/frontend/textbooks/geometry_11_ch2.html index 697473b..f230b5e 100644 --- a/frontend/textbooks/geometry_11_ch2.html +++ b/frontend/textbooks/geometry_11_ch2.html @@ -172,6 +172,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_11_ch3.html b/frontend/textbooks/geometry_11_ch3.html index c9b7071..4cfcb80 100644 --- a/frontend/textbooks/geometry_11_ch3.html +++ b/frontend/textbooks/geometry_11_ch3.html @@ -173,6 +173,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_11_ch4.html b/frontend/textbooks/geometry_11_ch4.html index 51b0a03..9dce064 100644 --- a/frontend/textbooks/geometry_11_ch4.html +++ b/frontend/textbooks/geometry_11_ch4.html @@ -174,6 +174,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_7_ch1.html b/frontend/textbooks/geometry_7_ch1.html index 2f30174..8a6d06e 100644 --- a/frontend/textbooks/geometry_7_ch1.html +++ b/frontend/textbooks/geometry_7_ch1.html @@ -169,6 +169,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_7_ch2.html b/frontend/textbooks/geometry_7_ch2.html index 7bb5d60..6c2b497 100644 --- a/frontend/textbooks/geometry_7_ch2.html +++ b/frontend/textbooks/geometry_7_ch2.html @@ -164,6 +164,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_7_ch3.html b/frontend/textbooks/geometry_7_ch3.html index fcaad80..fb24087 100644 --- a/frontend/textbooks/geometry_7_ch3.html +++ b/frontend/textbooks/geometry_7_ch3.html @@ -161,6 +161,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_7_ch4.html b/frontend/textbooks/geometry_7_ch4.html index c4541a5..d101017 100644 --- a/frontend/textbooks/geometry_7_ch4.html +++ b/frontend/textbooks/geometry_7_ch4.html @@ -153,6 +153,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_7_ch5.html b/frontend/textbooks/geometry_7_ch5.html index 53e5688..8a3723b 100644 --- a/frontend/textbooks/geometry_7_ch5.html +++ b/frontend/textbooks/geometry_7_ch5.html @@ -150,6 +150,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_8_ch1.html b/frontend/textbooks/geometry_8_ch1.html index 2bd79b7..02187d0 100644 --- a/frontend/textbooks/geometry_8_ch1.html +++ b/frontend/textbooks/geometry_8_ch1.html @@ -212,6 +212,7 @@ a{color:inherit;text-decoration:none} /* SIDEBAR DRAWER for narrow viewports */ .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none;animation:fadeIn .18s ease} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_8_ch2.html b/frontend/textbooks/geometry_8_ch2.html index 27ca2fa..db9275a 100644 --- a/frontend/textbooks/geometry_8_ch2.html +++ b/frontend/textbooks/geometry_8_ch2.html @@ -190,6 +190,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none;animation:fadeIn .18s ease} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_8_ch3.html b/frontend/textbooks/geometry_8_ch3.html index 71623a9..ea34c57 100644 --- a/frontend/textbooks/geometry_8_ch3.html +++ b/frontend/textbooks/geometry_8_ch3.html @@ -182,6 +182,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none;animation:fadeIn .18s ease} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_8_ch4.html b/frontend/textbooks/geometry_8_ch4.html index 89cf1a1..3fc6a64 100644 --- a/frontend/textbooks/geometry_8_ch4.html +++ b/frontend/textbooks/geometry_8_ch4.html @@ -188,6 +188,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none;animation:fadeIn .18s ease} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_9_ch1.html b/frontend/textbooks/geometry_9_ch1.html index 5035659..f8c3d84 100644 --- a/frontend/textbooks/geometry_9_ch1.html +++ b/frontend/textbooks/geometry_9_ch1.html @@ -166,6 +166,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_9_ch2.html b/frontend/textbooks/geometry_9_ch2.html index 2bff135..cfe24e7 100644 --- a/frontend/textbooks/geometry_9_ch2.html +++ b/frontend/textbooks/geometry_9_ch2.html @@ -147,6 +147,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_9_ch3.html b/frontend/textbooks/geometry_9_ch3.html index 129c613..ba65901 100644 --- a/frontend/textbooks/geometry_9_ch3.html +++ b/frontend/textbooks/geometry_9_ch3.html @@ -147,6 +147,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/geometry_9_ch4.html b/frontend/textbooks/geometry_9_ch4.html index 93b6982..bd9fc37 100644 --- a/frontend/textbooks/geometry_9_ch4.html +++ b/frontend/textbooks/geometry_9_ch4.html @@ -126,6 +126,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/physics_10_ch1.html b/frontend/textbooks/physics_10_ch1.html index 769642a..eb59216 100644 --- a/frontend/textbooks/physics_10_ch1.html +++ b/frontend/textbooks/physics_10_ch1.html @@ -186,6 +186,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/physics_10_ch2.html b/frontend/textbooks/physics_10_ch2.html index 6f126d3..3fc8f38 100644 --- a/frontend/textbooks/physics_10_ch2.html +++ b/frontend/textbooks/physics_10_ch2.html @@ -176,6 +176,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/physics_10_ch3.html b/frontend/textbooks/physics_10_ch3.html index b662426..aed4a10 100644 --- a/frontend/textbooks/physics_10_ch3.html +++ b/frontend/textbooks/physics_10_ch3.html @@ -180,6 +180,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/physics_10_ch4.html b/frontend/textbooks/physics_10_ch4.html index 4aac39e..d5731e5 100644 --- a/frontend/textbooks/physics_10_ch4.html +++ b/frontend/textbooks/physics_10_ch4.html @@ -173,6 +173,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/physics_10_ch5.html b/frontend/textbooks/physics_10_ch5.html index cf3d34b..e27ac0e 100644 --- a/frontend/textbooks/physics_10_ch5.html +++ b/frontend/textbooks/physics_10_ch5.html @@ -178,6 +178,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/physics_10_ch6.html b/frontend/textbooks/physics_10_ch6.html index 7e1b147..10253a7 100644 --- a/frontend/textbooks/physics_10_ch6.html +++ b/frontend/textbooks/physics_10_ch6.html @@ -175,6 +175,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/physics_8_ch1.html b/frontend/textbooks/physics_8_ch1.html index dd70077..922a884 100644 --- a/frontend/textbooks/physics_8_ch1.html +++ b/frontend/textbooks/physics_8_ch1.html @@ -140,6 +140,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/physics_8_ch2.html b/frontend/textbooks/physics_8_ch2.html index 7037047..79b84e0 100644 --- a/frontend/textbooks/physics_8_ch2.html +++ b/frontend/textbooks/physics_8_ch2.html @@ -600,6 +600,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/physics_8_ch3.html b/frontend/textbooks/physics_8_ch3.html index a00e29f..6bfb699 100644 --- a/frontend/textbooks/physics_8_ch3.html +++ b/frontend/textbooks/physics_8_ch3.html @@ -220,6 +220,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/physics_8_lab.html b/frontend/textbooks/physics_8_lab.html index 5269a1b..bf0450e 100644 --- a/frontend/textbooks/physics_8_lab.html +++ b/frontend/textbooks/physics_8_lab.html @@ -135,6 +135,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/physics_9_ch1.html b/frontend/textbooks/physics_9_ch1.html index aa7c960..d69bf77 100644 --- a/frontend/textbooks/physics_9_ch1.html +++ b/frontend/textbooks/physics_9_ch1.html @@ -143,6 +143,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/physics_9_ch2.html b/frontend/textbooks/physics_9_ch2.html index f8f144b..590d283 100644 --- a/frontend/textbooks/physics_9_ch2.html +++ b/frontend/textbooks/physics_9_ch2.html @@ -139,6 +139,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/physics_9_ch3.html b/frontend/textbooks/physics_9_ch3.html index 97860b0..1eb981b 100644 --- a/frontend/textbooks/physics_9_ch3.html +++ b/frontend/textbooks/physics_9_ch3.html @@ -135,6 +135,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none} diff --git a/frontend/textbooks/physics_9_ch5.html b/frontend/textbooks/physics_9_ch5.html index ee6c2f1..d4edd9c 100644 --- a/frontend/textbooks/physics_9_ch5.html +++ b/frontend/textbooks/physics_9_ch5.html @@ -140,6 +140,7 @@ a{color:inherit;text-decoration:none} .col-side-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:9990;display:none} .col-side-backdrop.show{display:block} +@media(min-width:981px){#sidebar-btn{display:none}.col-side-backdrop.show{display:none}} @media(max-width:980px){ .col-side{position:fixed;top:0;right:0;height:100vh;width:300px;max-width:88vw;background:var(--bg);box-shadow:-12px 0 24px rgba(0,0,0,.18);padding:18px 16px;overflow-y:auto;transform:translateX(100%);transition:transform .25s ease;z-index:9991;max-height:none} .col-side.open{transform:none}