mirror of
https://github.com/monero-project/monero-site.git
synced 2025-01-27 04:55:54 +00:00
Merge pull request #1218 from erciccione/img-lang-sel
Navigation: add language img for language selector (desktop)
This commit is contained in:
commit
5aca54c75e
2 changed files with 7 additions and 1 deletions
|
@ -103,7 +103,7 @@
|
||||||
<a href="https://translate.getmonero.org" class="top-link">Translate</a>
|
<a href="https://translate.getmonero.org" class="top-link">Translate</a>
|
||||||
<div href="#" class="dropdown top-link language-change">
|
<div href="#" class="dropdown top-link language-change">
|
||||||
<input class="burger-checkdropdown" id="langdrop" type="checkbox" tabindex="0">
|
<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="arrow-down"></div></label>
|
||||||
<div class="dropdown-content text-center">
|
<div class="dropdown-content text-center">
|
||||||
{% for lang in site.languages %}
|
{% for lang in site.languages %}
|
||||||
|
|
|
@ -1849,6 +1849,12 @@ img.monero-logo {
|
||||||
padding: 0.8rem 0.8rem 0.8rem 3.4rem;
|
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 {
|
.topnav .topnav-list a, .topnav .topnav-list label {
|
||||||
color: #6B6B6B;
|
color: #6B6B6B;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
Loading…
Reference in a new issue