MediaWiki:Common.css: differenze tra le versioni
Aspetto
Annullata la modifica 31 di LeoAdmin (discussione) Etichetta: Annulla |
Nessun oggetto della modifica |
||
| Riga 11: | Riga 11: | ||
/* @noflip */ | /* @noflip */ | ||
padding: 18px 18px 8px 0; | padding: 18px 18px 8px 0; | ||
} | |||
/* Change the external link icon to a PDF icon for all WORD files */ | |||
.mw-parser-output a[href$=".doc"], | |||
.mw-parser-output a[href*=".doc?"], | |||
.mw-parser-output a[href*=".doc#"], | |||
.mw-parser-output a[href$=".DOC"], | |||
.mw-parser-output a[href*=".DOC?"], | |||
.mw-parser-output a[href*=".docx"], | |||
.mw-parser-output a[href*=".docx?"], | |||
.mw-parser-output a[href*=".docx#"], | |||
.mw-parser-output a[href*=".DOCX"], | |||
.mw-parser-output a[href*=".DOCX?"], | |||
.mw-parser-output a[href*=".DOCX#"], | |||
.mw-parser-output a[href*=".DOC#"] { | |||
background: url("https://upload.wikimedia.org/wikipedia/commons/f/fb/.docx_icon.svg") | |||
no-repeat right; | |||
/* @noflip */ | |||
padding: 5px 30px 5px 0; | |||
} | } | ||
Versione delle 21:57, 2 giu 2025
/* Gli stili CSS inseriti qui si applicano a tutti i temi */
/* Change the external link icon to a PDF icon for all PDF files */
.mw-parser-output a[href$=".pdf"],
.mw-parser-output a[href*=".pdf?"],
.mw-parser-output a[href*=".pdf#"],
.mw-parser-output a[href$=".PDF"],
.mw-parser-output a[href*=".PDF?"],
.mw-parser-output a[href*=".PDF#"] {
background: url("https://upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png")
no-repeat right;
/* @noflip */
padding: 18px 18px 8px 0;
}
/* Change the external link icon to a PDF icon for all WORD files */
.mw-parser-output a[href$=".doc"],
.mw-parser-output a[href*=".doc?"],
.mw-parser-output a[href*=".doc#"],
.mw-parser-output a[href$=".DOC"],
.mw-parser-output a[href*=".DOC?"],
.mw-parser-output a[href*=".docx"],
.mw-parser-output a[href*=".docx?"],
.mw-parser-output a[href*=".docx#"],
.mw-parser-output a[href*=".DOCX"],
.mw-parser-output a[href*=".DOCX?"],
.mw-parser-output a[href*=".DOCX#"],
.mw-parser-output a[href*=".DOC#"] {
background: url("https://upload.wikimedia.org/wikipedia/commons/f/fb/.docx_icon.svg")
no-repeat right;
/* @noflip */
padding: 5px 30px 5px 0;
}