From b9d9ffae5f628e7e5544b7eee2dfff2d1d268c48 Mon Sep 17 00:00:00 2001 From: codeEvolveZenith345 Date: Mon, 17 Nov 2025 13:21:52 +0000 Subject: [PATCH] fix/cleanup Signed-off-by: codeEvolveZenith345 --- docs/stylesheets/extra.css | 58 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index a6c6ce440e..eb3b550657 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -671,4 +671,62 @@ a.md-header__button.md-logo img { .pipe { display: none; } +} + +/* Mobile and Tablet: up to 76.1875em (1220px) */ +@media screen and (max-width: 76.1875em) { + + .md-header__inner .md-tabs__list { + display: none !important; + } + + .md-header__topic:first-child { + display: flex !important; + opacity: 1 !important; + transform: translateX(0) !important; + transition: none !important; + } + + .md-header__topic:last-child { + display: none !important; + } + + .md-header__title[data-md-component="header-title"] { + visibility: visible !important; + } + + [data-md-component="header"][data-md-state="shadow"] .md-header__topic:first-child { + opacity: 1 !important; + transform: translateX(0) !important; + } +} + +/* Small mobile: up to 30em (480px) */ +@media screen and (max-width: 30em) { + + .md-header__button.md-logo img, + .md-header__button.md-logo svg { + width: 2.5rem; + height: 2rem; + } + + /* Compact title */ + .md-header__title { + font-size: 0.9rem; + } +} + +@media print { + .md-header__topic:first-child { + display: block !important; + opacity: 1 !important; + } + + .md-header__topic:last-child { + display: none !important; + } + + .md-header__inner .md-tabs__list { + display: none !important; + } } \ No newline at end of file