Difference between revisions of "MediaWiki:Common.css"

Jump to navigation Jump to search
3,358 bytes removed ,  02:12, 15 January 2014
modify somewhat... stripping
(update - from WP - 23:53, 6 January 2014‎ Edokter (talk | contribs))
(modify somewhat... stripping)
 
Line 457: Line 457:
}
}


/* Icons for medialist templates [[Template:Listen]],
/* DEL SECTION */
  [[Template:Multi-listen_start]], [[Template:Video]],
  [[Template:Multi-video_start]] */
div.listenlist {
    background: url("//upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png");
    /* @noflip */
    padding-left: 40px;
}


/* Fix for hieroglyphs specificality issue in infoboxes ([[Bugzilla:41869]]) */
/* Fix for hieroglyphs specificality issue in infoboxes ([[Bugzilla:41869]]) */
Line 492: Line 485:
}
}


/* Change the external link icon to an Adobe icon for all PDF files
/* DEL SECTION */
  in browsers that support these CSS selectors, like Mozilla and Opera */
div#content a[href$=".pdf"].external,
div#content a[href*=".pdf?"].external,
div#content a[href*=".pdf#"].external,
div#content a[href$=".PDF"].external,
div#content a[href*=".PDF?"].external,
div#content a[href*=".PDF#"].external,
div#mw_content a[href$=".pdf"].external,
div#mw_content a[href*=".pdf?"].external,
div#mw_content a[href*=".pdf#"].external,
div#mw_content a[href$=".PDF"].external,
div#mw_content a[href*=".PDF?"].external,
div#mw_content a[href*=".PDF#"].external {
    background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
    /* @noflip */
    padding-right: 18px;
}


/* Change the external link icon to an Adobe icon anywhere the PDFlink class
/* DEL SECTION */
  is used (notably Template:PDFlink). This works in IE, unlike the above. */
div#content span.PDFlink a,
div#mw_content span.PDFlink a {
    background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
    /* @noflip */
    padding-right: 18px;
}


/* Content in columns with CSS instead of tables ([[Template:Columns]]) */
/* Content in columns with CSS instead of tables ([[Template:Columns]]) */
Line 961: Line 930:
}
}


/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
/* DEL SECTION */
.hiddenStructure {
    display: inline !important;
    color: #f00;
    background-color: #0f0;
}


/* suppress missing interwiki image links where #ifexist cannot
/* DEL SECTION */
  be used due to high number of requests see .hidden-redlink on
  [[m:MediaWiki:Common.css]] */
.check-icon a.new {
    display: none;
    speak: none;
}


/* Removes underlines from certain links */
/* Removes underlines from certain links */
Line 1,190: Line 1,148:
}
}


/* Selectively hide headers in WikiProject banners */
/* DEL SECTION */
.wpb .wpb-header            { display: none; }
.wpbs-inner .wpb .wpb-header { display: block; }    /* for IE */
.wpbs-inner .wpb .wpb-header { display: table-row; } /* for real browsers */
.wpbs-inner .wpb-outside    { display: none; }      /* hide things that should only display outside shells */


/* Styling for Abuse Filter tags */
/* Styling for Abuse Filter tags */
Line 1,276: Line 1,230:
}
}


/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
/* DEL SECTION */
  [[Bugzilla:26204]]. See also [[Wikipedia:Typography#The monospace 'bug']] */
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript,
pre.source-lua {
    font-family: monospace, Courier !important;
}


/* Fix styling of transcluded prefindex tables */
/* Fix styling of transcluded prefindex tables */
Line 1,333: Line 1,278:
}
}


/* For announcements */
/* DEL SECTION */
#bodyContent .letterhead {
    background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png');
    background-repeat:no-repeat;
    padding: 2em;
    background-color: #faf9f2;
}


/* Tree style lists */
/* Tree style lists */
Line 1,392: Line 1,331:
}
}


/* [[MediaZilla:35337]] */
/* DEL SECTION */
@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx), (min-resolution: 144dpi) {
 
        #p-logo a {
/* DEL SECTION */
                background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/b3/Wikipedia-logo-v2-en.svg/204px-Wikipedia-logo-v2-en.svg.png") !important;
                background-size: 136px auto;
        }
}
@media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi) {
        #p-logo a {
                background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/b3/Wikipedia-logo-v2-en.svg/270px-Wikipedia-logo-v2-en.svg.png") !important;
                background-size: 135px auto;
        }
}

Navigation menu