Fix conflicting CSS rules to completely hide sidebar

This commit is contained in:
Hugh Ratsch
2025-03-02 12:14:39 -06:00
parent 17624e4bd1
commit 0a8642fde0
+7 -2
View File
@@ -1,15 +1,21 @@
/* Custom styling for IT Learning Notes */
/* Hide the sidebar/TOC completely */
/* IMPORTANT: Hide the sidebar/TOC completely */
html body .sidebar,
.sidebar {
display: none !important;
width: 0 !important;
visibility: hidden !important;
}
/* Make content take up full width without sidebar */
html body .content-wrap,
.content-wrap {
margin-left: 0 !important;
margin-right: 0 !important;
max-width: 100% !important;
padding: 0 30px !important;
left: 0 !important;
}
/* Right/left navigation buttons */
@@ -143,7 +149,6 @@ th {
/* Ensure chapters don't disappear */
.chapter {
display: block !important;
visibility: visible !important;
}
/* Ensure main menu button is visible */