Line 61: |
Line 61: |
| /* @noflip */ | | /* @noflip */ |
| text-align: left; | | text-align: left; |
− | }
| |
− |
| |
− | /* 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;
| |
− | }
| |
− |
| |
− | /* Change the external link icon to an Adobe icon anywhere the PDFlink class
| |
− | 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;
| |
| } | | } |
| | | |
Line 115: |
Line 87: |
| background-color: #ecfcf4; | | background-color: #ecfcf4; |
| padding: 1em; | | padding: 1em; |
− | }
| |
− |
| |
− | /* Minimum thumb width */
| |
− | .thumbinner {
| |
− | min-width: 100px;
| |
− | }
| |
− |
| |
− | /* Makes the background of a framed image white instead of gray.
| |
− | Only visible with transparent images. */
| |
− | div.thumb .thumbimage {
| |
− | background-color: #fff;
| |
− | }
| |
− |
| |
− | /* Put a chequered background behind images, only visible if they have transparency.
| |
− | '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
| |
− | .gallerybox .thumb img {
| |
− | background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
| |
− | }
| |
− | /* But not on articles, user pages, portals or with opt-out. */
| |
− | .ns-0 .gallerybox .thumb img,
| |
− | .ns-2 .gallerybox .thumb img,
| |
− | .ns-100 .gallerybox .thumb img,
| |
− | .nochecker .gallerybox .thumb img {
| |
− | background: #fff;
| |
− | }
| |
− |
| |
− | /* Prevent floating boxes from overlapping any category listings,
| |
− | file histories, edit previews, and edit [Show changes] views. */
| |
− | #mw-subcategories, #mw-pages, #mw-category-media,
| |
− | #filehistory, #wikiPreview, #wikiDiff {
| |
− | clear: both;
| |
| } | | } |
| | | |