If you wish to contribute or participate in the discussions about articles you are invited to contact the Editor
MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
m (Blanked the page) |
mNo edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | |||
body.page-Main_Page h1.firstHeading { display:none; } | |||
/* even and odd in tables*/ | |||
smwtable.row-even {background-color:#FFF;} | |||
smwtable.row-odd {background-color:#CDE6EA;} | |||
@media print { | |||
.noprint { | |||
display:none; | |||
} | |||
} | |||
@media only screen { | |||
.hide { | |||
display:none; | |||
} | |||
} | |||
/* Change the external link icon to an Adobe icon for all PDF files | |||
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; | |||
} | |||
a.new { | |||
color: #ba0000; | |||
} |
Revision as of 13:20, 1 November 2015
/* CSS placed here will be applied to all skins */ body.page-Main_Page h1.firstHeading { display:none; } /* even and odd in tables*/ smwtable.row-even {background-color:#FFF;} smwtable.row-odd {background-color:#CDE6EA;} @media print { .noprint { display:none; } } @media only screen { .hide { display:none; } } /* Change the external link icon to an Adobe icon for all PDF files 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; } a.new { color: #ba0000; }