Difference between revisions of "MediaWiki:Common.css"
m |
|||
| Line 41: | Line 41: | ||
background: url("http://wiki.teamfortress.com/w/images/4/46/Icon_external_link_wav.png") center right no-repeat; | background: url("http://wiki.teamfortress.com/w/images/4/46/Icon_external_link_wav.png") center right no-repeat; | ||
padding-right: 16px; | padding-right: 16px; | ||
| + | } | ||
| + | |||
| + | /* Interwiki links marked as external - Requested by User:Esquilax */ | ||
| + | #bodyContent a.extiw { | ||
| + | background: url(external.png) center right no-repeat; | ||
| + | padding: 0 13px; | ||
} | } | ||
Revision as of 02:07, 5 May 2011
/* Note: This is a compressed version of the CSS code, for faster loading.
See http://wiki.teamfortress.com/wiki/MediaWiki:Common.css/Code.css for full readable code */
/*
* ATTENTION ADMINISTRATORS:
*
* This is the CSS for all skins. Any major changes to this page should be first proposed and discussed. Thank you.
*
* Note:
* - CSS on this page will be applied to all users. Keep in mind that some users may still retain older versions in their cache.
* - Use the Show changes button to preview what you've changed *before* you hit save.
* - After saving changes, please validate the CSS with the W3C Validator (http://jigsaw.w3.org/css-validator/)
* - You can do this by using this URL:
* http://wiki.teamfortress.com/w/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css
*
*/
/* IMAGES */
/* Remove white border from thumbnails */
div.thumb { border: none; }
div.tright { border: none; margin: 0.5em 0 0.8em 1.4em; }
div.tleft { border: none; margin: 0.5em 1.4em 0.8em 0; }
/* Put a chequered background behind images, only visible if they have transparency */
.gallerybox .thumb img,
#file img { background: white url("http://wiki.teamfortress.com/w/images/5/5d/Checker-16x16.png") repeat; }
.gallerybox .thumb img:hover,
#file img:hover { background: white url("http://wiki.teamfortress.com/w/images/b/b3/Checker-16x16_Dark.png") repeat; }
/* But not on articles, user pages, portals or with opt-out. */
.ns-0 .gallerybox .thumb img,
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img,
.nochecker .gallerybox .thumb img {
background: #f9f9f9;
}
/* END IMAGES */
/* Give [[Media:]] file links a special icon */
a[href$=".wav"].internal {
background: url("http://wiki.teamfortress.com/w/images/4/46/Icon_external_link_wav.png") center right no-repeat;
padding-right: 16px;
}
/* Interwiki links marked as external - Requested by User:Esquilax */
#bodyContent a.extiw {
background: url(external.png) center right no-repeat;
padding: 0 13px;
}
/* <ref> fixes from [[wikipedia:MediaWiki:Common.css]] */
sup, sub { line-height: 1em; }
ol.references { font-size: 90%; }
.references-small { font-size: 80%;}
ol.references > li:target { background-color: #ddeeff; }
sup.reference:target { background-color: #ddeeff; }
/* Overflow by default */
pre { overflow: auto; }
/* Class hat table nesting on [[Hats]] */
table.navbox-hatsnest tr#navbox-colheader-tr,
table.navbox-hatsnest tr#navbox-rowspacing,
table.navbox-hatsnest .navbox-miscitem {
display: none;
}
table.navbox-hatsnest {
margin: 0em !important;
}
/* Marking redirects */
.allpagesredirect, .watchlistredir, .redirect-in-category {
font-style: italic;
}
/* Consistent widths of category & prefixindex tables */
.ns-14 div#mw-subcategories td,
.ns-14 div#mw-pages td,
#mw-prefixindex-list-table td {
width: 33%;
}
/* Main Page styling */
.mp-content-table {
width: 100%;
background: #FEFBF6; /* Body background color */
border: 1px solid #79542B; /* Main border color */
margin: 0.5em 0;
}
.mp-content-header {
font-size: 140%;
padding: 0.5em 0;
background: #F3A957; /* Header background color */
border: none;
border-bottom: 1px solid #79542B; /* Main border color */
}
.mp-content-body {
padding: 0.5em;
}
/* Don't wordwrap top links on main page */
.mp-content-table ul > li a.external.text, .mp-content-table ul > li > b > a
{
white-space: nowrap;
}
div.mp-content-header-alt {
background: #F3A957;
font-size: 140%;
font-weight: bold;
border: none;
border-bottom: 1px solid #79542B; /* Main border color */
text-align: left;
color: #000;
padding: 0.5em;
padding-left: 0.75em;
margin: -0.5em -0.5em 0px;
}
/* End Main Page style */
/* Fix margins on [[MediaWiki:Sitenotice]] */
#siteNotice {
margin-top: 0.5em;
margin-bottom: -0.5em;
}
table.toc {
margin-top: 1em;
margin-bottom: 1em;
}
/*
Allow limiting of which header levels are shown in a TOC;
<div class="toclimit-3">, for instance, will limit to
showing ==headings== and ===headings=== but no further
(as long as there are no =headings= on the page, which
there shouldn't be according to the MoS).
From [[wikipedia:MediaWiki:Common.css]].
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
table.infobox {
border:1px solid #79542B;
background: #FFFCF7;
margin: 0.5em 0 0.5em 1em;
float: right;
clear: right;
}
table.infobox th {
font-size:1.2em;
background-color:#F9D483;
}
table.infobox tr,td {
margin:0em;
}
table.infobox .image {
text-align: center;
}
table.infobox .caption {
color: black;
}
table.infobox .borderless {
border:0px;
}
/* {{Item infobox}} styling */
td.infobox-label {
font-weight: bold;
padding-left: 0.25em;
vertical-align: top;
}
td.infobox-data {
padding-right: 0.25em;
vertical-align: top;
}
/* wikitable/prettytable class for skinning normal tables */
table,
table.diff,
td.diff-otitle,
td.diff-ntitle {
background-color: transparent;
}
table.wikitable,
table.prettytable {
background: #FFFCF7;
border: 1px #79542B solid;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
background-color:#FFFCF7;
white-space:inherit;
}
table.wikitable th,
table.prettytable th {
text-align: center;
white-space:inherit;
}
table.wikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
table.wikitable .subheader {
font-size:1.2em;
color: black;
background-color:#ffd580;
text-align: left;
}
table.wikitable .header {
font-size:1.2em;
color: black;
background-color:#F3A957;
}
table.wikitable .border {
border: 1px #79542B solid;
}
table.wikitable .borderless {
border:0px;
}
table.wikitable .borderless td {
border:0px;
}
table.wikitable .borderless th {
border:0px;
}
.tf-color1 { background-color: #F3A957; }
.tf-color2 { background-color: #FFBE7E; }
.tf-color3 { background-color: #F9D483; }
.tf-color4 { background-color: #FFDDAD; }
.tf-color5 { background-color: #FEF5E0; }
.tf-color-bg { background-color: #FFFCF7; }
table.prettytable code,
table.wikitable code {
background-color: transparent;
}
.grid {
border: 1px #79542B solid;
border-collapse: collapse;
padding:0.4em;
}
.grid th,
.grid td {
border: 1px #79542B solid;
padding:0.1em 0.8em;
white-space:inherit;
}
.nopad {
border-collapse: collapse;
padding-left: 0em;
padding-right: 0em;
border: 0;
}
.nopad th,
.nopad td {
padding-left: 0em;
padding-right: 0em;
border: 0;
}
a:link { color: #3F56AD; }
a:visited { color: #75735F; }
/* fmbox */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div.mw-newarticletext,
div#mw-protect-cascadeon,
.fmbox {
clear: both;
margin: 0.2em 0;
background-color: #f9f9f9;
border: 1px solid #aaa;
padding: 0.125em 0.25em;
margin: 3px auto;
width: auto;
}
div.mw-warning-with-logexcerpt, /* Lazy solution. */
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div.mw-newarticletext,
div#mw-protect-cascadeon {
padding: 0.5em 1em;
}
th.fmbox-text, td.fmbox-text { /* The message body cell(s) */
border: none;
padding: 0em; /* 0.9em left/right */
width: 100%; /* Make all mboxes the same width regardless of text length */
}
td.fmbox-image { /* The left image cell */
border: none;
padding: 2px 0 2px 0; /* 0.9em left, 0px right */
text-align: center;
}
td.fmbox-image2 { /* The right image cell */
border: none;
padding: 2px 0 2px 0; /* 0px left, 0.9em right */
text-align: center;
}
td.fmbox-empty-cell { /* An empty narrow cell */
border: none;
padding: 0px;
width: 1px;
}
/* Prevents the 'Templates used on this page' list at the bottom of every edit page becoming too long. */
.templatesUsed {
overflow: auto;
height: 256px;
border: 1px solid #aaa;
padding: 0.5em;
}
/* Default skin for navigation boxes */
table.navbox { /* Navbox container style */
border: 1px solid #79542B;
background-color:#FFFCF7;
width: 100%;
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
}
.navbox-title,
.navbox-abovebelow,
table.navbox th {
text-align: center; /* Title and above/below styles */
padding-left: 1em;
padding-right: 1em;
}
.navbox-group { /* Group style */
white-space: nowrap;
text-align: right;
font-weight: bold;
padding-left: 1em;
padding-right: 1em;
}
.navbox, .navbox-subgroup {
background: #FFFCF7; /* Background color */
}
.navbox-list {
border-color: #FFFCF7; /* Must match background color */
}
.navbox-title,
table.navbox th {
background: #F3A957; /* Level 1 color */
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
background: #F9D483; /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
background: #FEF5E0; /* Level 3 color */
}
.navbox tr {
background-color:#FFFCF7; /* Sandard cell background */
}
.navbox-even {
background: #FEF5E0; /* Even row striping */
}
.navbox-odd {
background: transparent; /* Odd row striping */
}
/* Code for div-based collapsing
* From [[wikipedia:MediaWiki:Common.css]] */
div.NavFrame {
margin: 0;
padding: 4px;
border: 1px solid #79542B;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #fff;
margin: 0;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
background-color: #F3A957; /* Level 1 color */
position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0;
padding: 0;
line-height: 1px;
clear: both;
}
a.NavToggle {
position: absolute;
top: 0;
right: 3px;
font-weight: normal;
font-size: 90%;
}
/* End */
.collapsibleDiv {
overflow: hidden;
}
.collapseButton { /* 'show'/'hide' buttons created dynamically */
float: right; /* by the CollapsibleTables javascript in */
font-weight: normal; /* [[MediaWiki:Common.js]]are styled here */
text-align: right; /* so they can be customised. */
width: auto;
}
.navbox .collapseButton { /* In navboxes, the show/hide button balances */
width: 6em; /* the vde links from [[Template:Tnavbar]], */
} /* so they need to be the same width. */
/* ambox class for skinning ambox's */
th.ambox-text, td.ambox-text { /* The message body cell(s) */
border: none;
padding: 0.25em 0.9em; /* 0.9em left/right */
width: 100%; /* Make all mboxes the same width regardless of text length */
}
td.ambox-image { /* The left image cell */
border: none;
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
text-align: center;
}
td.ambox-image2 { /* The right image cell */
border: none;
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
text-align: center;
}
td.ambox-empty-cell { /* An empty narrow cell */
border: none;
padding: 0px;
width: 1px;
}
/* Article message box styles */
table.ambox {
margin: 0px 10%; /* 10% = Will not overlap with other elements */
border: 1px solid #aaa;
background: #fbfbfb;
}
table.ambox + table.ambox { /* Single border between stacked boxes. */
margin-top: -1px;
}
.ambox th.ambox-text,
.ambox td.ambox-text { /* The message body cell(s) */
padding: 0.25em 0.5em; /* 0.5em left/right */
}
.ambox td.ambox-image { /* The left image cell */
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
}
.ambox td.ambox-image2 { /* The right image cell */
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
}
/* Colours */
table.ambox-notice,
td.ambox-notice {
border-left: 10px solid #1e90ff; /* Blue */
}
table.ambox-notice-2,
td.ambox-notice-2 {
border-left: 10px solid #3f6180; /* Dark Blue */
}
table.ambox-delete,
table.ambox-serious {
background: #fee; /* Pink */
border: 1px solid #BB7070;
}
td.ambox-delete,
td.ambox-serious {
border-left: 10px solid #b22222; /* Red */
}
table.ambox-content,
td.ambox-content {
border-left: 10px solid #f28500; /* Orange */
}
table.ambox-style,
td.ambox-style {
border-left: 10px solid #ffcc00; /* Yellow */
}
table.ambox-images,
td.ambox-images {
border-left: 10px solid #000000; /* Black */
}
table.ambox-protection,
td.ambox-protection {
border-left: 10px solid #bba; /* Gray-gold */
}
table.ambox-good,
td.ambox-good {
border-left: 10px solid #73D216; /* Green */
}
/* End ambox code */
/* For positioning icons at top-right, used in some templates */
div.topicon {
position:absolute;
z-index:100;
top:10px;
display: block !important;
}
/* common font settings */
.bold { font-weight: bold; }
.large { font-size: 110%; }
.larger { font-size: 1.2em; }
.xlarge { font-size: 150%; }
.largest { font-size: 180%; }
.xxlarge { font-size: 200%; }
.mid { font-size: 95%; }
.small { font-size: 90%; }
.smaller { font-size: 80%; }
.xsmall { font-size: 75%; }
.smallest { font-size: 50%; }
.border { border:1px solid #79542B; }
.nomargin { margin: 0px; }
.nowrap { white-space: nowrap; }
.transparent { background-color: transparent; }
.whitespaceborder {
background-color:white;
margin-bottom: 0.5em;
margin-left: 0.5em;
}
/* Language-specific settings */
/* en-Main page title removal fix */
body.page-Main_Page h1.firstHeading {
display: none;
}
/* Other languages */
body.page-Special_RecentChanges h1.firstHeading, body.page-Special_RecentChanges span.subpages,
body.page-Main_Page_ar h1.firstHeading, body.page-Main_Page_ar span.subpages,
body.page-Main_Page_cs h1.firstHeading, body.page-Main_Page_cs span.subpages,
body.page-Main_Page_da h1.firstHeading, body.page-Main_Page_da span.subpages,
body.page-Main_Page_de h1.firstHeading, body.page-Main_Page_de span.subpages,
body.page-Main_Page_es h1.firstHeading, body.page-Main_Page_es span.subpages,
body.page-Main_Page_fi h1.firstHeading, body.page-Main_Page_fi span.subpages,
body.page-Main_Page_fr h1.firstHeading, body.page-Main_Page_fr span.subpages,
body.page-Main_Page_hu h1.firstHeading, body.page-Main_Page_hu span.subpages,
body.page-Main_Page_it h1.firstHeading, body.page-Main_Page_it span.subpages,
body.page-Main_Page_ja h1.firstHeading, body.page-Main_Page_ja span.subpages,
body.page-Main_Page_ko h1.firstHeading, body.page-Main_Page_ko span.subpages,
body.page-Main_Page_nl h1.firstHeading, body.page-Main_Page_nl span.subpages,
body.page-Main_Page_no h1.firstHeading, body.page-Main_Page_no span.subpages,
body.page-Main_Page_pl h1.firstHeading, body.page-Main_Page_pl span.subpages,
body.page-Main_Page_pt h1.firstHeading, body.page-Main_Page_pt span.subpages,
body.page-Main_Page_pt-br h1.firstHeading, body.page-Main_Page_pt-br span.subpages,
body.page-Main_Page_ro h1.firstHeading, body.page-Main_Page_ro span.subpages,
body.page-Main_Page_ru h1.firstHeading, body.page-Main_Page_ru span.subpages,
body.page-Main_Page_sv h1.firstHeading, body.page-Main_Page_sv span.subpages,
body.page-Main_Page_zh-hans h1.firstHeading, body.page-Main_Page_zh-hans span.subpages,
body.page-Main_Page_zh-hant h1.firstHeading, body.page-Main_Page_zh-hant span.subpages {
display: none;
}
/*
* Direction change on Arabic pages.
* All mainspace pages (.ns-0), userspace (.ns-2) and the edit box of template pages (.ns-10) will have
* the text direction set to RTL
*/
body.ns-0.lang-ar div#bodyContent,
body.ns-2.lang-ar div#bodyContent,
body.ns-10.lang-ar div#bodyContent {
direction: rtl;
}
/* Remove italics from Chinese pages */
.lang-zh-hans i,
.lang-zh-hant i {
font-style: normal !important;
}
.crit { background: url(http://wiki.teamfortress.com/w/images/9/91/Killicon_crit.png) center no-repeat; }
/* Language template */
.LanguageLinks {
margin-top: 0.5em;
}
.LanguageLinks table {
clear: both;
border: 1px solid #aaaaaa;
border-collapse: collapse;
padding: 0.2em;
font-size: 85%;
margin-top: 0.5em;
}
.LanguageLinks span {
white-space: nowrap;
}
/* Trusted Editors */
.mw-userlink[title="User:Pilk"],
.mw-userlink[title="User:En Ex"],
.mw-userlink[title="User:Seb26"],
.mw-userlink[title="User:OluapPlayer"],
.mw-userlink[title="User:Infi^"],
.mw-userlink[title="User:G-Mang"],
.mw-userlink[title="User:Vi3trice"],
.mw-userlink[title="User:WindPower"],
.mw-userlink[title="User:DaimoN"],
.mw-userlink[title="User:Wilsonator"],
.mw-userlink[title="User:Darkman 4"],
.mw-userlink[title="User:Firestorm"],
.mw-userlink[title="User:Hackett"],
.mw-userlink[title="User:The Neotank"],
.mw-userlink[title="User:Shugo"],
.mw-userlink[title="User:Markd"],
.mw-userlink[title="User:Moussekateer"],
.mw-userlink[title="User:Nineaxis"],
.mw-userlink[title="User:Shine"],
.mw-userlink[title="User:RJackson"],
.mw-userlink[title="User:Piemanmoo"],
.mw-userlink[title="User:Lhavelund"],
.mw-userlink[title="User:CruelCow"],
.mw-userlink[title="User:Alex2539"],
.mw-userlink[title="User:Lagg"],
.mw-userlink[title="User:Picard"],
.mw-userlink[title="User:Parseus"],
.mw-userlink[title="User:Daff"],
.mw-userlink[title="User:Laros123"],
.mw-userlink[title="User:Tturbo"],
.mw-userlink[title="User:NVis"],
.mw-userlink[title="User:EpicEric"],
.mw-userlink[title="User:LordKelvin"],
a.trusted, .bur, .adm, .mod, .loc, .helpUser {
color:#55BB00 !important;
}
.trusted {
color: #606060;
}
.trusted .mw-userlink {
color: #0066FF;
}
.burbg, .admbg, .modbg, .locbg {
background-color:#70B04A;color:white;font-size:0.7em;padding: 0 2px;
}
/* Bots */
a[class="mw-userlink"][title="User:PilkBOT"],
a[class="mw-userlink"][title="User:FireBOT"],
a[class="mw-userlink"][title="User:SmashBOT"],
a[class="mw-userlink"][title="User:WindBOT"],
a[class="mw-userlink"][title="User:SebBOT"],
.robot, .bot {
color:#FE48AA;
}
/* Valve */
a[class="mw-userlink"][title="User:Bryn"],
a[class="mw-userlink"][title="User:JeffLane"],
a[class="mw-userlink"][title="User:Joe"],
a[class="mw-userlink"][title="User:RobinWalker"],
.valve {
font-weight: bold !important;
background-color: #DFDFDF !important;
margin: 0 2px 0 2px;
padding: 0 3px 0 2px;
}
/* People with lowercase names */
/* MediaWiki is case-insensitive for the first letter so [[User:seb26]] is treated the same as [[User:Seb26]] */
/* As is [[engineer]] and [[Engineer]] */
#pt-userpage a[href="/wiki/User:I-ghost"],
.mw-userlink[title="User:I-ghost"],
#pt-userpage a[href="/wiki/User:Minip"],
.mw-userlink[title="User:Minip"],
#pt-userpage a[href="/wiki/User:Maggosh"],
.mw-userlink[title="User:Maggosh"],
#pt-userpage a[href="/wiki/User:NVis"]:first-letter,
.mw-userlink[title="User:NVis"]:first-letter,
#pt-userpage a[href="/wiki/User:Seb26"],
.mw-userlink[title="User:Seb26"] {
text-transform: lowercase;
}
/* Edit notices */
.enmain { background-color: #F7FFF5; border: 1px solid #D4F2CE; }
.enerror { background-color: #FFDBDB; border: 1px solid #BB7070; }
.eninfo { background-color: #E6F2FF; border: 1px solid #B8C7D9; }
.entalk,
.enuser_talk,
.enteam_fortress_wiki_talk,
.enfile_talk,
.enhelp_talk,
.entemplate_talk,
.encategory_talk,
.enmediawiki_talk {
background-color: #f2f2f2;
border: 1px solid #aaa;
}
.enuser,
.enteam_fortress_wiki,
.enfile,
.enmediawiki,
.entemplate,
.enhelp,
.encategory {
background-color: #f9f9f9;
border: 1px solid #aaa;
}
/* +/- Special:RecentChanges colors */
.mw-plusminus-pos { color: #006400; }
.mw-plusminus-neg { color: #8B0000; }
/* START charInsert by WindPower */
#wpCharInsert1 {
margin: 4px;
}
#wpCharInsert1 a {
margin-left: 2px;
margin-right: 2px;
}
/* END charInsert */
/* Item attribute colours. */
.att_level { color:#756B5E; }
.att_positive { color:#99CCFF; }
.att_negative { color:#FF4040; }
.att_neutral { color:#EBE2CA; }
.att_setname { color:#E1FF0F; }
.att_setitem_y { color:#95AF0C; }
.att_setitem_n { color:#8B8989; }
.att_uses { color:#00A000; }
.att_flags { color:#756B5E; }
/* End item attribute colours. */
/* Item quality colours. */
.qua_normal { color:rgb(178,178,178); }
.qua_unusual { color:rgb(134,80,172); }
.qua_vintage { color:rgb(71,98,145); }
.qua_unique { color:rgb(255,215,0); }
.qua_community { color:rgb(112,176,74); }
.qua_valve { color:rgb(165,15,121); }
.qua_self-made { color:rgb(112,176,74); }
.qua_customized { color:rgb(71,98,145); }
.qua_genuine { color:rgb(77,116,85); }
/* End item quality colours */
/* Embed font - Hosted by User:WindPower */
@font-face {
font-family: "TF2 Build";
src: url(http://glados.biringa.com/tf2/tf2build.eot);
src: local("☺"),
url("http://glados.biringa.com/tf2/tf2build.ttf") format("truetype");
}
/* Bullet-proof smiley! */
/* Event stuff */
#eventBg {
background: url('http://wiki.teamfortress.com/w/images/4/46/Event_BG_line.png') repeat-x;
height: 120px;
width: 100%;
margin: 0.5em 0em;
}
#eventLogo {
background: url('http://wiki.teamfortress.com/w/images/7/70/Event_BG.png') center right no-repeat;
text-align: center;
padding-top: 20px;
}
/* End Halloween event stuff */
/* Twitter feed */
.twitterfeed {
float: right;
margin-left: 16px;
margin-bottom: 6px;
}
.paintCell
{
background: #ffffff;
}
.paintCell:hover
{
background: #000000;
}
/* "Poot" tab boxes */
.poot-tabs-container a:active,.poot-tabs :focus
{
outline:none;
-moz-outline-style:none;
}
.poot-tabs-hidelink
{
float: right;
}
.poot-tabs-showhide
{
display: none;
}
.poot-tabs-navbar
{
float: left;
}
.poot-tabs-container
{
display:block;
margin-left:auto;
margin-right:auto;
border:1px solid #79542B;
padding:3px;
}
.poot-tabs-container + .poot-tabs-container, .poot-tabs-container + table.navbox, table.navbox + .poot-tabs-container {
margin-top:-1px; /* Single pixel border between adjacent navboxes/tabboxes */
}
.poot-tabs-vertical .poot-tabs
{
float:left;
}
.poot-tabs-horizontal .poot-tabs
{
text-align:center;
}
.poot-tabs-title
{
background:#f3a957;
font-weight:bold;
text-align:center;
padding-left:1em;
padding-right:1em;
margin-bottom:2px;
}
.poot-tabs > ul
{
list-style-type:none;
list-style-image:none;
margin:0px;
}
.poot-tabs-vertical .poot-tabs > ul > li
{
display:block;
padding:4px 6px 4px 4px;
margin-top:1px;
margin-bottom:0px;
margin-left:0px;
margin-right:0px;
}
.poot-tabs-vertical .poot-tabs > ul > li:first-child
{
margin-top:0px;
}
.poot-tabs-horizontal .poot-tabs > ul > li
{
display:inline;
padding:4px 4px 4px 4px;
margin-top:0px;
margin-bottom:0px;
margin-left:4px;
margin-right:4px;
}
.poot-tabs > ul > li
{
cursor:pointer;
}
/* Vertical uses white space between tabs, horizontal doesn't */
.poot-tabs-vertical .poot-tabs > ul > li, .poot-tabs-horizontal .poot-tabs > ul
{
background:#ffddad;
}
.poot-tabs > ul > li.poot-tabs-selected
{
background:#f3a957;
}
.poot-tabs-content > div
{
position:absolute;
top:0px;
right:0px;
left:2px; /* Simulate padding */
}
.poot-tabs-content > div:not(.poot-tabs-selected)
{
display:none;
}
.poot-tabs-content
{
position:relative;
background:#fffcf7;
}
.nav-small {
font-size: 80%;
}
.lang-zh-hans .nav-small,
.lang-zh-hant .nav-small {
font-size: 95% !important;
}
/* Adds background image to the page. */
body {
background: #FFFFFF url("http://wiki.teamfortress.com/w/images/8/84/Site_background.png") no-repeat fixed;
}
/* Adds background image to the content box and tabs. */
#content, #p-cactions li:not(.selected) {
background: url("http://wiki.teamfortress.com/w/images/5/56/Background_Content.png") transparent;
}
#p-cactions ul li a { background: none; }
#p-cactions ul li.selected a { background-color: #F7F7F7; }
/* Add secksy Soldier login icon by User:Nineaxis. */
li#pt-userpage, li#pt-anonuserpage, li#pt-login {
background:transparent url("http://wiki.teamfortress.com/w/images/d/d8/Login_Soldier.png") no-repeat scroll top left;
padding-left:22px;
}
/* SIDEBAR FIXES */
/* Make English link bold. */
li#n-English {
font-weight: bold;
}
/* Hide languages box per namespace & per page */
.ns--1 .generated-sidebar#p-languages, /* Special */
.ns-0.page-Main_Page .generated-sidebar#p-languages, /* Main Page exception */
.ns-2 .generated-sidebar#p-languages, /* User */
.ns-3 .generated-sidebar#p-languages, /* User talk */
.ns-4 .generated-sidebar#p-languages, /* Team Fortress Wiki */
.ns-5 .generated-sidebar#p-languages, /* Team Fortress Wiki talk */
.ns-6 .generated-sidebar#p-languages, /* File */
.ns-7 .generated-sidebar#p-languages, /* File talk */
.ns-8 .generated-sidebar#p-languages, /* MediaWiki */
.ns-9 .generated-sidebar#p-languages /* MediaWiki talk */
{
display: none;
}
/* Elements within the class 'editsection-nofloat' will have [edit] links appear on the left hand side */
.editsection-nofloat .editsection {
float: left;
margin-right: 0.5em;
}
/* Diff styles */
.diff-file {
font-family: monospace;
}
.diff-contents {
display: none; /* Hidden by default */
margin: 4px;
margin-left: 64px;
border-top: 1px solid #E0E0E0;
border-bottom: 1px solid #E0E0E0;
background: #F9F9F9;
}
.diff-name-text, .diff-name-binary {
display: block;
}
.diff-name-text {
font-weight: bold;
cursor: pointer;
}
.diff-file-deleted .diff-name-text {
font-weight: normal;
cursor: auto;
color: #6F0000;
}
.diff-name-text:before {
content: "[+] ";
}
.diff-name-binary:before {
content: "[B] ";
}
.diff-name-text:hover {
text-decoration: underline;
color: #303090;
}
.diff-file-deleted .diff-name-text:hover {
text-decoration: none;
color: #6F0000;
}
.diff-line-entry, .diff-line-ellipsis {
display: block;
white-space: pre-wrap;
clear: both;
}
.diff-line-entry {
border-left: 1px solid #E0E0E0;
border-right: 1px solid #E0E0E0;
}
.diff-line-ellipsis {
background: #FFFFFF;
}
.diff-line-old, .diff-line-new {
width: 52px;
text-align: right;
border-right: 1px solid #E0E0E0;
padding-right: 4px;
color: #696969;
float: left;
font-size: 0.9em;
}
.diff-line-na {
font-style: italic;
color: #A0A0A0;
}
.diff-line-entry .diff-line-old, .diff-line-entry .diff-line-new {
border-bottom: 1px solid #D0D0D0;
margin-bottom: -1px;
}
.diff-line-ellipsis + .diff-line-entry .diff-line-old, .diff-line-ellipsis + .diff-line-entry .diff-line-new {
border-top: 1px solid #D0D0D0;
margin-top: -1px;
}
.diff-line-ellipsis {
padding-top: 8px;
padding-bottom: 8px;
font-size: 1.4em;
color: #666666;
text-indent: 114px;
}
.diff-line-add .diff-line {
background: #D9FFD9;
border-left: 1px solid #60CC60;
border-right: 1px solid #60CC60;
}
.diff-line-add.diff-line-first .diff-line {
border-top: 1px solid #60CC60;
}
.diff-line-add.diff-line-last .diff-line {
border-bottom: 1px solid #60CC60;
}
.diff-line-remove .diff-line {
background: #FFD9D9;
border-left: 1px solid #CC6060;
border-right: 1px solid #CC6060;
}
.diff-line-remove.diff-line-first .diff-line {
border-top: 1px solid #CC6060;
}
.diff-line-remove.diff-line-last .diff-line {
border-bottom: 1px solid #CC6060;
}
.diff-line {
display: block;
padding-left: 4px;
margin-left: 114px;
}