mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 02:24:20 +00:00
13 lines
518 B
CSS
13 lines
518 B
CSS
|
/*
|
||
|
* The sidenav-fixed class is used which causes the sidenav to be fixed and open
|
||
|
* on large screens and hides to the regular functionality on smaller screens.
|
||
|
* In order to prevent the sidenav to overlap the content, the content (in our
|
||
|
* case header, main and footer) gets an offset equal to the width of the
|
||
|
* sidenav.
|
||
|
*/
|
||
|
@media only screen and (min-width : 993px) {
|
||
|
header, main, footer {padding-left: 300px;}
|
||
|
.modal:not(.bottom-sheet) {left: 300px;}
|
||
|
.navbar-fixed > nav {width: calc(100% - 300px)}
|
||
|
}
|