mobile devices portrait: don’t waste too much space on left / right margin
This commit is contained in:
parent
c7f2a9efdc
commit
40201e9c65
2 changed files with 28 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
z-index: 2;
|
||||
box-sizing: border-box;
|
||||
background-color: @color-site-bg;
|
||||
|
||||
}
|
||||
p {
|
||||
font-size: @font-size-default;
|
||||
|
|
|
@ -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{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue