Update post-single.css

Enable better post  navigation
This commit is contained in:
Shahid Parvez 2022-09-23 19:18:03 +06:00 committed by GitHub
parent 3a0a4811cb
commit 0e00aa57c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -253,6 +253,9 @@
}
.toc {
position: sticky;
top: .2rem;
z-index: 100;
margin: 0 2px 40px 2px;
border: 1px solid var(--border);
background: var(--code-bg);
@ -398,4 +401,4 @@ h1>a>svg {
img.in-text {
display: inline;
margin: auto;
}
}