website: the language switch becomes a globe like the dashboard's (Magyar / English list, current marked, no JS); site.css v3; gate 13 checks the globe from one LANGS list; 5 decoys
gates / gates (push) Successful in 3m54s
gates / gates (push) Successful in 3m54s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012qRErfCoiTkvDK9N5XHbzb
This commit is contained in:
@@ -132,6 +132,19 @@ nav .container { display: flex; justify-content: space-between; align-items: cen
|
||||
.nav-links a:hover,
|
||||
.nav-links a.active { color: var(--blue-bright); }
|
||||
|
||||
/* --- Language globe (2026-10-08, matching the controller's lang_globe): a <details> list, no JavaScript.
|
||||
The current language is marked by weight and a blue rule, not a check glyph (the emoji gate's range). --- */
|
||||
.lang-globe-li { display: flex; align-items: center; }
|
||||
.lang-globe { position: relative; margin: 0; }
|
||||
.lang-globe-btn { list-style: none; display: inline-flex; align-items: center; color: var(--text-2); cursor: pointer; padding: 2px; border-radius: var(--radius); }
|
||||
.lang-globe-btn::-webkit-details-marker { display: none; }
|
||||
.lang-globe-btn::marker { content: ""; }
|
||||
.lang-globe-btn:hover, .lang-globe[open] .lang-globe-btn { color: var(--blue-bright); }
|
||||
.lang-globe-menu { position: absolute; top: calc(100% + 12px); right: 0; margin: 0; padding: 4px; list-style: none; min-width: 8rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); z-index: 210; }
|
||||
.nav-links .lang-globe-item { display: block; padding: 6px 10px; font-size: 0.9rem; white-space: nowrap; color: var(--text-2); border-left: 2px solid transparent; }
|
||||
.nav-links .lang-globe-item:hover { color: var(--blue-bright); }
|
||||
.nav-links .lang-globe-item.current { color: var(--text-1); font-weight: 700; border-left-color: var(--blue); }
|
||||
|
||||
/* --- Two-tone heading (brand signature): accent span is solid blue-bright --- */
|
||||
h1 span, h2 span, h3 span, h4 span { color: var(--blue-bright); }
|
||||
|
||||
@@ -264,6 +277,12 @@ footer p { color: var(--text-2); font-size: 0.9rem; }
|
||||
.nav-links.is-open { right: 0; }
|
||||
.nav-links li { border-bottom: 1px solid var(--line-soft); }
|
||||
.nav-links a { display: block; padding: 16px 0; font-size: 1.05rem; }
|
||||
/* the globe in the phone menu: last item, its list opens in place (not a floating box the menu would cut off) */
|
||||
.lang-globe-li { display: block; }
|
||||
.lang-globe-btn { padding: 16px 0; }
|
||||
.lang-globe-menu { position: static; min-width: 0; padding: 0 0 8px; background: none; border: none; }
|
||||
.nav-links .lang-globe-menu li { border-bottom: none; }
|
||||
.nav-links .lang-globe-item { padding: 10px 0 10px 12px; font-size: 1.05rem; }
|
||||
.mobile-overlay { display: block; pointer-events: none; }
|
||||
.mobile-overlay.is-visible { pointer-events: auto; }
|
||||
body.menu-open { overflow: hidden; }
|
||||
|
||||
Reference in New Issue
Block a user