MediaWiki:Vector.css: Difference between revisions

From D4RPoMM
Jump to navigation Jump to search
No edit summary
Blanked the page
Tags: Blanking Manual revert
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Hide all sidebar content blocks for anonymous users */
body:not(.mw-user-loggedin) #mw-panel .portal {
    display: none !important;
}


/* Keep the logo visible */
body:not(.mw-user-loggedin) #p-logo {
    display: block !important;
}
/* Ensure logo and image are visible */
body:not(.mw-user-loggedin) #p-logo a,
body:not(.mw-user-loggedin) #p-logo a img {
    display: block !important;
    visibility: visible !important;
}
/* Keep personal tools (login link) */
body:not(.mw-user-loggedin) #p-personal {
    display: block !important;
}
/* 🆕 Preserve an empty sidebar block for layout balance */
body:not(.mw-user-loggedin) #mw-panel::after {
    content: '';
    display: block;
    height: 400px;  /* Adjust this height if needed */
    background: transparent;
}
/* Optional: tweak appearance */
body:not(.mw-user-loggedin) #mw-panel {
    padding-top: 0;
    background: none;
}

Latest revision as of 10:29, 24 April 2025