mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
Make the side table of contents for the thesis a bit nicer
This commit is contained in:
parent
65f3e2b9bc
commit
a0928b5086
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user