MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
(Created page with "→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 #contentSub2 { 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;...") |
Tags: Replaced Undo |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
} | } | ||
body.skin-vector-legacy #coordinates { | |||
#coordinates { | |||
position: absolute; | position: absolute; | ||
top: | top: 3.5em; | ||
right: 0; | right: 0; | ||
line-height: 1.6; | |||
text-align: right; | |||
font-size: 92%; | |||
white-space: nowrap; | |||
float: right; | float: right; | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
text-indent: 0; | text-indent: 0; | ||
text-transform: none; | text-transform: none; | ||
} | } | ||
/* correct position for VE */ | /* correct position for VE */ | ||
.ve-ce-surface #coordinates { | body.skin-vector-legacy .ve-ce-surface #coordinates { | ||
margin-right: 2em; | margin-right: 2em; | ||
margin-top: -1em; | margin-top: -1em; | ||
} | } | ||
Latest revision as of 09:45, 25 December 2025
/* 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 #contentSub2 {
display: none !important;
}
body.skin-vector-legacy #coordinates {
position: absolute;
top: 3.5em;
right: 0;
line-height: 1.6;
text-align: right;
font-size: 92%;
white-space: nowrap;
float: right;
margin: 0;
padding: 0;
text-indent: 0;
text-transform: none;
}
/* correct position for VE */
body.skin-vector-legacy .ve-ce-surface #coordinates {
margin-right: 2em;
margin-top: -1em;
}
/* FR topicon position */
body.skin-vector-legacy div.flaggedrevs_short {
position: absolute;
top: -3em;
right: 100px;
z-index: 1;
}
/* Make "From Wikipedia, the free encyclopedia" a bit smaller */
body.skin-vector-legacy #siteSub {
font-size: 92%;
}
/* Move page status indicators down slightly */
body.skin-vector-legacy .mw-indicators {
padding-top: 0.4em;
}
/* Override [[phab:T265947]] */
.mw-body-content blockquote {
border-left: none;
}