0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 16:22:44 +00:00

Added a table of contents snippet

This commit is contained in:
Scott Tolksdorf
2016-12-03 15:47:20 -05:00
parent d96ac0f3ca
commit be783e5f6b
7 changed files with 137 additions and 7 deletions

View File

@@ -518,7 +518,6 @@ body {
-moz-column-break-after: always;
}
.phb p,
.phb ul,
.phb blockquote,
.phb table {
z-index: 15;
@@ -540,6 +539,10 @@ body {
margin-bottom: 0px;
margin-left: 1.5em;
}
.phb li {
-webkit-column-break-inside: avoid;
column-break-inside: avoid;
}
.phb .spellList {
font-family: ScalySans;
column-count: 4;
@@ -627,3 +630,21 @@ body {
.phb pre + .descriptive {
margin-top: 8px;
}
.phb .toc {
-webkit-column-break-inside: avoid;
column-break-inside: avoid;
}
.phb .toc a {
color: black;
text-decoration: none;
}
.phb .toc a:hover {
text-decoration: underline;
}
.phb .toc ul {
padding-left: 0;
list-style-type: none;
}
.phb .toc > ul > li {
margin-bottom: 10px;
}