MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(Created page with "→CSS placed here will be applied to all skins: .infobox { background: transparent; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .infobox-title { font-size: 2em; text-align: center; } .infobox-image { text-align: center; } .infobox th { text-align: right; vertical-align: top; width: 120px; } .infobox td { vertical-align: top; } ca-talk { display:none!important; } body.pag...") |
No edit summary |
||
Line 27: | Line 27: | ||
body.page-Main_Page li#ca-talk { display: none !important; } | body.page-Main_Page li#ca-talk { display: none !important; } | ||
/* 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 11:29, 4 November 2022
/* CSS placed here will be applied to all skins */
.infobox {
background: transparent;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox td {
vertical-align: top;
}
ca-talk { display:none!important; }
body.page-Main_Page li#ca-talk { display: none !important; }
/* 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;
}