Table of contents styling and spacing
This commit is contained in:
parent
73320e6fb3
commit
cb3d538a54
2 changed files with 12 additions and 0 deletions
|
@ -77,6 +77,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@layer layout {
|
@layer layout {
|
||||||
|
aside#table-of-contents {
|
||||||
|
grid-column: content-start / content-end;
|
||||||
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
--line-width: 4px;
|
--line-width: 4px;
|
||||||
|
|
||||||
|
@ -106,6 +110,10 @@
|
||||||
padding: var(--body-item-spacing);
|
padding: var(--body-item-spacing);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
details > summary + #TableOfContents {
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
fieldset {
|
fieldset {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: var(--body-item-spacing);
|
padding: var(--body-item-spacing);
|
||||||
|
|
|
@ -171,6 +171,10 @@
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#TableOfContents ul {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
.social {
|
.social {
|
||||||
letter-spacing: 2px;
|
letter-spacing: 2px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue