From dafe34665cfdcd641b8b214ee7727ac925e2ccce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 6 Feb 2024 19:51:46 +0100 Subject: [PATCH] Totally original css and js, totally not "borrowed" from twip-network.org --- assets/style.css | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/assets/style.css b/assets/style.css index 4d45801..90acb11 100644 --- a/assets/style.css +++ b/assets/style.css @@ -199,8 +199,18 @@ ul.navpage_list gap:3.25rem; } +#toggle_button { + position: absolute; + right: 1.5rem; + display: none; + flex-direction: column; + justify-content: space-between; + width: 2rem; + height: 1.5rem; +} + @media (max-width: 500px) { - .toggle-button { + #toggle_button { display: flex; } #navsite_list { @@ -208,11 +218,11 @@ ul.navpage_list flex-direction: column; } - .nav-links li { + #navsite_list li { text-align: center; } - .nav-links.active { + #navsite_list.active { display: flex; }