toc(css): refactor

* move from main -> post-single
This commit is contained in:
Aditya Telange 2020-10-01 14:37:57 +05:30
parent 0e48338a7d
commit 76492223b4
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
2 changed files with 30 additions and 30 deletions

View File

@ -38,33 +38,3 @@
.pagination .next { .pagination .next {
margin-left: auto; margin-left: auto;
} }
.toc {
margin-bottom: 40px;
border: 1px solid var(--border);
border-radius: var(--radius);
padding: .5em;
}
.toc details summary {
cursor: zoom-in;
}
.toc details[open] summary {
cursor: zoom-out;
}
.toc .details {
display: inline;
font-weight: 500;
}
.toc blockquote {
border-left: 2px solid;
margin: 20px;
padding: 10px 40px;
}
.toc li ul {
margin-left: var(--gap);
}

View File

@ -227,6 +227,36 @@
border-radius: 4px; border-radius: 4px;
} }
.toc {
margin-bottom: 40px;
border: 1px solid var(--border);
border-radius: var(--radius);
padding: .5em;
}
.toc details summary {
cursor: zoom-in;
}
.toc details[open] summary {
cursor: zoom-out;
}
.toc .details {
display: inline;
font-weight: 500;
}
.toc blockquote {
border-left: 2px solid;
margin: 20px;
padding: 10px 40px;
}
.toc li ul {
margin-left: var(--gap);
}
.post-footer { .post-footer {
margin-top: 56px; margin-top: 56px;
} }