Difference between revisions of "MediaWiki:Common.css"
From Techniques for computer generated pictures in complex dynamics
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
| − | + | /* | |
#mw-content-text { font-size : 14px; } | #mw-content-text { font-size : 14px; } | ||
div#content { margin-left:0; max-width: 800px; } | div#content { margin-left:0; max-width: 800px; } | ||
| Line 7: | Line 7: | ||
div#mw-navigation { max-width:1100px; } | div#mw-navigation { max-width:1100px; } | ||
#mw-navigation h2 { max-width:1100px; } | #mw-navigation h2 { max-width:1100px; } | ||
| + | */ | ||
| + | |||
| + | * 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; | ||
| + | } | ||
Revision as of 10:50, 19 December 2015
/* CSS placed here will be applied to all skins */
/*
#mw-content-text { font-size : 14px; }
div#content { margin-left:0; max-width: 800px; }
body { max-width:1100px; margin: 0 auto; }
div#mw-head { right:auto; max-width:inherit; }
div#mw-navigation { max-width:1100px; }
#mw-navigation h2 { max-width:1100px; }
*/
* 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;
}