Update post-single.css
Floating Table of Contents will allow better post navigation
This commit is contained in:
parent
3a0a4811cb
commit
a692f94b7d
@ -253,6 +253,10 @@
|
||||
}
|
||||
|
||||
.toc {
|
||||
position: sticky;
|
||||
top: .2rem;
|
||||
z-index: 100;
|
||||
padding: .8rem 0;
|
||||
margin: 0 2px 40px 2px;
|
||||
border: 1px solid var(--border);
|
||||
background: var(--code-bg);
|
||||
@ -398,4 +402,4 @@ h1>a>svg {
|
||||
img.in-text {
|
||||
display: inline;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user