mirror of
https://github.com/umap-project/umap.git
synced 2025-05-05 06:01:48 +02:00
Update nav.css
Adding RTL styles to nav.css
This commit is contained in:
parent
649f0e8f7b
commit
319f97fae3
1 changed files with 15 additions and 1 deletions
|
@ -25,6 +25,11 @@ footer a.branding {
|
||||||
padding-left: 70px;
|
padding-left: 70px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
html[dir="rtl"] footer a.branding {
|
||||||
|
background-position: right center;
|
||||||
|
padding-right: 70px;
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
footer .i18n_switch {
|
footer .i18n_switch {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -55,6 +60,11 @@ footer .i18n_switch {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 2.5rem;
|
font-size: 2.5rem;
|
||||||
}
|
}
|
||||||
|
html[dir="rtl"] .umap-nav h1 a {
|
||||||
|
background-position: right center;
|
||||||
|
padding-right: 80px;
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
.umap-nav ul {
|
.umap-nav ul {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@ -68,7 +78,11 @@ footer .i18n_switch {
|
||||||
min-width: 150px;
|
min-width: 150px;
|
||||||
margin-left: 1rem;
|
margin-left: 1rem;
|
||||||
}
|
}
|
||||||
|
html[dir="rtl"] .umap-nav .button,
|
||||||
|
html[dir="rtl"] .umap-nav .button:hover {
|
||||||
|
margin-right: 1rem;
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
@media only screen and (min-width: 500px) {
|
@media only screen and (min-width: 500px) {
|
||||||
.umap-nav ul li {
|
.umap-nav ul li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
Loading…
Reference in a new issue