مدیاویکی:Common.css: تفاوت بین نسخهها
پرش به ناوبری
پرش به جستجو
(صفحهای تازه حاوی « {{#css: body { background: yellow; font-size: 20pt; color: red; } }}» ایجاد کرد) |
|||
سطر ۱: | سطر ۱: | ||
+ | /* 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; | ||
+ | } |
نسخهٔ ۱۹ ژوئن ۲۰۱۸، ساعت ۰۵:۵۹
/* 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; }