MediaWiki:Common.css: Difference between revisions

Add centered text under the logo
Fix VisualEditor toolbar overlap and apply OSRS colors
Line 575: Line 575:
#p-navigation {
#p-navigation {
     margin-top: 10px !important;
     margin-top: 10px !important;
}
/* --- 15. VisualEditor Toolbar Fixes --- */
/* Prevent the VE toolbar from overlapping the beige header bar by enforcing z-indexes */
#mw-head {
    position: absolute;
    z-index: 100 !important;
}
#mw-head::before {
    z-index: 0 !important;
}
#left-navigation, #right-navigation {
    z-index: 2 !important;
}
/* Style the VisualEditor toolbar to match the OSRS parchment theme */
.ve-init-mw-desktopArticleTarget-toolbar,
.oo-ui-toolbar-bar,
.oo-ui-toolbar {
    background-color: #f1e7d3 !important;
    border-bottom: 2px solid #b3a07d !important;
    border-top: none !important;
    z-index: 90 !important; /* Ensure it tucks UNDER the header tabs/bar if it tries to overlap */
}
/* Add the dark brown top border specifically to the VE toolbar so tabs have something to sit on */
.ve-init-mw-desktopArticleTarget-toolbar {
    border-top: 3px solid #3d2b1f !important;
}
/* Ensure dropdowns and menus in VE are also parchment colored */
.oo-ui-popupWidget-popup,
.oo-ui-menuSelectWidget {
    background-color: #fcf6e8 !important;
    border: 1px solid #b3a07d !important;
}
}