diff --git a/basewiki/bootstrap.local.css b/basewiki/bootstrap.local.css index 475aa71..a0b2f5c 100644 --- a/basewiki/bootstrap.local.css +++ b/basewiki/bootstrap.local.css @@ -440,6 +440,19 @@ header h1::before { /* Language switchers */ + +.language-switcher { + background: #f8f8f8; + color: #333; + border-color: #ccc; +} + +.language-switcher:hover { + background: #e6e6e6; + color: #333; + border-color: #ccc; +} + .language-switcher-top { display: block; padding-top: 9px; @@ -448,86 +461,3 @@ header h1::before { z-index: 5; } -#language-switcher-bottom { - position: relative; - margin: 0 auto; - max-width: 986px; - padding: 30px 30px 15px 30px; - background: var(--medium-dark-gray); -} - -#language-switcher-bottom .language-switcher { - position: absolute; - right: 30px; -} - -#language-switcher-top .language-switcher { - background: #f8f8f8; -} - -#language-switcher-bottom .language-switcher { - background: var(--medium-light-gray); -} - -.language-switcher { - width: 120px; - font-family: "Source Sans Pro Regular", "DejaVu Sans", "Verdana", sans-serif; - font-size: 16px; - color: black; - border-radius: 5px; -} - -.current-language, .other-languages { - width: 100%; -} - -.other-languages { - display: none; - margin: 0; - cursor: pointer; -} - -.language-switcher:hover { - border: 1px solid var(--medium-light-gray); - border-radius: 5px; -} -.language-switcher:hover .current-language { - border: none; -} - -.language-switcher:hover .other-languages { - display: block; -} - -.current-language, .other-languages li a { - padding: 6px; - padding-right: 34px; - text-align: right; -} - -.current-language { - border: 1px solid transparent; -} - -.other-languages li { - display: block; - margin: 0; -} - -.other-languages li a { - display: block; - color: black; -} - -.other-languages li a:hover { - background: var(--background-gray); - text-decoration: underline; -} - -.other-languages li:last-child a { - border-radius: 0 0 5px 5px; -} - -.other-languages li.improve-translations { - font-size: 12px; -}