From bbab41e90fcd96c50c6d6f3140c8457bd30f4260 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 21 Oct 2023 21:49:04 -0500 Subject: [PATCH] WIP table of contents --- assets/css/bobastyle.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index d6a42a0..9061ec6 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -969,6 +969,7 @@ aside.quote { .main-container { max-width: 100%; margin: 8px 0; + padding: 0; } .breadcrumb { @@ -981,12 +982,17 @@ aside.quote { break-inside: avoid; } - .table-of-contents { + .table-of-contents:not(.print) { display: none; } .table-of-contents.print { display: block; + background-color: unset; + padding: 0; + } + .table-of-contents.print ul { + margin: 0; } #back-to-top {