MediaWiki:Common.css: Difference between revisions

From Theatre Organ Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 36: Line 36:
#left-navigation,
#left-navigation,
#right-navigation {
#right-navigation {
     margin-left: 12em;
     margin-left: 11em;
}
}

Latest revision as of 17:47, 27 June 2025

/* CSS placed here will be applied to all skins */
#footer-poweredbyico,
#f-poweredbyico,
li#footer-info-poweredby {
    display: none !important;
}


/* Ensure page uses normal block layout */
body {
    display: block !important;
}

/* Sticky sidebar aligned to the far left */
#mw-panel {
    position: fixed;
    top: 0;
    left: 0; /* Ensure it's at the left edge */
    width: 10.5em;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    background: #f8f9fa; /* optional, helps with visual separation */
    border-right: 1px solid #ccc;
}

/* Push the rest of the layout to the right to make room */
#mw-head,
#mw-page-base,
#content,
#mw-footer {
    margin-left: 10.5em !important; /* Match sidebar width */
}

/* Optional: tighten up spacing if you see overlap still */
#left-navigation,
#right-navigation {
    margin-left: 11em;
}