MediaWiki:Common.css: Difference between revisions

From Theatre Organ Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 6: Line 6:
}
}


/* Ensure page uses normal block layout */
body {
    display: block !important;
}
/* Sticky sidebar aligned to the far left */
#mw-panel {
#mw-panel {
     float: left;
     position: fixed;
     width: 12em; /* or your desired width */
    top: 0;
     position: relative;
    left: 0; /* Ensure it's at the left edge */
     height: auto !important; /* allow height to fit content */
     width: 10.5em;
     min-height: auto;
    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;
}
}

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;
}