Render footer in sidebar for article view
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
.footer {
|
||||
border-top: 1px solid var(--color-gray-normal);
|
||||
transition: opacity 450ms cubic-bezier(0.24, 1.12, 0.71, 0.98) 600ms;
|
||||
transition: opacity 450ms cubic-bezier(0.24, 1.12, 0.71, 0.98) 1500ms;
|
||||
opacity: 1;
|
||||
backface-visibility: hidden;
|
||||
|
||||
&.is-hidden {
|
||||
opacity: 0;
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 10;
|
||||
|
||||
&__nav,
|
||||
&__content {
|
||||
@@ -20,6 +21,7 @@
|
||||
}
|
||||
|
||||
&__nav {
|
||||
background: var(--color-gray-dark);
|
||||
flex: 0 0 calc((100vw - 1200px) / 2 + 400px);
|
||||
&__inner {
|
||||
box-sizing: border-box;
|
||||
|
||||
@@ -30,6 +30,5 @@
|
||||
|
||||
&__footer {
|
||||
flex: 0 0 auto;
|
||||
z-index: 200;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user