mobile devices portrait: don’t waste too much space on left / right margin

This commit is contained in:
Jana Deutschländer 2017-03-02 17:56:57 +01:00
commit 40201e9c65
2 changed files with 28 additions and 0 deletions

View file

@ -26,6 +26,7 @@
z-index: 2;
box-sizing: border-box;
background-color: @color-site-bg;
}
p {
font-size: @font-size-default;

View file

@ -245,3 +245,30 @@
}
}
}
@media @screen_max-xxs{
@mobileMargin: 4px;
.container{
margin: 0 @mobileMargin;
}
body.show-mobile-sidebar #dokuwiki__aside{
left: @mobileMargin;
}
#dokuwiki__usertools{
right: @mobileMargin;
}
#dokuwiki__footer{
.main-footer{
> *{
padding-left: 2rem;
padding-right: 2rem;
}
}
}
.page-footer{
}
}