changed width scaling of table of contents to better adapt to screen width

This commit is contained in:
2026-03-07 13:47:28 +01:00
parent b8eaa69cc0
commit 4aa078a9a2

View File

@@ -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>