Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
m Reverted edits by RJackson (talk) to last revision by WindPower
m Adjust patch diff font size
 
(25 intermediate revisions by 4 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("http://i2.theportalwiki.net/img/7/7c/Background_Portal_guy.png") no-repeat;
     background: url("https://i2.theportalwiki.net/img/7/7c/Background_Portal_guy.png") no-repeat;
     width: 128px;
     width: 128px;
     height: 315px;
     height: 315px;
Line 70: Line 77:
     top: 64px;
     top: 64px;
     float: left;
     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(http://i2.theportalwiki.net/img/b/b8/Portal_to_Team_Fortress_Wiki.png);
     background:url(https://i2.theportalwiki.net/img/b/b8/Portal_to_Team_Fortress_Wiki.png);
     width: 101px;
     width: 101px;
     height: 172px;
     height: 172px;
Line 100: Line 109:
     padding-top: 0px !important;
     padding-top: 0px !important;
}
}
End */
/* End Portal to Team Fortress Wiki in sidebar */
/* End Portal to Team Fortress Wiki in sidebar */


Line 276: 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("http://i2.theportalwiki.net/img/5/5d/Checker-16x16.png") repeat; }
#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("http://i2.theportalwiki.net/img/b/b3/Checker-16x16_Dark.png") repeat; }
#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 291: Line 301:
a[href$=".wav"].internal,
a[href$=".wav"].internal,
a[href$=".ogg"].internal {
a[href$=".ogg"].internal {
     background: url("http://i2.theportalwiki.net/img/4/46/Icon_external_link_wav.png") center right no-repeat;
     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 373: Line 383:
}
}
.mp-sectionblock {
.mp-sectionblock {
     background: url(http://i2.theportalwiki.net/img/3/35/Main_Page_gradient.png) repeat-x bottom;
     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(http://i2.theportalwiki.net/img/9/95/Main_page_header_gradient.png) repeat-x;  
     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: 0.5em;
     padding-left: 0.75em;
     padding-left: 0.75em;
     margin: -0.5em -0.5em 0px;
     margin: -0.5em -0.5em 0px;
Line 470: 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:Nik9990"],
.mw-userlink[title="User:Wormhole"],
/*    Trusted */
/*    Trusted */
.mw-userlink[title="User:AdvanS3b"],
.mw-userlink[title="User:AdvanS3b"],
Line 648: Line 661:
/* Diff styles */
/* Diff styles */
.diff-file {
.diff-file {
     font-family: monospace;
     font-family: ui-monospace, monospace;
}
}
.diff-contents {
.diff-contents {
     display: none; /* Hidden by default */
     display: none; /* Hidden by default */
     margin: 4px;
     margin: 4px;
     margin-left: 64px;
     margin-left: 0;
     border-top: 1px solid #E0E0E0;
     border-top: 1px solid #E0E0E0;
     border-bottom: 1px solid #E0E0E0;
     border-bottom: 1px solid #E0E0E0;
     background: #F9F9F9;
     background: #F9F9F9;
}
}
.diff-name-text, .diff-name-binary {
.diff-name-text, .diff-name-binary .diff-file-renamed {
     display: block;
     display: block;
    font-size: 10.5px;
}
}
.diff-name-binary {
.diff-name-binary, .diff-file-renamed {
     color: #606060;
     color: #606060;
    font-size: 10.5px;
}
}
.diff-name-text {
.diff-name-text {
Line 678: Line 693:
.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 691: Line 709:
     white-space: pre-wrap;
     white-space: pre-wrap;
     clear: both;
     clear: both;
}
.diff-line-entry {
     border-left: 1px solid #E0E0E0;
     border-left: 1px solid #E0E0E0;
     border-right: 1px solid #E0E0E0;
     border-right: 1px solid #E0E0E0;
Line 721: Line 737:
}
}
.diff-line-ellipsis {
.diff-line-ellipsis {
     padding-top: 8px;
     padding-top: 0;
     padding-bottom: 8px;
     padding-bottom: 8px;
     font-size: 1.4em;
     font-size: 1.4em;
Line 755: Line 771:
}
}
.diff-data-requested {
.diff-data-requested {
     background: url(http://i2.theportalwiki.net/img/4/43/Patch_diff_loading.gif) right no-repeat;
     background: url(https://i2.theportalwiki.net/img/4/43/Patch_diff_loading.gif) right no-repeat;
}
}


#pt-userpage,
#pt-userpage a,
#pt-anonuserpage,
#pt-anonuserpage,
#pt-login {
#pt-login {
     background: url(http://i2.theportalwiki.net/img/b/b4/Icon_Tiny_Cube.png) left top no-repeat;
     background-image: url(https://i2.theportalwiki.net/img/b/b4/Icon_Tiny_Cube.png) !important;
     padding-left: 17px !important;
    padding-left: 20px !important;
    background-position: 0 5px !important;
     background-repeat: no-repeat !important;
}
}


Line 788: Line 806:
/* Test Chamber infobox styling */
/* Test Chamber infobox styling */
.testchamber {
.testchamber {
     background: url(http://i2.theportalwiki.net/img/c/c7/Test_Chamber_Infobox_middle.png) repeat-y;
     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(http://i2.theportalwiki.net/img/8/84/Test_Chamber_Infobox_top.png) no-repeat;
     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(http://i2.theportalwiki.net/img/9/91/Test_Chamber_Infobox_bottom.png) no-repeat;
     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 810: Line 849:
     margin-top: -32px;
     margin-top: -32px;
}
}
.testchamber hr {
.testchamber hr {
     width: 264px;
     width: 264px;
Line 817: Line 857:
     margin: 0.5em 0em;
     margin: 0.5em 0em;
}
}
.testchamber code {
    background-color: transparent !important;
}
.testchamber-meter {
.testchamber-meter {
   background: url(http://i2.theportalwiki.net/img/f/fc/Chamber_progress.png) repeat-x;
   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 833: Line 881:
   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 841: Line 891:
     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 styling */
.old-aperture-infobox {
.old-aperture-infobox {
   width: 250px;
   width: 250px;
   height: 689px;
   height: 709px;
   float: right;
   float: right;
   clear: right;
   clear: right;
Line 854: Line 906:
   border: 1px solid black;
   border: 1px solid black;
   position: relative;
   position: relative;
   background: url(http://i2.theportalwiki.net/img/0/07/OldApertureNav_Background.png) top left no-repeat;
   background: url(https://i1.theportalwiki.net/img/0/07/OldApertureNav_Background.png) top left no-repeat;
}
}


Line 928: Line 980:
  * @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 - http://creativecommons.org/licenses/by-sa/2.5/br/deed.en_US
  * @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 1,043: Line 1,095:


#eventBg {
#eventBg {
     background: url('http://i2.theportalwiki.net/img/4/46/Event_BG_line.png') repeat-x;
     background: url('https://i2.theportalwiki.net/img/4/46/Event_BG_line.png') repeat-x;
     height: 120px;
     height: 120px;
     width: 100%;
     width: 100%;
Line 1,049: Line 1,101:
}
}
#eventLogo {
#eventLogo {
     background: url('http://i2.theportalwiki.net/img/7/70/Event_BG.png') center no-repeat;
     background: url('https://i2.theportalwiki.net/img/7/70/Event_BG.png') center no-repeat;
     text-align: center;
     text-align: center;
     padding-top: 20px;
     padding-top: 20px;
Line 1,075: Line 1,127:
}
}
.viewer-3d-overlay {
.viewer-3d-overlay {
     background: url(http://wiki.teamfortress.com/w/images/e/ed/3D_rotation_icon.png) bottom right no-repeat;
     background: url(https://wiki.teamfortress.com/w/images/e/ed/3D_rotation_icon.png) bottom right no-repeat;
     width: 100%;
     width: 100%;
     height: 100%;
     height: 100%;
Line 1,084: Line 1,136:


/* Donation stuff */
/* Donation stuff */
/* Flattr */
.flattr-sidebar {
.flattr-sidebar {
     text-align: center;
     text-align: center;
Line 1,089: Line 1,142:
#p-Support {
#p-Support {
     padding-bottom: 0px !important;
     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 */
/* End donation stuff */