From f0b2840668059c4edbdb062a7de89806fddba41e Mon Sep 17 00:00:00 2001 From: deepend-tildeclub Date: Tue, 29 Sep 2026 15:33:41 -0600 Subject: [PATCH] ensure fixes added to main site are reflected on docs site --- docs/_static/css/zoitechat-docs.css | 55 +++++++++++++++++++++++++++++ docs/_theme/basicstrap/layout.html | 2 +- 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/docs/_static/css/zoitechat-docs.css b/docs/_static/css/zoitechat-docs.css index d27a4d18..d6350ccb 100644 --- a/docs/_static/css/zoitechat-docs.css +++ b/docs/_static/css/zoitechat-docs.css @@ -78,6 +78,11 @@ a { text-decoration: none; } +::selection { + background: var(--accent); + color: #fff8ea; +} + button, input, textarea, @@ -139,6 +144,7 @@ select { z-index: 2000; border-bottom: 3px solid var(--rule); background: rgba(238, 229, 211, 0.94); + -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); } @@ -231,6 +237,17 @@ select { font-weight: 900; } +.site-nav a[aria-current="page"] { + border-block-color: var(--rule); + background: var(--panel-dark); + color: var(--paper-warm); + box-shadow: inset 0 -0.3rem 0 var(--accent); +} + +.site-nav a[aria-current="page"]::before { + color: #d19b25; +} + .site-nav a:hover, .site-nav a:focus-visible { border-block-color: var(--rule); @@ -511,6 +528,7 @@ select { font-weight: 900; line-height: 1.18; box-shadow: 4px 4px 0 var(--rule); + touch-action: manipulation; transition: transform 0.12s ease, background-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease; } @@ -527,6 +545,11 @@ select { outline: none; } +.button:active { + transform: translate(3px, 3px); + box-shadow: none; +} + .button-primary { background: var(--accent); color: #fff8ea; @@ -1176,6 +1199,11 @@ select { color: rgba(255, 248, 234, 0.82); } +.footer-links a { + width: fit-content; + border-bottom: 1px solid transparent; +} + .footer-links a::before { color: #d19b25; content: "↳ "; @@ -1184,6 +1212,7 @@ select { .footer-links a:hover, .footer-links a:focus-visible { color: #fff8ea; + border-bottom-color: currentColor; outline: none; } @@ -1549,6 +1578,17 @@ body a { font-weight: 900 !important; } +#navbar-top .site-nav a[aria-current="page"] { + border-block-color: var(--rule) !important; + background: var(--panel-dark) !important; + color: var(--paper-warm) !important; + box-shadow: inset 0 -0.3rem 0 var(--accent) !important; +} + +#navbar-top .site-nav a[aria-current="page"]::before { + color: #d19b25 !important; +} + #navbar-top .site-nav a:hover, #navbar-top .site-nav a:focus-visible, #navbar-top .site-nav summary:hover, @@ -1735,6 +1775,7 @@ footer.site-footer-lite { } .document .body p { + max-width: 78ch; margin: 0 0 1rem !important; } @@ -1780,6 +1821,7 @@ ul.search a:focus-visible { .document .body ul, .document .body ol { + max-width: 78ch; margin: 0.75rem 0 1.4rem !important; padding-left: 1.35rem !important; } @@ -1929,6 +1971,11 @@ ul.search a:focus-visible { text-transform: uppercase !important; } +.document .body table tbody tr:hover td, +.document .body table tbody tr:focus-within td { + background: var(--accent-soft) !important; +} + .admonition, .note, .warning, @@ -2068,6 +2115,7 @@ input[type="submit"], line-height: 1.18 !important; text-shadow: none !important; box-shadow: 4px 4px 0 var(--rule) !important; + touch-action: manipulation; } .btn:hover, @@ -2083,6 +2131,13 @@ input[type="submit"]:focus-visible { outline: none !important; } +.btn:active, +button:active, +input[type="submit"]:active { + transform: translate(3px, 3px) !important; + box-shadow: none !important; +} + #navbar-related { min-height: auto !important; margin: 1rem 0 1.5rem !important; diff --git a/docs/_theme/basicstrap/layout.html b/docs/_theme/basicstrap/layout.html index 1d9101b2..d8c4ad83 100644 --- a/docs/_theme/basicstrap/layout.html +++ b/docs/_theme/basicstrap/layout.html @@ -264,7 +264,7 @@ Addons Announcements Download - Docs + Docs GitHub