Make navbar fixed, if the window is tall enough
This commit is contained in:
parent
252f306793
commit
04c2363209
@ -61,7 +61,7 @@ figure {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#navbar {
|
#navbar {
|
||||||
position: absolute;
|
position: fixed;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 250px;
|
width: 250px;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -172,6 +172,12 @@ h3 {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media all and (max-height: 568px) {
|
||||||
|
#navbar {
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media all and (max-width: 780px) {
|
@media all and (max-width: 780px) {
|
||||||
#navbar {
|
#navbar {
|
||||||
position: static;
|
position: static;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user