MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
m Changing navbox links from white to a grey (black is nonlinks). |
m Adjust patch diff font size |
||
| (146 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
/* Sitewide CSS stylesheet. Take care when making any changes as they'll be pushed to every user almost immediately. */ | /* Sitewide CSS stylesheet. Take care when making any changes as they'll be pushed to every user almost immediately. */ | ||
/* Override forced */ | |||
/* <ref> fixes from [[w: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; } | |||
/* Some spoiler stuff */ | /* Some spoiler stuff */ | ||
.spoiler-inline { | .spoiler-inline, .spoiler-inline * { | ||
color: black; | color: transparent !important; | ||
background: black; | background: black !important; | ||
} | |||
.spoiler-text { | |||
background: #F6F6F6; /* Browsers that don't support rgba() */ | |||
background: rgba(246, 246, 246, 0.65); | |||
} | |||
.thumb { | |||
position: relative; | |||
} | |||
.spoiler-thumb { | |||
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; | |||
} | |||
/* Quality colors */ | |||
.quality-unique { | |||
color: #ffd700; | |||
} | |||
.quality-vintage { | |||
color: #476291; | |||
} | |||
.quality-genuine { | |||
color: #4d7455; | |||
} | |||
/* Infobox styling */ | |||
.infobox { | |||
background: #ffffff; | |||
width: 256px; | |||
float: right; | |||
clear: right; | |||
margin: 0.5em 0 1em 0.5em; | |||
border: 1px solid black; | |||
padding: 2px; | |||
} | } | ||
. | .infobox .section { | ||
background: #C0DFFF; | |||
color: black; | |||
font-weight: bold; | |||
font-size: 1.2em; | |||
text-align: center; | |||
padding: 3px; | |||
clear: both; | |||
} | } | ||
/* 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 20: | 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 */ | |||
/* Start | |||
#n-Official-Team-Fortress-Wiki { | |||
display: block; | |||
background:url(https://i2.theportalwiki.net/img/b/b8/Portal_to_Team_Fortress_Wiki.png); | |||
width: 101px; | |||
height: 172px; | |||
padding: 0px !important; | |||
margin-left: auto !important; | |||
margin-right: auto !important; | |||
} | |||
#n-Official-Team-Fortress-Wiki a { | |||
display: block; | |||
width: 101px; | |||
height: 172px; | |||
opacity: 0.25; | |||
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; | |||
filter: alpha(opacity=0); | |||
-moz-opacity:0; | |||
opacity: 0; | |||
} | |||
#p-Team_Fortress_Wiki h5 { | |||
display: none; | |||
} | |||
#p-Team_Fortress_Wiki .body { | |||
background: none !important; | |||
margin-left: 0px !important; | |||
padding-top: 0px !important; | |||
} | |||
End */ | |||
/* End Portal to Team Fortress Wiki in sidebar */ | |||
/* Adjust preformatted text size */ | /* Adjust preformatted text size */ | ||
| Line 31: | Line 121: | ||
table.ambox { | table.ambox { | ||
margin: 0px 10%; /* 10% = Will not overlap with other elements */ | margin: 0px 10%; /* 10% = Will not overlap with other elements */ | ||
border: 1px solid # | border: 1px solid #9999CC; | ||
background: #fbfbfb; | background: #fbfbfb; | ||
} | } | ||
| Line 108: | Line 198: | ||
width: 1px; | width: 1px; | ||
} | } | ||
/* Edit notices */ | |||
.enerror { background-color: #FFDBDB; border: 1px solid #BB7070; } | |||
/* Navbox styling */ | /* Navbox styling */ | ||
table.navbox { /* Navbox container style */ | table.navbox { /* Navbox container style */ | ||
border: 1px solid # | border: 1px solid #9999CC; | ||
background: # | background: #FEFEFF; | ||
width: 100%; | width: 100%; | ||
margin: auto; | margin: auto; | ||
| Line 132: | Line 225: | ||
} | } | ||
table.navbox th a { | table.navbox th a { | ||
color: # | color: #444; /* Should make the header links look better */ | ||
} | } | ||
| Line 143: | Line 236: | ||
} | } | ||
.navbox, .navbox-subgroup { | .navbox, .navbox-subgroup { | ||
background: # | background: #FEFEFF; /* Background color */ | ||
} | } | ||
.navbox-list { | .navbox-list { | ||
border-color: # | border-color: #FEFEFF; /* Must match background color */ | ||
} | } | ||
.navbox-title, | .navbox-title, | ||
table.navbox th { | table.navbox th { | ||
background: # | background: #C9DCFF; /* Level 1 color */ | ||
} | } | ||
.navbox-abovebelow, | .navbox-abovebelow, | ||
.navbox-group, | .navbox-group, | ||
.navbox-subgroup .navbox-title { | .navbox-subgroup .navbox-title { | ||
background: # | background: #DFECFF; /* Level 2 color */ | ||
} | } | ||
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { | .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { | ||
background: # | background: #E0F0FF; /* Level 3 color */ | ||
} | } | ||
.navbox tr { | .navbox tr { | ||
background-color:# | background-color:#FEFEFF; /* Standard cell background */ | ||
} | } | ||
.navbox-even { | .navbox-even { | ||
| Line 184: | 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 194: | 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 204: | Line 296: | ||
.nochecker .gallerybox .thumb img { | .nochecker .gallerybox .thumb img { | ||
background: #f9f9f9; | background: #f9f9f9; | ||
} | |||
/* Give audio files linked with [[Media:]] a special icon */ | |||
a[href$=".wav"].internal, | |||
a[href$=".ogg"].internal { | |||
background: url("https://i2.theportalwiki.net/img/4/46/Icon_external_link_wav.png") center right no-repeat; | |||
padding-right: 16px; | |||
} | } | ||
| Line 259: | Line 358: | ||
/* Miscellaneous fixes */ | /* Miscellaneous fixes */ | ||
#wpSave { font-weight: bold; } | #wpSave { font-weight: bold; } | ||
/* Main Page styling */ | |||
.mp-content-table { | |||
width: 100%; | |||
background: #FEFEFF; /* Body background color */ | |||
border: 1px solid #9999CC; /* Main border color */ | |||
margin: 0.5em 0; | |||
} | |||
.mp-content-header { | |||
font-size: 140%; | |||
padding: 0.5em 0; | |||
background: #C0DFFF; /* Header background color */ | |||
border: none; | |||
border-bottom: 1px solid #9999CC; /* 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; | |||
} | |||
.mp-sectionblock { | |||
background: url(https://i2.theportalwiki.net/img/3/35/Main_Page_gradient.png) repeat-x bottom; | |||
} | |||
.mp-content-header-alt, .mp-title-gradient { | |||
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 { | |||
font-size: 140%; | |||
font-weight: bold; | |||
border: none; | |||
border-bottom: 1px solid #9999CC; /* Main border color */ | |||
text-align: left; | |||
color: #000; | |||
padding-left: 0.75em; | |||
margin: -0.5em -0.5em 0px; | |||
} | |||
/* End Main Page style */ | |||
/* wikitable/prettytable class for skinning normal tables */ | |||
table.wikitable, | |||
table.prettytable { | |||
background: #FEFEFF; | |||
border: 1px #9999CC solid; | |||
} | |||
table.wikitable th, table.wikitable td, | |||
table.prettytable th, table.prettytable td { | |||
background-color:#FEFEFF; | |||
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 { | |||
color: black; | |||
background: #C9DCFF; | |||
text-align: left; | |||
} | |||
table.wikitable .header { | |||
color: black; | |||
background-color:#C9DCFF; | |||
} | |||
table.wikitable .border { | |||
border: 1px #9999CC solid; | |||
} | |||
table.wikitable .borderless { | |||
border:0px; | |||
} | |||
table.wikitable .borderless td { | |||
border:0px; | |||
} | |||
table.wikitable .borderless th { | |||
border:0px; | |||
} | |||
table.prettytable code, | |||
table.wikitable code { | |||
background-color: transparent; | |||
} | |||
/* Trusted Editors */ | |||
/* Bureaus */ | |||
.mw-userlink[title="User:Lagg"], | |||
.mw-userlink[title="User:WindPower"], | |||
.mw-userlink[title="User:RJackson"], | |||
/* Admins */ | |||
.mw-userlink[title="User:Alex2539"], | |||
.mw-userlink[title="User:Moussekateer"], | |||
.mw-userlink[title="User:Picard"], | |||
.mw-userlink[title="User:OluapPlayer"], | |||
.mw-userlink[title="User:Pilk"], | |||
.mw-userlink[title="User:Seb"], | |||
/* Mods */ | |||
.mw-userlink[title="User:Aquatikelfik"], | |||
.mw-userlink[title="User:BiBi"], | |||
.mw-userlink[title="User:DrAkcel"], | |||
.mw-userlink[title="User:Firestorm"], | |||
.mw-userlink[title="User:Lavelund"], | |||
.mw-userlink[title="User:Maggosh"], | |||
.mw-userlink[title="User:Minip"], | |||
.mw-userlink[title="User:Nik9990"], | |||
.mw-userlink[title="User:NVis"], | |||
.mw-userlink[title="User:Picard"], | |||
.mw-userlink[title="User:Smashman"], | |||
.mw-userlink[title="User:Sven"], | |||
.mw-userlink[title="User:Tturbo"], | |||
.mw-userlink[title="User:Wormhole"], | |||
/* Trusted */ | |||
.mw-userlink[title="User:AdvanS3b"], | |||
.mw-userlink[title="User:Benjamoose"], | |||
.mw-userlink[title="User:Daff"], | |||
.mw-userlink[title="User:Darkstar516"], | |||
.mw-userlink[title="User:En Ex"], | |||
.mw-userlink[title="User:Focusknock"], | |||
.mw-userlink[title="User:General Coolio"], | |||
.mw-userlink[title="User:I-ghost"], | |||
.mw-userlink[title="User:Piemanmoo"], | |||
.mw-userlink[title="User:ScatmanJohn"], | |||
.mw-userlink[title="User:TheMedik"], | |||
.mw-userlink[title="User:Vaught"], | |||
.mw-userlink[title="User:VeKoB"] { | |||
color:#52D017 !important; | |||
} | |||
.mw-userlink { | |||
font-weight: bold; | |||
} | |||
.burbg, .admbg, .modbg, .locbg { | |||
background-color:#70B04A;color:white;font-size:0.7em;padding: 0 2px; | |||
} | |||
/* Bots */ | |||
a[class="mw-userlink"][title="User:MousseBOT"], | |||
a[class="mw-userlink"][title="User:RBotson"], | |||
a[class="mw-userlink"][title="User:SebBOT"], | |||
a[class="mw-userlink"][title="User:WindBOT"], | |||
.robot, .bot { | |||
color:#FE48AA; | |||
} | |||
#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"], | |||
.mw-userlink[title="User:NVis"], | |||
#pt-userpage a[href="/wiki/User:Seb"], | |||
.mw-userlink[title="User:Seb"] { | |||
text-transform: lowercase; | |||
} | |||
/* PootTabs */ | |||
/* "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 #9999CC; | |||
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:#1e90ff; | |||
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:#adddff; | |||
} | |||
.poot-tabs > ul > li.poot-tabs-selected | |||
{ | |||
background:#1e90ff; | |||
} | |||
.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:#f7fcff; | |||
} | |||
/* End PootTabs */ | |||
/* Diff styles */ | |||
.diff-file { | |||
font-family: ui-monospace, monospace; | |||
} | |||
.diff-contents { | |||
display: none; /* Hidden by default */ | |||
margin: 4px; | |||
margin-left: 0; | |||
border-top: 1px solid #E0E0E0; | |||
border-bottom: 1px solid #E0E0E0; | |||
background: #F9F9F9; | |||
} | |||
.diff-name-text, .diff-name-binary .diff-file-renamed { | |||
display: block; | |||
font-size: 10.5px; | |||
} | |||
.diff-name-binary, .diff-file-renamed { | |||
color: #606060; | |||
font-size: 10.5px; | |||
} | |||
.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-file-renamed:before { | |||
content: "[R] "; | |||
} | |||
.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; | |||
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: 0; | |||
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; | |||
} | |||
.diff-data-requested { | |||
background: url(https://i2.theportalwiki.net/img/4/43/Patch_diff_loading.gif) right no-repeat; | |||
} | |||
#pt-userpage a, | |||
#pt-anonuserpage, | |||
#pt-login { | |||
background-image: url(https://i2.theportalwiki.net/img/b/b4/Icon_Tiny_Cube.png) !important; | |||
padding-left: 20px !important; | |||
background-position: 0 5px !important; | |||
background-repeat: no-repeat !important; | |||
} | |||
/* For positioning icons at top-right, used in some templates */ | |||
.skin-vector div.topicon { | |||
position:absolute; | |||
z-index:100; | |||
top:-50px; | |||
display: block !important; | |||
} | |||
.skin-monobook div.topicon { | |||
position:absolute; | |||
z-index:100; | |||
top:10px; | |||
display: block !important; | |||
} | |||
/* Fixing vector/main-ltr.css putting a white background on the Quotation template */ | |||
table.quotation { | |||
background: transparent !important; | |||
} | |||
/* Test Chamber infobox styling */ | |||
.testchamber { | |||
background: url(https://i2.theportalwiki.net/img/c/c7/Test_Chamber_Infobox_middle.png) repeat-y; | |||
display: block; | |||
float: right; | |||
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 { | |||
background: url(https://i2.theportalwiki.net/img/8/84/Test_Chamber_Infobox_top.png) no-repeat; | |||
width: 326px; | |||
height: 46px; | |||
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 { | |||
background: url(https://i2.theportalwiki.net/img/9/91/Test_Chamber_Infobox_bottom.png) no-repeat; | |||
width: 326px; | |||
height: 46px; | |||
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 { | |||
margin-left: 48px; | |||
margin-right: 12px; | |||
margin-top: -32px; | |||
} | |||
.testchamber hr { | |||
width: 264px; | |||
color: #000000 !important; | |||
background-color: #000000 !important; | |||
height: 2px !important; | |||
margin: 0.5em 0em; | |||
} | |||
.testchamber code { | |||
background-color: transparent !important; | |||
} | |||
.testchamber-meter { | |||
background: url(https://i2.theportalwiki.net/img/f/fc/Chamber_progress.png) repeat-x; | |||
} | |||
.testchamber-progress { | |||
clear: both; | |||
margin-top: 6px; | |||
} | |||
.testchamber-screenshot { | |||
margin-bottom: 4px; | |||
margin-top: 7px; | |||
} | |||
.testchamber-icons { | |||
margin-left: -3px; | |||
margin-right: -3px; | |||
margin-bottom: -3px; | |||
} | |||
.testchamber-icons img { | |||
margin: 3px; | |||
} | |||
/* Flickering effects */ | |||
.testchamber.testchamber-off, .testchamber.testchamber-off .testchamber-header, | |||
.testchamber.testchamber-off .testchamber-footer { | |||
background-position: -326px 0px !important; | |||
} | |||
.testchamber.testchamber-display1-off .testchamber-display1, | |||
.testchamber.testchamber-display2-off .testchamber-display2 { | |||
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; | |||
} | |||
/* 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; | |||
} | |||
/* Lightbox */ | |||
/** | |||
* jQuery lightBox plugin | |||
* This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/) | |||
* and adapted to me for use like a plugin from jQuery. | |||
* @name jquery-lightbox-0.5.css | |||
* @author Leandro Vieira Pinho - http://leandrovieira.com | |||
* @version 0.5 | |||
* @date April 11, 2008 | |||
* @category jQuery plugin | |||
* @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com) | |||
* @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 | |||
*/ | |||
#jquery-overlay { | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
z-index: 90; | |||
width: 100%; | |||
height: 500px; | |||
} | |||
#jquery-lightbox { | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
width: 100%; | |||
z-index: 100; | |||
text-align: center; | |||
line-height: 0; | |||
} | |||
#jquery-lightbox a img { border: none; } | |||
#lightbox-container-image-box { | |||
position: relative; | |||
background-color: #fff; | |||
width: 250px; | |||
height: 250px; | |||
margin: 0 auto; | |||
} | |||
#lightbox-container-image { padding: 10px; } | |||
#lightbox-loading { | |||
position: absolute; | |||
top: 40%; | |||
left: 0%; | |||
height: 25%; | |||
width: 100%; | |||
text-align: center; | |||
line-height: 0; | |||
} | |||
#lightbox-nav { | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
height: 100%; | |||
width: 100%; | |||
z-index: 10; | |||
} | |||
#lightbox-container-image-box > #lightbox-nav { left: 0; } | |||
#lightbox-nav a { outline: none;} | |||
#lightbox-nav-btnPrev, #lightbox-nav-btnNext { | |||
width: 49%; | |||
height: 100%; | |||
zoom: 1; | |||
display: block; | |||
} | |||
#lightbox-nav-btnPrev { | |||
left: 0; | |||
float: left; | |||
} | |||
#lightbox-nav-btnNext { | |||
right: 0; | |||
float: right; | |||
} | |||
#lightbox-container-image-data-box { | |||
font: 10px Verdana, Helvetica, sans-serif; | |||
background-color: #fff; | |||
margin: 0 auto; | |||
line-height: 1.4em; | |||
overflow: auto; | |||
width: 100%; | |||
padding: 0 10px 0; | |||
} | |||
#lightbox-container-image-data { | |||
padding: 0 10px; | |||
color: #666; | |||
} | |||
#lightbox-container-image-data #lightbox-image-details { | |||
width: 70%; | |||
float: left; | |||
text-align: left; | |||
} | |||
#lightbox-image-details-caption { font-weight: bold; } | |||
#lightbox-image-details-currentNumber { | |||
display: block; | |||
clear: left; | |||
padding-bottom: 1.0em; | |||
} | |||
#lightbox-secNav-btnClose { | |||
width: 66px; | |||
float: right; | |||
padding-bottom: 0.7em; | |||
} | |||
/* 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 */ | |||