2025-03-02 11:28:31 -06:00
|
|
|
/* Custom styling for IT Learning Notes */
|
|
|
|
|
|
2025-03-02 12:21:23 -06:00
|
|
|
/* Show the left navigation sidebar but modify styling */
|
2025-03-02 12:11:33 -06:00
|
|
|
.sidebar {
|
2025-03-02 12:27:47 -06:00
|
|
|
display: block !important;
|
|
|
|
|
width: auto !important;
|
|
|
|
|
visibility: visible !important;
|
2025-03-02 12:21:23 -06:00
|
|
|
background-color: rgba(245, 245, 247, 0.95) !important;
|
|
|
|
|
border-right: 1px solid #e1e4e8 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-scrollbox {
|
|
|
|
|
padding: 10px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-02 12:27:47 -06:00
|
|
|
/* Hide the floating right-side table of contents - using more specific and aggressive rules */
|
|
|
|
|
.nav-wide-wrapper,
|
|
|
|
|
div[class*="toc"],
|
|
|
|
|
.page-toc,
|
2025-03-02 12:21:23 -06:00
|
|
|
.pagetoc,
|
2025-03-02 12:27:47 -06:00
|
|
|
.table-of-contents,
|
|
|
|
|
aside.right-side,
|
|
|
|
|
aside.sidebar-right,
|
|
|
|
|
.floating-toc,
|
|
|
|
|
#toc-container {
|
|
|
|
|
display: none !important;
|
|
|
|
|
visibility: hidden !important;
|
|
|
|
|
width: 0 !important;
|
|
|
|
|
height: 0 !important;
|
|
|
|
|
position: absolute !important;
|
|
|
|
|
right: -9999px !important;
|
|
|
|
|
opacity: 0 !important;
|
|
|
|
|
pointer-events: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Override any inline styles that might be applied to the TOC */
|
|
|
|
|
[id*="toc"],
|
|
|
|
|
[class*="toc"],
|
|
|
|
|
[class*="content"] [class*="toc"],
|
|
|
|
|
[id*="sidebar-toc"],
|
|
|
|
|
[class*="sidebar-toc"] {
|
2025-03-02 12:11:33 -06:00
|
|
|
display: none !important;
|
2025-03-02 12:14:39 -06:00
|
|
|
visibility: hidden !important;
|
2025-03-02 12:11:33 -06:00
|
|
|
}
|
|
|
|
|
|
2025-03-02 12:21:23 -06:00
|
|
|
/* Make content take up appropriate width */
|
2025-03-02 12:11:33 -06:00
|
|
|
.content-wrap {
|
2025-03-02 12:21:23 -06:00
|
|
|
margin-left: auto !important;
|
|
|
|
|
margin-right: auto !important;
|
|
|
|
|
max-width: calc(100% - 300px) !important;
|
2025-03-02 12:11:33 -06:00
|
|
|
padding: 0 30px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-02 12:27:47 -06:00
|
|
|
/* Ensure the main content fills the space */
|
|
|
|
|
main,
|
|
|
|
|
.content,
|
|
|
|
|
.page,
|
|
|
|
|
article,
|
|
|
|
|
.page-content {
|
|
|
|
|
max-width: 100% !important;
|
|
|
|
|
margin-right: 0 !important;
|
|
|
|
|
padding-right: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-02 12:21:23 -06:00
|
|
|
/* Improve chapter navigation */
|
|
|
|
|
.chapter {
|
|
|
|
|
line-height: 1.3 !important;
|
|
|
|
|
font-size: 0.9em !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chapter li a {
|
|
|
|
|
display: block !important;
|
|
|
|
|
padding: 5px 0 !important;
|
|
|
|
|
text-overflow: ellipsis !important;
|
|
|
|
|
overflow: hidden !important;
|
|
|
|
|
white-space: nowrap !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chapter li a:hover {
|
|
|
|
|
text-decoration: none !important;
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.05) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chapter .active {
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.07) !important;
|
|
|
|
|
font-weight: bold !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Improve nested section visibility */
|
|
|
|
|
.chapter li.chapter-item {
|
|
|
|
|
margin-left: 1em !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chapter li.chapter-item.expanded {
|
|
|
|
|
margin-left: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Navigation buttons */
|
2025-03-02 11:59:34 -06:00
|
|
|
.nav-chapters {
|
|
|
|
|
min-width: 30px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-02 12:21:23 -06:00
|
|
|
/* In-page TOC styling */
|
2025-03-02 11:35:08 -06:00
|
|
|
.toc {
|
|
|
|
|
background-color: #f8f9fa;
|
|
|
|
|
border: 1px solid #eaecef;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
padding: 1em;
|
|
|
|
|
margin-bottom: 2em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.toc ul, .toc ol {
|
|
|
|
|
list-style-type: none;
|
|
|
|
|
padding-left: 1em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.toc li {
|
|
|
|
|
margin: 0.5em 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Back to top link styling */
|
|
|
|
|
a[href^="#"] {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
color: #4183c4;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a[href^="#"]:hover {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Navigation links at bottom of sections */
|
|
|
|
|
a[href="#user-management-solutions-"],
|
|
|
|
|
a[href="#storage-management-solutions-"],
|
|
|
|
|
a[href="#service-management-solutions-"],
|
|
|
|
|
a[href="#network-solutions-"],
|
|
|
|
|
a[href="#security-solutions-"],
|
|
|
|
|
a[href="#container-management-solutions-"],
|
|
|
|
|
a[href="#system-recovery-solutions-"],
|
|
|
|
|
a[href="#shell-scripting-solutions-"] {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
background-color: #f1f8ff;
|
|
|
|
|
padding: 0.3em 0.6em;
|
|
|
|
|
margin: 1.5em 0;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
border-left: 4px solid #4183c4;
|
|
|
|
|
font-size: 0.9em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Section anchor targets */
|
|
|
|
|
div[id^="scenario-"] {
|
|
|
|
|
scroll-margin-top: 70px;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-02 11:28:31 -06:00
|
|
|
/* Ensure all sections are properly visible */
|
|
|
|
|
.section {
|
|
|
|
|
display: block !important;
|
|
|
|
|
visibility: visible !important;
|
|
|
|
|
opacity: 1 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Better styling for scenario headers */
|
|
|
|
|
h2 {
|
|
|
|
|
margin-top: 2em;
|
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
|
padding-bottom: 0.3em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Make anchors more reliable */
|
|
|
|
|
h2:before, h3:before {
|
|
|
|
|
content: "";
|
|
|
|
|
display: block;
|
|
|
|
|
height: 70px;
|
|
|
|
|
margin-top: -70px;
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Styling for code blocks */
|
|
|
|
|
pre {
|
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
padding: 1em;
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Improve table styling */
|
|
|
|
|
table {
|
|
|
|
|
width: 100%;
|
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
margin: 20px 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
table, th, td {
|
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
th, td {
|
|
|
|
|
padding: 12px;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
th {
|
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Style for tags */
|
|
|
|
|
.tag {
|
|
|
|
|
background-color: #f0f0f0;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
padding: 3px 6px;
|
|
|
|
|
font-size: 0.85em;
|
|
|
|
|
font-family: monospace;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Ensure content is visible */
|
|
|
|
|
.content {
|
|
|
|
|
display: block !important;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-02 12:11:33 -06:00
|
|
|
/* Ensure main menu button is visible */
|
|
|
|
|
#menu-bar {
|
|
|
|
|
z-index: 10 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Make menu button more visible for navigation */
|
|
|
|
|
#menu-bar i {
|
|
|
|
|
font-size: 1.5em !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Menu items more spaced when menu is opened */
|
|
|
|
|
#menu-bar.open .menu-title {
|
|
|
|
|
padding: 10px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-02 12:21:23 -06:00
|
|
|
/* Dark mode adjustments */
|
|
|
|
|
.ayu .sidebar,
|
|
|
|
|
.navy .sidebar,
|
|
|
|
|
.coal .sidebar {
|
2025-03-02 12:03:42 -06:00
|
|
|
background-color: #292c2f !important;
|
|
|
|
|
border-right: 1px solid #393f44 !important;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-02 12:21:23 -06:00
|
|
|
/* Responsive adjustments */
|
2025-03-02 12:03:42 -06:00
|
|
|
@media only screen and (max-width: 1300px) {
|
|
|
|
|
.content-wrap {
|
2025-03-02 12:21:23 -06:00
|
|
|
max-width: calc(100% - 250px) !important;
|
2025-03-02 12:03:42 -06:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media only screen and (max-width: 1080px) {
|
|
|
|
|
.content-wrap {
|
2025-03-02 12:21:23 -06:00
|
|
|
max-width: calc(100% - 200px) !important;
|
2025-03-02 12:03:42 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chapter {
|
|
|
|
|
font-size: 0.85em !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media only screen and (max-width: 700px) {
|
|
|
|
|
.content-wrap {
|
|
|
|
|
max-width: 100% !important;
|
|
|
|
|
}
|
2025-03-02 11:28:31 -06:00
|
|
|
}
|