MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 35: | Line 35: | ||
body.page-Main_Page #t-cite, | body.page-Main_Page #t-cite, | ||
body.page-Main_Page #footer-info-lastmod, | body.page-Main_Page #footer-info-lastmod, | ||
body | body #siteSub, | ||
body.page-Main_Page #contentSub, | body.page-Main_Page #contentSub, | ||
body.page-Main_Page h1.firstHeading { | body.page-Main_Page h1.firstHeading { | ||
Line 124: | Line 124: | ||
/* @noflip */ | /* @noflip */ | ||
padding-left: 1.25em; | padding-left: 1.25em; | ||
} | } | ||
Latest revision as of 18:46, 19 July 2012
/* CSS placed here will affect users of the Vector skin */
body.page-Main_Page h1.firstHeading { display:none; }
/* #footer-info-viewcount { display: none; } */
#footer-places { display: none; }
#footer-icons {
position: relative;
top: -3em;
}
div#mw-panel {
left: 0px;
padding-top: 1em;
position: absolute;
top: 40px;
width: 10em;
}
#p-logo {
z-index: 3;
position: absolute; /*needed to use z-index */
top: -40px;
left: 10px;
height: 40px;
width: 225px;
overflow: visible;
}
#p-logo a {
display: block;
width: 225px;
height: 40px;
background-repeat: no-repeat;
background-position: center center;
text-decoration: none;
}
/* Don't display some stuff on the main page */
body.page-Main_Page #deleteconfirm,
body.page-Main_Page #t-cite,
body.page-Main_Page #footer-info-lastmod,
body #siteSub,
body.page-Main_Page #contentSub,
body.page-Main_Page h1.firstHeading {
display: none !important;
}
body.page-Main_Page #mp-topbanner {
margin-top: 0 !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 top-right, used in Templates
"Spoken Article" and "Featured Article" */
div.topicon {
position: absolute;
top: -2em;
margin-right: -10px;
display: block !important;
}
/* FR topicon position */
div.flaggedrevs_short {
position: absolute;
top: -3em;
right: 80px;
z-index: 1;
margin-left: 0;
/* Because this is not yet a topicon, we emulate it's behavior, this ensure compatibility with edit lead section gadget */
margin-right: -10px;
}
/* On rtl interfaces, we need to override the defaults.
It is content included (so ltr), but positioned in part of the rtl interface */
body.rtl #protected-icon {
/* @noflip */
left: 55px;
}
body.rtl #spoken-icon,
body.rtl #commons-icon {
/* @noflip */
left: 30px;
}
body.rtl #featured-star {
/* @noflip */
left: 10px;
}
/* Menu over FR box */
div.vectorMenu div {
z-index: 2;
}
/* Display "From Wikipedia, the free encyclopedia" */
#siteSub {
display: inline;
font-size: 92%;
font-weight: normal;
}
/* {{tl|Link GA}} */
#mw-panel div.portal div.body ul li.GA {
background: url("//upload.wikimedia.org/wikipedia/commons/4/42/Monobook-bullet-ga.png") no-repeat 0% 0%;
/* @noflip */
margin-left: -1.25em;
/* @noflip */
padding-left: 1.25em;
}
/* {{tl|Link FA}} */
#mw-panel div.portal div.body ul li.FA {
background: url("//upload.wikimedia.org/wikipedia/commons/d/d4/Monobook-bullet-star.png") no-repeat 0% 0%;
/* @noflip */
margin-left: -1.25em;
/* @noflip */
padding-left: 1.25em;
}
/* Adjust font-size for inline HTML generated TeX formulae */
span.texhtml {
font-size: 118%;
}
/* Blue instead of yellow padlock for secure links. */
#bodyContent a.external[href ^="https://"],
.link-https {
background: url("//upload.wikimedia.org/wikipedia/en/0/00/Lock_icon_blue.gif") center right no-repeat;
/* @noflip */
padding-right: 16px;
}
/* (soft) redirect styling (bug:26544) */
div.redirectMsg img {
vertical-align: text-bottom;
}
.redirectText {
font-size: 150%;
margin: 5px;
}