MediaWiki:Vector.css: Difference between revisions
EnWikiAdmin (talk | contribs) No edit summary |
EnWikiAdmin (talk | contribs) No edit summary Tag: Reverted |
||
Line 59: | Line 59: | ||
font-style: italic; | font-style: italic; | ||
font-size: 90%; | font-size: 90%; | ||
} | |||
/* 1) Hide the title only on Test_page */ | |||
body.page-Test_page #firstHeading { | |||
display: none !important; | |||
} | |||
/* 2) When the left sidebar is collapsed in Vector 2022 on Test_page, | |||
expand/widen the container */ | |||
body.skin-vector-2022.vector-main-menu-collapsed.page-Test_page .mw-page-container-inner { | |||
max-width: none !important; | |||
} | |||
/* | |||
If for some reason .mw-page-container-inner doesn't expand, | |||
you could also try .mw-content-container or .vector-limited-content, | |||
depending on how your wiki’s HTML is structured: | |||
*/ | |||
body.skin-vector-2022.vector-main-menu-collapsed.page-Test_page .mw-content-container { | |||
max-width: none !important; | |||
} | } |
Revision as of 21:59, 21 December 2024
/* All CSS here will be loaded for users of the Vector skin */
/* 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;
}
#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 */
.ve-ce-surface #coordinates {
margin-right: 2em;
margin-top: -1em;
}
/* 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-indicators {
padding-top: 0.4em;
}
/* Override [[phab:T265947]] */
.mw-body-content blockquote {
border-left: none;
}
/* Styling for tags in changes pages */
.mw-tag-markers {
font-style: italic;
font-size: 90%;
}
/* 1) Hide the title only on Test_page */
body.page-Test_page #firstHeading {
display: none !important;
}
/* 2) When the left sidebar is collapsed in Vector 2022 on Test_page,
expand/widen the container */
body.skin-vector-2022.vector-main-menu-collapsed.page-Test_page .mw-page-container-inner {
max-width: none !important;
}
/*
If for some reason .mw-page-container-inner doesn't expand,
you could also try .mw-content-container or .vector-limited-content,
depending on how your wiki’s HTML is structured:
*/
body.skin-vector-2022.vector-main-menu-collapsed.page-Test_page .mw-content-container {
max-width: none !important;
}