Difference between revisions of "MediaWiki:Common.css"
From Lust Case
| (2 intermediate revisions by the same user not shown) | |||
| Line 10: | Line 10: | ||
.wikitable, .wikitable td {background-color: transparent !important; border: none !important; vertical-align: top;} |
.wikitable, .wikitable td {background-color: transparent !important; border: none !important; vertical-align: top;} |
||
| + | |||
| + | .fullwidth {width: 100%; height: auto;} |
||
| + | |||
| + | /* One-sided navigation menu */ |
||
| + | @media (min-width: 1340px) { |
||
| + | #mw-content-block { |
||
| + | display: block; |
||
| + | } |
||
| + | #mw-content, |
||
| + | #content-bottom-stuff { |
||
| + | margin-left: 14em; |
||
| + | } |
||
| + | #mw-content-wrapper { |
||
| + | float: right; |
||
| + | margin-left: -14em; |
||
| + | width: 100%; |
||
| + | } |
||
| + | #mw-related-navigation { |
||
| + | width: 14em; |
||
| + | padding: 0 1em 0 0; |
||
| + | } |
||
| + | div.color-middle { |
||
| + | margin-right: 0; |
||
| + | } |
||
| + | .mw-wiki-logo { |
||
| + | display: inline-block; |
||
| + | } |
||
| + | } |
||
| + | |||
| + | /* Align top colour bar with page columns */ |
||
| + | .ts-inner { |
||
| + | padding: 0 0 0 1em; |
||
| + | } |
||
| + | |||
| + | /* Re-aligning bottom logos */ |
||
| + | #footer { padding-right: 1em; } |
||
Latest revision as of 11:53, 22 May 2023
/* CSS placed here will be applied to all skins */
#ca-talk { display: none !important; }
#ca-watch { display: none !important; }
#t-whatlinkshere, #t-recentchangeslinked, #t-upload, #t-print, #t-permalink, #t-info { display: none !important; }
h2 {clear: both; display: block; margin-top: 40px !important; margin-bottom: 20px !important;}
.wikitable, .wikitable td {background-color: transparent !important; border: none !important; vertical-align: top;}
.fullwidth {width: 100%; height: auto;}
/* One-sided navigation menu */
@media (min-width: 1340px) {
#mw-content-block {
display: block;
}
#mw-content,
#content-bottom-stuff {
margin-left: 14em;
}
#mw-content-wrapper {
float: right;
margin-left: -14em;
width: 100%;
}
#mw-related-navigation {
width: 14em;
padding: 0 1em 0 0;
}
div.color-middle {
margin-right: 0;
}
.mw-wiki-logo {
display: inline-block;
}
}
/* Align top colour bar with page columns */
.ts-inner {
padding: 0 0 0 1em;
}
/* Re-aligning bottom logos */
#footer { padding-right: 1em; }