Fix conflicting CSS rules to completely hide sidebar
This commit is contained in:
+7
-2
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user