MediaWiki:Vector.css: Difference between revisions

From D4RPoMM
Jump to navigation Jump to search
No edit summary
Blanked the page
Tags: Blanking Manual revert
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ==========================
  = GLOBAL VISIBILITY RULES =
  ========================== */


/* Hide all sidebar blocks for anonymous users */
.mw-anon-user #mw-panel > .portal {
    display: none !important;
}
/* Show only the 'Personal tools' (top-right login link) */
.mw-anon-user #p-personal {
    display: block !important;
}
/* Ensure the logo remains visible */
.mw-anon-user #p-logo {
    display: block !important;
}
/* Just in case: also show the actual logo image inside */
.mw-anon-user #p-logo a,
.mw-anon-user #p-logo a img {
    display: block !important;
    visibility: visible !important;
}
/* Optional: clean up the empty sidebar space */
.mw-anon-user #mw-panel {
    padding-top: 0;
    background: none;
}
/* Optional: center content a bit more for anonymous users */
.mw-anon-user #content {
    margin-left: 0 !important;
}

Latest revision as of 10:29, 24 April 2025