changed width scaling of table of contents to better adapt to screen width
This commit is contained in:
@@ -80,7 +80,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.toc-container {
|
.toc-container {
|
||||||
width: 70%;
|
max-width: 650px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
@@ -134,11 +134,5 @@
|
|||||||
.toc-level-1::before, .toc-level-2::before, .toc-level-3::before {
|
.toc-level-1::before, .toc-level-2::before, .toc-level-3::before {
|
||||||
content: "└ ";
|
content: "└ ";
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 550px) {
|
|
||||||
.toc-container {
|
|
||||||
width: 95%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user