Jump to content

MediaWiki:Group-sysop.css: Difference between revisions

From Costa Sano MediaWiki
Created page with "CSS placed here will affect sysops only: MediaWiki:Group-sysop.css - Admin Restoration: 1. Force the Top Bar (Read, Edit, History) back into view: html body .ns-3020 .vector-page-toolbar, html body .ns-0 .vector-page-toolbar { display: flex !important; Vector 2022 uses flex for the toolbar: visibility: visible !important; } 2. Force the Right Column (Tools/Cargo) back into view: html body .ns-3020 .vector-column-end, html body .ns-0..."
Tag: Recreated
 
No edit summary
Line 1: Line 1:
/* CSS placed here will affect sysops only */
/* MediaWiki:Group-sysop.css - High Specificity Restoration */


/* MediaWiki:Group-sysop.css - Admin Restoration */
/* 1. Restore the Top Toolbar (Read, Edit, History) */
 
/* We target the ID and the class to be absolutely sure */
/* 1. Force the Top Bar (Read, Edit, History) back into view */
html body.skin-vector-2022 .vector-page-toolbar,
html body .ns-3020 .vector-page-toolbar,  
html body.skin-vector-2022 #p-views,
html body .ns-0 .vector-page-toolbar {
html body.skin-vector-2022 #p-cactions {
     display: flex !important; /* Vector 2022 uses flex for the toolbar */
     display: flex !important;
     visibility: visible !important;
     visibility: visible !important;
}
}


/* 2. Force the Right Column (Tools/Cargo) back into view */
/* 2. Restore the Right Column Tools */
html body .ns-3020 .vector-column-end,
html body.skin-vector-2022 .vector-column-end {
html body .ns-0 .vector-column-end {
     display: block !important;
     display: block !important;
     visibility: visible !important;
     visibility: visible !important;
}
}


/* 3. Optional: Restore Sidebar for Sysop if hidden */
/* 3. Ensure the Page Content doesn't overlap the restored tools */
html body .vector-main-menu-container {
html body.skin-vector-2022 .mw-content-container {
     display: block !important;
     margin-right: 300px !important; /* Standard Vector column width */
}
}

Revision as of 22:21, 12 February 2026

/* MediaWiki:Group-sysop.css - High Specificity Restoration */

/* 1. Restore the Top Toolbar (Read, Edit, History) */
/* We target the ID and the class to be absolutely sure */
html body.skin-vector-2022 .vector-page-toolbar,
html body.skin-vector-2022 #p-views,
html body.skin-vector-2022 #p-cactions {
    display: flex !important;
    visibility: visible !important;
}

/* 2. Restore the Right Column Tools */
html body.skin-vector-2022 .vector-column-end {
    display: block !important;
    visibility: visible !important;
}

/* 3. Ensure the Page Content doesn't overlap the restored tools */
html body.skin-vector-2022 .mw-content-container {
    margin-right: 300px !important; /* Standard Vector column width */
}