Bureaucrats, coding, Administrators
2,634
edits
mNo edit summary |
(Remove extra padding from main page boxes; it makes the boxes taller than their background-image.) |
||
(57 intermediate revisions by 5 users not shown) | |||
Line 17: | Line 17: | ||
.spoiler-text { | .spoiler-text { | ||
background: #F6F6F6; | background: #F6F6F6; /* Browsers that don't support rgba() */ | ||
background: rgba(246, 246, 246, 0.65); | |||
} | } | ||
Line 26: | Line 27: | ||
.spoiler-thumb { | .spoiler-thumb { | ||
z-index: 300; background: black; width: 100%; height: 100%; position: absolute; left: 0; top: 0; | z-index: 300; background: black; width: 100%; height: 100%; position: absolute; left: 0; top: 0; | ||
} | |||
/* Translated logos */ | |||
body.pagelang-ru #p-logo > a { | |||
background-image: url(https://i2.theportalwiki.net/img/5/5e/Wiki_logo_ru.png) !important; | |||
} | } | ||
Line 62: | Line 68: | ||
/* Portal guy */ | /* Portal guy */ | ||
#portalguy { | #portalguy { | ||
display: block; | |||
position: relative; | position: relative; | ||
background: url("/ | background: url("https://i2.theportalwiki.net/img/7/7c/Background_Portal_guy.png") no-repeat; | ||
width: 128px; | width: 128px; | ||
height: 315px; | height: 315px; | ||
Line 69: | Line 76: | ||
margin-bottom: -315px; | margin-bottom: -315px; | ||
top: 64px; | top: 64px; | ||
float: left; | |||
z-index: -1; | |||
} | } | ||
/* Portal to Team Fortress Wiki in sidebar - Big hax */ | /* Portal to Team Fortress Wiki in sidebar - Big hax */ | ||
/* Start | |||
#n-Official-Team-Fortress-Wiki { | #n-Official-Team-Fortress-Wiki { | ||
display: block; | display: block; | ||
background:url( | background:url(https://i2.theportalwiki.net/img/b/b8/Portal_to_Team_Fortress_Wiki.png); | ||
width: 101px; | width: 101px; | ||
height: 172px; | height: 172px; | ||
padding: 0px !important; | padding: 0px !important; | ||
margin-left: auto; | margin-left: auto !important; | ||
margin-right: auto; | margin-right: auto !important; | ||
} | } | ||
#n-Official-Team-Fortress-Wiki a { | #n-Official-Team-Fortress-Wiki a { | ||
Line 96: | Line 106: | ||
#p-Team_Fortress_Wiki .body { | #p-Team_Fortress_Wiki .body { | ||
background: none !important; | background: none !important; | ||
margin-left: 0px !important; | |||
padding-top: 0px !important; | |||
} | } | ||
End */ | |||
/* End Portal to Team Fortress Wiki in sidebar */ | /* End Portal to Team Fortress Wiki in sidebar */ | ||
Line 264: | Line 277: | ||
.ns-4 .portal#p-Languages, /* Team Fortress Wiki */ | .ns-4 .portal#p-Languages, /* Team Fortress Wiki */ | ||
.ns-5 .portal#p-Languages, /* Team Fortress Wiki talk */ | .ns-5 .portal#p-Languages, /* Team Fortress Wiki talk */ | ||
.ns-7 .portal#p-Languages, /* File talk */ | .ns-7 .portal#p-Languages, /* File talk */ | ||
.ns-8 .portal#p-Languages, /* MediaWiki */ | .ns-8 .portal#p-Languages, /* MediaWiki */ | ||
Line 274: | Line 286: | ||
/* Put a chequered background behind images, only visible if they have transparency */ | /* Put a chequered background behind images, only visible if they have transparency */ | ||
.gallerybox .thumb img, | .gallerybox .thumb img, | ||
#file img { background: white url("/ | #file img { background: white url("https://i2.theportalwiki.net/img/5/5d/Checker-16x16.png") repeat; } | ||
.gallerybox .thumb img:hover, | .gallerybox .thumb img:hover, | ||
#file img:hover { background: white url("/ | #file img:hover { background: white url("https://i2.theportalwiki.net/img/b/b3/Checker-16x16_Dark.png") repeat; } | ||
/* But not on articles, user pages, portals or with opt-out. */ | /* But not on articles, user pages, portals or with opt-out. */ | ||
Line 289: | Line 301: | ||
a[href$=".wav"].internal, | a[href$=".wav"].internal, | ||
a[href$=".ogg"].internal { | a[href$=".ogg"].internal { | ||
background: url(" | background: url("https://i2.theportalwiki.net/img/4/46/Icon_external_link_wav.png") center right no-repeat; | ||
padding-right: 16px; | padding-right: 16px; | ||
} | } | ||
Line 371: | Line 383: | ||
} | } | ||
.mp-sectionblock { | .mp-sectionblock { | ||
background: url(/ | background: url(https://i2.theportalwiki.net/img/3/35/Main_Page_gradient.png) repeat-x bottom; | ||
} | } | ||
.mp-content-header-alt, .mp-title-gradient { | .mp-content-header-alt, .mp-title-gradient { | ||
background: url(/ | background: url(https://i2.theportalwiki.net/img/9/95/Main_page_header_gradient.png) repeat-x; | ||
padding-top: 0; | |||
padding-bottom: 0; | |||
} | } | ||
.mp-content-header-alt { | .mp-content-header-alt { | ||
font-size: 140%; | font-size: 140%; | ||
font-weight: bold; | font-weight: bold; | ||
border: none; | border: none; | ||
border-bottom: 1px solid #9999CC; /* Main border color */ | border-bottom: 1px solid #9999CC; /* Main border color */ | ||
text-align: left; | text-align: left; | ||
color: #000 | color: #000; | ||
padding-left: 0.75em; | padding-left: 0.75em; | ||
margin: -0.5em -0.5em 0px; | margin: -0.5em -0.5em 0px; | ||
Line 461: | Line 474: | ||
.mw-userlink[title="User:Seb"], | .mw-userlink[title="User:Seb"], | ||
/* Mods */ | /* Mods */ | ||
.mw-userlink[title="User:Aquatikelfik"], | |||
.mw-userlink[title="User:BiBi"], | .mw-userlink[title="User:BiBi"], | ||
.mw-userlink[title="User:DrAkcel"], | .mw-userlink[title="User:DrAkcel"], | ||
Line 467: | Line 481: | ||
.mw-userlink[title="User:Maggosh"], | .mw-userlink[title="User:Maggosh"], | ||
.mw-userlink[title="User:Minip"], | .mw-userlink[title="User:Minip"], | ||
.mw-userlink[title="User:Nik9990"], | |||
.mw-userlink[title="User:NVis"], | .mw-userlink[title="User:NVis"], | ||
.mw-userlink[title="User:Picard"], | .mw-userlink[title="User:Picard"], | ||
.mw-userlink[title="User:Smashman"], | .mw-userlink[title="User:Smashman"], | ||
.mw-userlink[title="User:Sven"], | |||
.mw-userlink[title="User:Tturbo"], | .mw-userlink[title="User:Tturbo"], | ||
.mw-userlink[title="User:Wormhole"], | |||
/* Trusted */ | /* Trusted */ | ||
.mw-userlink[title="User:AdvanS3b"], | .mw-userlink[title="User:AdvanS3b"], | ||
Line 479: | Line 496: | ||
.mw-userlink[title="User:Focusknock"], | .mw-userlink[title="User:Focusknock"], | ||
.mw-userlink[title="User:General Coolio"], | .mw-userlink[title="User:General Coolio"], | ||
.mw-userlink[title="User:I-ghost"], | |||
.mw-userlink[title="User:Piemanmoo"], | .mw-userlink[title="User:Piemanmoo"], | ||
.mw-userlink[title="User:ScatmanJohn"], | .mw-userlink[title="User:ScatmanJohn"], | ||
Line 496: | Line 514: | ||
/* Bots */ | /* Bots */ | ||
a[class="mw-userlink"][title="User:MousseBOT"] | a[class="mw-userlink"][title="User:MousseBOT"], | ||
a[class="mw-userlink"][title="User:SebBOT"] | a[class="mw-userlink"][title="User:RBotson"], | ||
a[class="mw-userlink"][title="User:SebBOT"], | |||
a[class="mw-userlink"][title="User:WindBOT"], | a[class="mw-userlink"][title="User:WindBOT"], | ||
.robot, .bot { | .robot, .bot { | ||
color:#FE48AA; | color:#FE48AA; | ||
} | } | ||
#pt-userpage a[href="/wiki/User:I-ghost"], | |||
.mw-userlink[title="User:I-ghost"], | |||
#pt-userpage a[href="/wiki/User:Minip"], | #pt-userpage a[href="/wiki/User:Minip"], | ||
.mw-userlink[title="User:Minip"], | .mw-userlink[title="User:Minip"], | ||
Line 651: | Line 671: | ||
background: #F9F9F9; | background: #F9F9F9; | ||
} | } | ||
.diff-name-text, .diff-name-binary { | .diff-name-text, .diff-name-binary, .diff-file-renamed { | ||
display: block; | display: block; | ||
} | |||
.diff-name-binary, .diff-file-renamed { | |||
color: #606060; | |||
} | } | ||
.diff-name-text { | .diff-name-text { | ||
Line 668: | Line 691: | ||
.diff-name-binary:before { | .diff-name-binary:before { | ||
content: "[B] "; | content: "[B] "; | ||
} | |||
.diff-file-renamed:before { | |||
content: "[R] "; | |||
} | } | ||
.diff-name-text:hover { | .diff-name-text:hover { | ||
Line 743: | Line 769: | ||
padding-left: 4px; | padding-left: 4px; | ||
margin-left: 114px; | margin-left: 114px; | ||
} | |||
.diff-data-requested { | |||
background: url(https://i2.theportalwiki.net/img/4/43/Patch_diff_loading.gif) right no-repeat; | |||
} | } | ||
Line 748: | Line 777: | ||
#pt-anonuserpage, | #pt-anonuserpage, | ||
#pt-login { | #pt-login { | ||
background: url( | background: url(https://i2.theportalwiki.net/img/b/b4/Icon_Tiny_Cube.png) left top no-repeat; | ||
padding-left: 17px !important; | padding-left: 17px !important; | ||
} | } | ||
Line 775: | Line 804: | ||
/* Test Chamber infobox styling */ | /* Test Chamber infobox styling */ | ||
.testchamber { | .testchamber { | ||
background: url( | background: url(https://i2.theportalwiki.net/img/c/c7/Test_Chamber_Infobox_middle.png) repeat-y; | ||
display: block; | display: block; | ||
float: right; | float: right; | ||
margin: 1em 0px 1em 16px; | margin: 1em 0px 1em 16px; | ||
} | } | ||
.testchamber.dirty { | |||
background: url(https://i2.theportalwiki.net/img/f/fd/Test_Chamber_Infobox_dirty_middle.png) repeat-y; | |||
} | |||
.testchamber-header { | .testchamber-header { | ||
background: url( | background: url(https://i2.theportalwiki.net/img/8/84/Test_Chamber_Infobox_top.png) no-repeat; | ||
width: 326px; | width: 326px; | ||
height: 46px; | height: 46px; | ||
margin-bottom: 24px; | margin-bottom: 24px; | ||
} | } | ||
.testchamber.dirty .testchamber-header { | |||
background: url(https://i2.theportalwiki.net/img/7/71/Test_Chamber_Infobox_dirty_top.png) no-repeat; | |||
} | |||
.testchamber-footer { | .testchamber-footer { | ||
background: url( | background: url(https://i2.theportalwiki.net/img/9/91/Test_Chamber_Infobox_bottom.png) no-repeat; | ||
width: 326px; | width: 326px; | ||
height: 46px; | height: 46px; | ||
margin-top: 24px; | margin-top: 24px; | ||
} | } | ||
.testchamber.dirty .testchamber-footer { | |||
background: url(https://i1.theportalwiki.net/img/4/4d/Test_Chamber_Infobox_dirty_bottom.png) no-repeat; | |||
} | |||
.testchamber-valvetitle { | |||
display: block; | |||
font-style: italic; | |||
font-size: 1em; | |||
} | |||
.testchamber-content { | .testchamber-content { | ||
margin-left: 48px; | margin-left: 48px; | ||
Line 797: | Line 847: | ||
margin-top: -32px; | margin-top: -32px; | ||
} | } | ||
.testchamber hr { | .testchamber hr { | ||
width: 264px; | width: 264px; | ||
Line 804: | Line 855: | ||
margin: 0.5em 0em; | margin: 0.5em 0em; | ||
} | } | ||
.testchamber code { | |||
background-color: transparent !important; | |||
} | |||
.testchamber-meter { | .testchamber-meter { | ||
background: url( | background: url(https://i2.theportalwiki.net/img/f/fc/Chamber_progress.png) repeat-x; | ||
} | } | ||
.testchamber-progress { | .testchamber-progress { | ||
clear: both; | clear: both; | ||
margin-top: 6px; | margin-top: 6px; | ||
} | } | ||
.testchamber-screenshot { | .testchamber-screenshot { | ||
margin-bottom: 4px; | margin-bottom: 4px; | ||
margin-top: 7px; | margin-top: 7px; | ||
} | } | ||
.testchamber-icons { | .testchamber-icons { | ||
margin-left: -3px; | margin-left: -3px; | ||
Line 820: | Line 879: | ||
margin-bottom: -3px; | margin-bottom: -3px; | ||
} | } | ||
.testchamber-icons img { | .testchamber-icons img { | ||
margin: 3px; | margin: 3px; | ||
} | } | ||
/* Flickering effects */ | /* Flickering effects */ | ||
.testchamber.testchamber-off, .testchamber.testchamber-off .testchamber-header, | .testchamber.testchamber-off, .testchamber.testchamber-off .testchamber-header, | ||
Line 828: | Line 889: | ||
background-position: -326px 0px !important; | background-position: -326px 0px !important; | ||
} | } | ||
.testchamber.testchamber-display1-off .testchamber-display1, | .testchamber.testchamber-display1-off .testchamber-display1, | ||
.testchamber.testchamber-display2-off .testchamber-display2 { | .testchamber.testchamber-display2-off .testchamber-display2 { | ||
opacity: 0; | opacity: 0; | ||
} | |||
/* Old Aperture infobox styling */ | |||
.old-aperture-infobox { | |||
width: 250px; | |||
height: 709px; | |||
float: right; | |||
clear: right; | |||
margin: 0.5em 0 1em 0.5em; | |||
border: 1px solid black; | |||
position: relative; | |||
background: url(https://i1.theportalwiki.net/img/0/07/OldApertureNav_Background.png) top left no-repeat; | |||
} | |||
.old-aperture-location, .old-aperture-mapname { | |||
display: block; | |||
position: absolute; | |||
} | |||
.old-aperture-mapname { | |||
color: #F9F9F9; | |||
bottom: 2px; | |||
right: 2px; | |||
} | |||
.old-aperture-location-active .old-aperture-inactive, .old-aperture-location-inactive .old-aperture-active { | |||
display: none; | |||
} | } | ||
Line 889: | Line 978: | ||
* @category jQuery plugin | * @category jQuery plugin | ||
* @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com) | * @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com) | ||
* @license CCAttribution-ShareAlike 2.5 Brazil - | * @license CCAttribution-ShareAlike 2.5 Brazil - https://creativecommons.org/licenses/by-sa/2.5/br/deed.en_US | ||
* @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin | * @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin | ||
*/ | */ | ||
Line 981: | Line 1,070: | ||
} | } | ||
/* End lightbox */ | /* End lightbox */ | ||
/* Track listings */ | |||
.audio-track { | |||
margin-top: 6px; | |||
margin-bottom: 6px; | |||
} | |||
.audio-track-title { | |||
font-weight: bold; | |||
font-style: italic; | |||
} | |||
.audio-track-artist { | |||
font-weight: bold; | |||
} | |||
.audio-track-duration { | |||
font-style: italic; | |||
} | |||
/* Main Page event CSS */ | |||
#eventBg { | |||
background: url('https://i2.theportalwiki.net/img/4/46/Event_BG_line.png') repeat-x; | |||
height: 120px; | |||
width: 100%; | |||
margin: 0.5em 0em; | |||
} | |||
#eventLogo { | |||
background: url('https://i2.theportalwiki.net/img/7/70/Event_BG.png') center no-repeat; | |||
text-align: center; | |||
padding-top: 20px; | |||
} | |||
/* Remove italics from Chinese pages */ | |||
.lang-zh-hans i, | |||
.lang-zh-hant i { | |||
font-style: normal !important; | |||
} | |||
/* 3D model viewer */ | |||
.viewer-3d span { | |||
display: none; | |||
} | |||
.viewer-3d { | |||
background: #ffffff; | |||
margin: 4px; | |||
display: block; | |||
cursor: move; | |||
position: relative; | |||
} | |||
.viewer-3d-frame { | |||
position: absolute; | |||
} | |||
.viewer-3d-overlay { | |||
background: url(https://wiki.teamfortress.com/w/images/e/ed/3D_rotation_icon.png) bottom right no-repeat; | |||
width: 100%; | |||
height: 100%; | |||
opacity: 0.5; | |||
position: relative; | |||
} | |||
/* End 3D model viewer */ | |||
/* Donation stuff */ | |||
/* Flattr */ | |||
.flattr-sidebar { | |||
text-align: center; | |||
} | |||
#p-Support { | |||
padding-bottom: 0px !important; | |||
} | |||
.currency-usd { | |||
text-align: right; | |||
cursor: default; | |||
} | |||
.currency-usd:before { | |||
content: "$"; | |||
} | |||
/* Gumroad */ | |||
.gumroad-button { | |||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important; | |||
font-size: 13px !important; | |||
line-height: 17px !important; | |||
font-weight: 500 !important; | |||
text-align: left !important; | |||
color: #8e8e8e !important; | |||
text-shadow: 0 1px 2px white !important; | |||
background: url(https://grcdn.net/assets/favicon.png) 5px 49% no-repeat white !important; | |||
border-radius: 3px !important; | |||
border: 1px solid #c8c8c8 !important; | |||
padding: 4px 6px 4px 26px !important; | |||
box-shadow: inset 0 -1px 2px rgba(0, 0, 0, .02), 0 1px 2px rgba(0, 0, 0, .1) !important; | |||
text-decoration: none !important; | |||
display: inline-block; | |||
} | |||
.gumroad-button:hover { | |||
text-decoration: none !important; | |||
color: #777 !important; | |||
border-color: #bbb !important; | |||
box-shadow: inset 0 -1px 2px rgba(0, 0, 0, .02), 0 1px 2px rgba(0, 0, 0, .1), 0 0 4px rgba(0, 0, 0, .1) !important; | |||
} | |||
.gumroad-button:active { | |||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2), inset 0 -1px 2px rgba(0, 0, 0, .02), 0 1px 2px rgba(0, 0, 0, .1) !important; | |||
background-color: #fafafa !important; | |||
} | |||
.gumroad-button strong { | |||
color: #666 !important; | |||
font-weight: bold !important; | |||
} | |||
/* End donation stuff */ |