Difference between revisions of "MediaWiki:Vector.css"

From Notes
Jump to navigation Jump to search
(Created page with "→‎All CSS here will be loaded for users of the Vector skin: →‎upper blue line: #mw-head-base { margin-left: auto !important; margin-right: auto !important; max-width...")
 
Line 28: Line 28:
 
position: absolute;
 
position: absolute;
 
top: 0;
 
top: 0;
left: 50%;
+
left: 50%;
margin-left: -500px;
+
// margin-left: -500px;
 
}
 
}
 
div#mw-panel {
 
div#mw-panel {

Revision as of 22:00, 20 February 2021

/* All CSS here will be loaded for users of the Vector skin */

/* upper blue line */
#mw-head-base {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 1000px !important;
}
/* lower blue line + footer content */
#footer {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 1000px !important;
}
/* main content */
#content {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 1000px;
}
#bodyContent {
	z-index: 10;
}
#mw-navigation {
	margin-right: auto !important;
	max-width: 1190px;
        min-width: 1000px;
	position: absolute;
	top: 0;
    left: 50%;
    // margin-left: -500px;
}
div#mw-panel {
	position: relative;
	left: 0;
	margin-left: -190px;
        width:160px;
}
div#mw-head {
	position: relative;
        right: 0;
        margin-right: 0;
        max-width: 1000px;
}