Template:RidgeRun Platform Security Manual/styles.css: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 6: Line 6:
     justify-content: space-between;
     justify-content: space-between;
     align-items: center;
     align-items: center;
    /*background-color: #000c5e;*/
     background-color: #232E3C;
     background-color: #232E3C;
     border-radius: 4px;
     border-radius: 4px;
Line 25: Line 24:
     margin: 0;
     margin: 0;
     text-align: center;
     text-align: center;
     border: none; /* Ensure no border is applied */
     border: none;
}
}
.header p {
.header p {
Line 88: Line 87:
     padding: 10px;
     padding: 10px;
     background-color: #ffffff;
     background-color: #ffffff;
    /*background: linear-gradient(to bottom, #021FE2, #98CEFF);*/
     border: 1px solid #dee2e6;
     border: 1px solid #dee2e6;
     border-radius: 4px;
     border-radius: 4px;
Line 96: Line 94:
}
}
.sticky {
.sticky {
    /*position: -webkit-sticky; */
     position: sticky;
     position: sticky;
     top: 10px;
     top: 10px;
Line 162: Line 159:
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     justify-content: space-between; /* Align items with space between */
     justify-content: space-between;
}
}
.wiki-toc-list li a:hover {
.wiki-toc-list li a:hover {
Line 176: Line 173:
}
}
.icon-toggle.collapsed {
.icon-toggle.collapsed {
     transform: rotate(0deg); /* Right arrow */
     transform: rotate(0deg);
}
}
.icon-toggle.expanded {
.icon-toggle.expanded {
     transform: rotate(90deg); /* Down arrow */
     transform: rotate(90deg);
}
}
.current-page {
.current-page {
     background-color: #dddddd; /* Highlight color */
     background-color: #dddddd;
     font-weight: bold;
     font-weight: bold;
}
}
.current-section {
.current-section {
     background-color: #dddddd; /* Highlight color for parent section */
     background-color: #dddddd;
     font-weight: bold;
     font-weight: bold;
}
}
Line 212: Line 209:
     font-family: 'Arial', sans-serif;
     font-family: 'Arial', sans-serif;
     display: flex;
     display: flex;
     margin-top: 0 !important;
     margin-top: 0 !important; /* Reduced space */
     gap: 1rem; /* Space between sidebar and content */
     gap: 1rem;
     align-items: stretch; /* Ensures both child elements stretch to the same height */
     align-items: stretch;
}
}
.main-content .content {
.main-content .content {
Line 236: Line 233:
}
}
.image-container {
.image-container {
     text-align: center; /* Center the image within the div */
     text-align: center;
}
}
.image-container img {
.image-container img {
Line 247: Line 244:
     text-align: right;
     text-align: right;
     margin: 0;
     margin: 0;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
    /*border: 1px solid #dee2e6;*/
    /*margin-bottom: 10px;*/
}
}
.preferred-partner-banner-content img {
.preferred-partner-banner-content img {
Line 261: Line 255:
}
}
.highlight-animated {
.highlight-animated {
    /*animation: colorChange 2s infinite;*/
     animation: colorChange 2s 10;
     animation: colorChange 2s 10;
}
}
@keyframes colorChange {
@keyframes colorChange {
     0% {
     0% {
        /*color: #232e3c;*/
         background-color: transparent;
         background-color: transparent;
     }
     }
     50% {
     50% {
        /*color: #ffffff;*/
        /*background-color: #232e3c;*/
         background-color: #98CEFF;
         background-color: #98CEFF;
     }
     }
     100% {
     100% {
        /*color: #232e3c;*/
         background-color: transparent;
         background-color: transparent;
     }
     }
Line 284: Line 273:
         display: none;
         display: none;
     }
     }
}
/* === ADDED FIX: Remove space between nav-bar and title === */
.firstHeading {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.mw-body-content, .mw-content-ltr, #bodyContent {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
}