Difference between revisions of "MediaWiki:Vector.css"
Jump to navigation
Jump to search
m Tag: Reverted |
Tag: Reverted |
||
Line 1: | Line 1: | ||
/* CSS placed here will affect users of the Vector skin */ | /* CSS placed here will affect users of the Vector skin */ | ||
/* Some of the code was initially from Pikmin Fanon. */ | |||
/* Don't display some stuff on the main page */ | |||
body.page-Main_Page #t-cite, | |||
body.page-Main_Page #footer-info-lastmod, | |||
body.page-Main_Page #siteSub, | |||
body.page-Main_Page #contentSub, | |||
body.page-Main_Page .firstHeading { | |||
display: none !important; | |||
} | |||
#coordinates { | |||
position: absolute; | |||
top: 0em; | |||
right: 0em; | |||
float: right; | |||
margin: 0.0em; | |||
padding: 0.0em; | |||
line-height: 1.5em; | |||
text-align: right; | |||
text-indent: 0; | |||
font-size: 85%; | |||
text-transform: none; | |||
white-space: nowrap; | |||
} | |||
/* For positioning icons at the top-right, used in templates | |||
"Featured article" */ | |||
div.topicon { | |||
position: absolute; | |||
top: -2em; | |||
margin-right: -10px; | |||
display: block !important; | |||
} | |||
/* FR topicon position */ | |||
.flaggedrevs_short { | |||
position: absolute; | |||
top: -3em; | |||
right: 80px; | |||
z-index: 1; | |||
margin-left: 0; | |||
/* Because this is not yet a topicon, we emulate its behavior, this ensures compatibility with the edit lead section gadget */ | |||
margin-right: -10px; | |||
} | |||
/* Menu over FR box */ | |||
.vectorMenu div { | |||
z-index: 2; | |||
} | |||
/* Display "From Wikipedia, the free encyclopedia" */ | /* Display "From Wikipedia, the free encyclopedia" */ | ||
Line 6: | Line 56: | ||
font-size: 92%; | font-size: 92%; | ||
font-weight: normal; | font-weight: normal; | ||
} | |||
/* Increase fontsize of diffs */ | |||
.diff-context, .diff-addedline, .diff-deletedline { | |||
font-size: 85%; | |||
vertical-align: top; | |||
} | |||
/* Adjust font-size for inline HTML-generated TeX formulae */ | |||
.texhtml { | |||
font-family: 'Times New Roman', serif; | |||
font-size: 120%; | |||
line-height: 1em; | |||
} | |||
/* (soft) redirect styling (bug:26544) */ | |||
.redirectMsg img { | |||
vertical-align: text-bottom; | |||
} | |||
.redirectText { | |||
font-size: 150%; | |||
margin: 5px; | |||
} | |||
/* Fix for empty diff-context lines. Remove when r75658 is live. */ | |||
.diff-marker { | |||
height: 1.5em; | |||
} | } |
Revision as of 17:05, 29 April 2023
/* CSS placed here will affect users of the Vector skin */
/* Some of the code was initially from Pikmin Fanon. */
/* Don't display some stuff on the main page */
body.page-Main_Page #t-cite,
body.page-Main_Page #footer-info-lastmod,
body.page-Main_Page #siteSub,
body.page-Main_Page #contentSub,
body.page-Main_Page .firstHeading {
display: none !important;
}
#coordinates {
position: absolute;
top: 0em;
right: 0em;
float: right;
margin: 0.0em;
padding: 0.0em;
line-height: 1.5em;
text-align: right;
text-indent: 0;
font-size: 85%;
text-transform: none;
white-space: nowrap;
}
/* For positioning icons at the top-right, used in templates
"Featured article" */
div.topicon {
position: absolute;
top: -2em;
margin-right: -10px;
display: block !important;
}
/* FR topicon position */
.flaggedrevs_short {
position: absolute;
top: -3em;
right: 80px;
z-index: 1;
margin-left: 0;
/* Because this is not yet a topicon, we emulate its behavior, this ensures compatibility with the edit lead section gadget */
margin-right: -10px;
}
/* Menu over FR box */
.vectorMenu div {
z-index: 2;
}
/* Display "From Wikipedia, the free encyclopedia" */
#siteSub {
display: inline;
font-size: 92%;
font-weight: normal;
}
/* Increase fontsize of diffs */
.diff-context, .diff-addedline, .diff-deletedline {
font-size: 85%;
vertical-align: top;
}
/* Adjust font-size for inline HTML-generated TeX formulae */
.texhtml {
font-family: 'Times New Roman', serif;
font-size: 120%;
line-height: 1em;
}
/* (soft) redirect styling (bug:26544) */
.redirectMsg img {
vertical-align: text-bottom;
}
.redirectText {
font-size: 150%;
margin: 5px;
}
/* Fix for empty diff-context lines. Remove when r75658 is live. */
.diff-marker {
height: 1.5em;
}