mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-07 16:17:50 +00:00
refactor(mobile): resume footer slide animation & content min-height
This commit is contained in:
parent
fd5df7e1a1
commit
3432413020
@ -1195,6 +1195,10 @@ $sidebar-display: "sidebar-display";
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#main-wrapper {
|
||||||
|
min-height: calc(100vh - #{$footer-height-mobile});
|
||||||
|
}
|
||||||
|
|
||||||
#core-wrapper {
|
#core-wrapper {
|
||||||
min-height: calc(100vh - #{$topbar-height} - #{$footer-height-mobile}) !important;
|
min-height: calc(100vh - #{$topbar-height} - #{$footer-height-mobile}) !important;
|
||||||
|
|
||||||
@ -1259,13 +1263,18 @@ $sidebar-display: "sidebar-display";
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
@include slide;
|
||||||
|
}
|
||||||
|
|
||||||
[#{$sidebar-display}] {
|
[#{$sidebar-display}] {
|
||||||
#sidebar {
|
#sidebar {
|
||||||
transform: translateX(0);
|
transform: translateX(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#topbar-wrapper,
|
#topbar-wrapper,
|
||||||
#main-wrapper {
|
#main-wrapper,
|
||||||
|
footer {
|
||||||
transform: translateX(#{$sidebar-width});
|
transform: translateX(#{$sidebar-width});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user