mirror of
https://github.com/monero-project/monero-site.git
synced 2025-01-08 20:09:46 +00:00
Navigation: add language img for language selector (desktop)
This commit is contained in:
parent
bd5a1cb5d6
commit
7bf14d3c22
2 changed files with 7 additions and 1 deletions
|
@ -71,7 +71,7 @@
|
|||
<a href="https://translate.getmonero.org" class="top-link">Translate</a>
|
||||
<div href="#" class="dropdown top-link language-change">
|
||||
<input class="burger-checkdropdown" id="langdrop" type="checkbox" tabindex="0">
|
||||
<label for="langdrop">{{ site.data.languages.langs.[site.lang] }}
|
||||
<label for="langdrop"><img src="/img/language.png" alt="Language selector icon" class="icon-language"/>{{ site.data.languages.langs.[site.lang] }}
|
||||
<div class="arrow-down"></div></label>
|
||||
<div class="dropdown-content text-center">
|
||||
{% for lang in site.languages %}
|
||||
|
|
|
@ -1849,6 +1849,12 @@ img.monero-logo {
|
|||
padding: 0.8rem 0.8rem 0.8rem 3.4rem;
|
||||
}
|
||||
|
||||
img.icon-language {
|
||||
width: 1rem;
|
||||
padding-right: 0.2rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.topnav .topnav-list a, .topnav .topnav-list label {
|
||||
color: #6B6B6B;
|
||||
text-decoration: none;
|
||||
|
|
Loading…
Reference in a new issue