feat(showcase): add temporary language switcher for visitors with cookie persistence
This commit is contained in:
@@ -39,6 +39,7 @@ a:hover { text-decoration: underline; }
|
||||
.lang-option { display: block; width: 100%; padding: .35rem .75rem; border: none; background: none; text-align: left; font-size: .8rem; color: var(--text); cursor: pointer; white-space: nowrap; }
|
||||
.lang-option:hover { background: var(--bg); color: var(--primary); }
|
||||
.lang-option.active { color: var(--primary); font-weight: 600; }
|
||||
.showcase-lang-bar { position: fixed; top: 1rem; right: 1.5rem; z-index: 100; }
|
||||
|
||||
/* Container */
|
||||
.container { max-width: 960px; margin: 2rem auto; padding: 0 1.5rem; }
|
||||
|
||||
Reference in New Issue
Block a user