MediaWiki:Common.css: Difference between revisions

Shift content down by 4px and stretch active tab to maintain seamless border connection
Shift header up by 30px and perfectly align the left edges of the beige bar and content
Line 698: Line 698:
.vector-menu-tabs .vector-menu-content-list > li.selected {
.vector-menu-tabs .vector-menu-content-list > li.selected {
     margin-bottom: -7px !important;
     margin-bottom: -7px !important;
}
/* --- 23. Shift Header Up & Unify Left Padding --- */
/* The user requested #mw-head to move up. We apply the negative margin and move the content up equally */
#mw-head {
    margin-top: -30px !important;
}
#content {
    margin-top: 35px !important; /* Shifted up 30px from 65px to stay connected to the tabs */
}
/* Unify the left-side alignment of the beige bar, the tabs, and the main content box
  so the beige bar never sticks out to the left of the active tab. */
#left-navigation {
    margin-left: 175px !important;
}
#content {
    margin-left: 175px !important;
}
#mw-head::before {
    left: 175px !important;
}
}