Difference between revisions of "MediaWiki:Vector.css"
Jump to navigation
Jump to search
Cwhitehurst (talk | contribs) |
Mark Donnini (talk | contribs) |
||
Line 219: | Line 219: | ||
#preftoc a:active { | #preftoc a:active { | ||
color: #005386; | color: #005386; | ||
+ | } | ||
+ | |||
+ | /** Mobile View **/ | ||
+ | /* hide link */ | ||
+ | #footer-places-mobileview { | ||
+ | display: none; | ||
} | } |
Latest revision as of 17:00, 31 March 2014
/* CSS placed here will affect users of the Vector skin */ /* 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.page-Main_Page #siteSub, body.page-Main_Page #contentSub, body.page-Main_Page #ca-talk, 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; } /* 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; } /* Increase fontsize of diffs. Remove when 1.19 is live. */ td.diff-context, td.diff-addedline, td.diff-deletedline { font-size: 85%; vertical-align: top; } /* 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; } /* Fix for empty diff-context lines. Remove when r107875/1.19 is live. */ td.diff-marker { height: 1.5em; } /*** AAPG ***/ /** Content **/ /* links */ .mw-body a { color: #61a63a; } .mw-body a:visited { color: #005386; } .mw-body a:active { color: #f47920; } /* new links */ a.new { color: #ba0000; } a.new:visited { color: #a55858; } /* inter-wiki links */ .mw-body a.extiw { color: #005386; } .mw-body a.extiw:visited { color: #61a63a; } .mw-body a.extiw:active { color: #f47920; } /* external links */ .mw-body a.external { color: #005386; } .mw-body a.external:visited { color: #61a63a; } .mw-body a.external:active { color: #f47920; } /** Personal **/ /* links */ #p-personal a { color: #005386; } #p-personal a:visited { color: #61a63a; } #p-personal a:active { color: #f47920; } /* new links */ #p-personal a.new { color: #ba0000; } #p-personal a.new:visited { color: #a55858; } /** Tabs **/ /* links */ div.vectorTabs li a { color: #005386; } /* new links */ div.vectorTabs li.new a, div.vectorTabs li.new a:visited { color: #a55858; } /* menu links */ div.vectorMenu li a { color: #005386; } /** Portal **/ /* links */ div#mw-panel div.portal div.body ul li a { color: #005386; } div#mw-panel div.portal div.body ul li a:visited { color: #61a63a; } div#mw-panel div.portal div.body ul li a:active { color: #f47920; } /** Footer **/ /* links */ #footer a { color: #005386; } #footer a:visited { color: #61a63a; } #footer a:active { color: #f47920; } /** Preferences **/ /* tab links */ #preftoc a, #preftoc a:active { color: #005386; } /** Mobile View **/ /* hide link */ #footer-places-mobileview { display: none; }