refactor: add mobile to languageswitch
| | |
| | | display: none; |
| | | } |
| | | |
| | | .share { |
| | | display: grid; |
| | | } |
| | | |
| | | /* nav { |
| | | display: none; |
| | | } */ |
| | |
| | | padding-bottom: 0px; |
| | | padding-top: 48px; |
| | | } |
| | | |
| | | /* |
| | | .triangle { |
| | | display: none; |
| | | } |
| | | |
| | | |
| | | .sl-nav { |
| | | padding-right: inherit; |
| | | } |
| | |
| | | .sl-nav li .dropdown li span { |
| | | padding-left: initial; |
| | | } |
| | | */ |
| | | } |
| | | |
| | | /* |
| | |
| | | .languageswitch { |
| | | |
| | | margin: 0; |
| | | padding: 0; |
| | | list-style: none; |
| | |
| | | display: block; |
| | | white-space: nowrap; |
| | | } |
| | | |
| | | } |
| | | |
| | | #languagepicker:checked ~ .dropdown { |
| | |
| | | |
| | | #languagepicker:checked ~ .triangle:after { |
| | | content: ''; |
| | | display: block; |
| | | z-index: 20; |
| | | width: 15px; |
| | | transform: rotate(45deg) translateY(0px) translatex(10px); |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | @media screen and (max-width: 960px) { |
| | | .languageswitch { |
| | | &__list { |
| | | padding-right: inherit; |
| | | label { |
| | | cursor: pointer; |
| | | } |
| | | .triangle { |
| | | display: none; |
| | | } |
| | | &-item { |
| | | .dropdown__list { |
| | | right: inherit; |
| | | position: relative; |
| | | top: inherit; |
| | | padding-right: 0px; |
| | | background: none; |
| | | border-color: inherit; |
| | | box-shadow: none; |
| | | &-item { |
| | | text-align: center; |
| | | padding: 0.5rem 0.75rem; |
| | | padding-left: initial; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |