We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47d033b commit 8957862Copy full SHA for 8957862
_sass/layout/post.scss
@@ -379,6 +379,7 @@ header {
379
#toc-popup {
380
$slide-in: slide-in 0.3s ease-out;
381
$slide-out: slide-out 0.3s ease-out;
382
+ $curtain-height: 2rem;
383
384
border-color: var(--toc-popup-border-color);
385
border-width: 1px;
@@ -469,10 +470,19 @@ header {
469
470
backdrop-filter: blur(5px);
471
}
472
473
+ &::after {
474
+ display: flex;
475
+ content: '';
476
+ position: relative;
477
+ background: linear-gradient(transparent, var(--main-bg) 70%);
478
+ height: $curtain-height;
479
+ }
480
+
481
#toc-popup-content {
482
overflow: auto;
483
max-height: calc(100vh - 4 * $topbar-height);
484
font-family: $font-family-heading;
485
+ margin-bottom: -$curtain-height;
486
487
488
0 commit comments