pfwb: adjust navigation bar for new videos icon (#40205)

This commit is contained in:
Frédéric Péters 2020-02-26 14:06:53 +01:00
parent b38bb8abbd
commit c41c8b6f6c
1 changed files with 9 additions and 2 deletions

View File

@ -32,14 +32,19 @@ span#environment-label {
}
}
div#nav-wrapper {
max-width: $width;
margin: 0 auto;
}
div#nav {
text-align: center;
z-index: 10;
margin-top: -100px;
max-width: 800px;
margin-left: 200px;
position: relative;
@media screen and ($max-mobile-viewport) {
margin-top: 0;
margin-left: 0;
}
& > ul {
transition: all ease 0.2s;
@ -48,6 +53,7 @@ div#nav {
}
& > li {
> a {
text-align: center;
display: table;
height: 35px;
padding-top: 40px;
@ -55,6 +61,7 @@ div#nav {
line-height: 120%;
padding-bottom: 5px;
@media screen and ($max-mobile-viewport) {
text-align: left;
height: auto;
padding: 1rem;
width: auto;