0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-21 22:47:50 +00:00

Change to nested lists, shrink font to match PHB

This commit is contained in:
Trevor Buckner
2023-05-30 17:17:17 -04:00
parent 71ec9034b7
commit 47680f07df
2 changed files with 57 additions and 20 deletions

View File

@@ -4,7 +4,7 @@ module.exports = () => {
return dedent`
{{index,wide,columns:5;
##### Index
- Ankh-Morpork
- Ankhesh-Bort
- city map, 7
- city watch, 12
- guilds, 19
@@ -49,5 +49,37 @@ module.exports = () => {
- types of magic, 15
- magic rules, 24
- magic mishaps, 28
- Socks
- types of socks, 9
- sock-related magic (yes, really), 15
- sock-related quests (no, really), 26
- Trolls
- appearance and biology, 11
- culture and language, 18
- troll rights and activism, 31
- Unknown University
- history and architecture, 12
- faculty and staff, 20
- courses and exams, 33
- Vampires
- types and origins, 13
- vampiric powers and weaknesses, 21
- vampiric etiquette and politics, 34
- Witches
- types and traditions, 14
- witchcraft and headology, 22
- witch trials and tribulations, 35
- Xylophones
- musical instruments or weapons?, 15
- xylophone-related magic and lore, 23
- xylophone-related quests and puzzles, 36
- Yetis
- appearance and behavior, 16
- yeti philosophy and religion, 24
- yeti encounters and stories, 37
- Zombies
- types and causes, 17
- zombie rights and duties, 25
- zombie survival and prevention, 38
}}`;
};

View File

@@ -1111,16 +1111,21 @@ break-inside : avoid;
// *****************************/
.page {
.index {
font-size:11px;
font-size : 0.218cm;
ul ul {
margin : 0;
}
ul {
margin-bottom: .5em;
padding-left: 1em;
text-indent: -1em;
padding-left : 0;
text-indent : 0;
list-style-type : none;
-webkit-column-break-inside: auto;
page-break-inside: auto;
break-inside: auto;
}
& > ul > li {
text-indent : -1.5em;
padding-left : 1.5em;
}
}
}