Update lang drop-down & topnav CSS

See merge request monero-project/monero-site!1043
This commit is contained in:
luigi1111 2019-04-08 20:43:09 +02:00
commit 7b112594b1

View File

@ -525,6 +525,10 @@
} }
@media only screen and (min-width: 62em) { @media only screen and (min-width: 62em) {
.topnav-list .end-xs .col-md-12 {
margin-right: 3.5rem;
}
.container { .container {
width: 61rem; width: 61rem;
} }
@ -1850,11 +1854,12 @@ img.monero-logo {
position: relative; position: relative;
display: inline-block; display: inline-block;
padding: 0; padding: 0;
margin-right: 3.5rem; /*margin-right: 3.5rem;*/
} }
.topnav .topnav-list .language-change label { .topnav .topnav-list .language-change label {
height: 100%; height: 100%;
min-width: 75px;
/*width: 100%;*/ /*width: 100%;*/
padding: 0.8rem 1rem; padding: 0.8rem 1rem;
display: block; display: block;
@ -2047,8 +2052,12 @@ img.monero-logo {
@media only screen and (max-width: 75rem) { @media only screen and (max-width: 75rem) {
.topnav .topnav-list .top-link.language-change { .topnav-list .end-xs .col-md-12 {
margin-right: 3.1rem; margin-right: 3.1rem;
}
.topnav .topnav-list .top-link.language-change {
/*margin-right: 3.1rem;*/
font-size: 0.85rem; font-size: 0.85rem;
} }
@ -2062,6 +2071,8 @@ img.monero-logo {
.topnav .topnav-list .top-link { .topnav .topnav-list .top-link {
padding: 0.8rem 0.5rem; padding: 0.8rem 0.5rem;
max-width: 22%;
vertical-align: middle;
} }
.topnav .topnav-list .language-change .dropdown-content { .topnav .topnav-list .language-change .dropdown-content {