Difference between revisions of "MediaWiki:Vector.css"
Line 10: | Line 10: | ||
*/ | */ | ||
+ | |||
+ | /* Don't display some stuff on the main page */ | ||
+ | .page-Main_Page #deleteconfirm, | ||
+ | .page-Main_Page #t-cite, | ||
+ | .page-Main_Page #footer-info-lastmod, | ||
+ | .action-view.page-Main_Page #siteSub, | ||
+ | .action-view.page-Main_Page #contentSub, | ||
+ | .action-view.page-Main_Page .firstHeading { | ||
+ | display: none !important; | ||
+ | } | ||
+ | |||
+ | /* Position coordinates */ | ||
+ | #coordinates { | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | right: 0; | ||
+ | float: right; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | line-height: 1.5em; | ||
+ | text-align: right; | ||
+ | text-indent: 0; | ||
+ | font-size: 85%; | ||
+ | text-transform: none; | ||
+ | white-space: nowrap; | ||
+ | } | ||
+ | /* correct position for VE */ | ||
+ | .ve-ce-surface-enabled #coordinates { | ||
+ | margin-right: 2em; | ||
+ | margin-top: -1em; | ||
+ | } | ||
+ | .mw-indicator #coordinates { | ||
+ | position: absolute; | ||
+ | top: 3em; | ||
+ | right: 0; | ||
+ | line-height: 1.6; | ||
+ | text-align: right; | ||
+ | font-size: 92%; | ||
+ | white-space: nowrap; | ||
+ | } | ||
+ | |||
+ | /* FR topicon position */ | ||
+ | div.flaggedrevs_short { | ||
+ | position: absolute; | ||
+ | top: -3em; | ||
+ | right: 100px; | ||
+ | z-index: 1; | ||
+ | } | ||
+ | |||
+ | /* Make "From Wikipedia, the free encyclopedia" a bit smaller */ | ||
+ | #siteSub { | ||
+ | font-size: 92%; | ||
+ | } | ||
+ | |||
+ | /* Move page status indicators down slightly */ | ||
+ | .mw-body .mw-indicators { | ||
+ | padding-top: 0.4em; | ||
+ | } |
Revision as of 20:11, 8 June 2019
/* CSS placed here will affect users of the Vector skin */
#content,
/*
#footer {
margin-left: 14em;
}
#left-navigation {
left: 14em;
}
*/
/* Don't display some stuff on the main page */
.page-Main_Page #deleteconfirm,
.page-Main_Page #t-cite,
.page-Main_Page #footer-info-lastmod,
.action-view.page-Main_Page #siteSub,
.action-view.page-Main_Page #contentSub,
.action-view.page-Main_Page .firstHeading {
display: none !important;
}
/* Position coordinates */
#coordinates {
position: absolute;
top: 0;
right: 0;
float: right;
margin: 0;
padding: 0;
line-height: 1.5em;
text-align: right;
text-indent: 0;
font-size: 85%;
text-transform: none;
white-space: nowrap;
}
/* correct position for VE */
.ve-ce-surface-enabled #coordinates {
margin-right: 2em;
margin-top: -1em;
}
.mw-indicator #coordinates {
position: absolute;
top: 3em;
right: 0;
line-height: 1.6;
text-align: right;
font-size: 92%;
white-space: nowrap;
}
/* FR topicon position */
div.flaggedrevs_short {
position: absolute;
top: -3em;
right: 100px;
z-index: 1;
}
/* Make "From Wikipedia, the free encyclopedia" a bit smaller */
#siteSub {
font-size: 92%;
}
/* Move page status indicators down slightly */
.mw-body .mw-indicators {
padding-top: 0.4em;
}