Make the side table of contents for the thesis a bit nicer

This commit is contained in:
Tom Hodson 2022-11-25 12:04:58 +01:00
parent 65f3e2b9bc
commit a0928b5086

View File

@ -5,4 +5,28 @@ nav {
.current {
color: darkslategray;
}
}
nav.page-table-of-contents {
white-space: nowrap;
li li {padding-right: 2em;}
}
@media
only screen and (max-width: $horizontal_breakpoint),
only screen and (max-height: $vertical_breakpoint)
{
nav.page-table-of-contents {
white-space: normal;
justify-content: left;
text-align: left;
ul {padding-left: 0em;}
li li {
padding-right: 0em;
padding-left: 2em;
}
}
}