MediaWiki:Vector-2022.css: Difference between revisions

Jump to navigation Jump to search
Created page with "--- Widen sidebar in Vector 2022 so ads fit ---: .vector-sidebar-container { width: 320px !important; Increase width for ads: background-color: #f8f9fa; Optional background: border-right: 1px solid #ddd; overflow-y: auto; } --- Shift main content so it doesn’t overlap ---: .vector-main-container, #content, .mw-body { margin-left: 340px !important; } --- Adjust the sticky header to align with new width ---: .vector-..."
 
Blanked the page
Tag: Blanking
 
Line 1: Line 1:
/* --- Widen sidebar in Vector 2022 so ads fit --- */
.vector-sidebar-container {
    width: 320px !important;      /* Increase width for ads */
    background-color: #f8f9fa;    /* Optional background */
    border-right: 1px solid #ddd;
    overflow-y: auto;
}


/* --- Shift main content so it doesn’t overlap --- */
.vector-main-container,
#content,
.mw-body {
    margin-left: 340px !important;
}
/* --- Adjust the sticky header to align with new width --- */
.vector-header-container {
    left: 320px !important;
}