MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
Remove extra padding from main page boxes; it makes the boxes taller than their background-image.
(transparency for spoiler-text)
(Remove extra padding from main page boxes; it makes the boxes taller than their background-image.)
 
(15 intermediate revisions by 3 users not shown)
Line 18: Line 18:
.spoiler-text {
.spoiler-text {
     background: #F6F6F6; /* Browsers that don't support rgba() */
     background: #F6F6F6; /* Browsers that don't support rgba() */
     background: rgba(246, 246, 246, 92);
     background: rgba(246, 246, 246, 0.65);
}
}


Line 27: 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 63: 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 71: Line 77:
     top: 64px;
     top: 64px;
     float: left;
     float: left;
    z-index: -1;
}
}


Line 77: Line 84:
#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 279: 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 294: 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 376: 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 473: 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 661: 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-name-binary, .diff-file-renamed {
     color: #606060;
     color: #606060;
}
}
Line 681: 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 758: 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;
}
}


Line 764: Line 777:
#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: 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 791: Line 804:
/* 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;
Line 798: Line 811:


.testchamber.dirty {
.testchamber.dirty {
     background: url(http://i2.theportalwiki.net/img/f/fd/Test_Chamber_Infobox_dirty_middle.png) repeat-y;
     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;
Line 809: Line 822:


.testchamber.dirty .testchamber-header {
.testchamber.dirty .testchamber-header {
     background: url(http://i2.theportalwiki.net/img/7/71/Test_Chamber_Infobox_dirty_top.png) no-repeat;
     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;
Line 820: Line 833:


.testchamber.dirty .testchamber-footer {
.testchamber.dirty .testchamber-footer {
     background: url(http://i1.theportalwiki.net/img/4/4d/Test_Chamber_Infobox_dirty_bottom.png) no-repeat;
     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;
}
}


Line 842: Line 861:


.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;
}
}


Line 879: Line 898:
.old-aperture-infobox {
.old-aperture-infobox {
   width: 250px;
   width: 250px;
   height: 689px;
   height: 709px;
   float: right;
   float: right;
   clear: right;
   clear: right;
Line 885: Line 904:
   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 959: 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 - 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,074: Line 1,093:


#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,080: Line 1,099:
}
}
#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,106: Line 1,125:
}
}
.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,121: Line 1,140:
#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 */

Navigation menu