MediaWiki:Common.css

Versione del 2 giu 2025 alle 21:58 di LeoAdmin (discussione | contributi)
(diff) ← Versione meno recente | Versione attuale (diff) | Versione più recente → (diff)

Nota: dopo aver pubblicato, potrebbe essere necessario pulire la cache del proprio browser per vedere i cambiamenti.

  • Firefox / Safari: tieni premuto il tasto delle maiuscole Shift e fai clic su Ricarica, oppure premi Ctrl-F5 o Ctrl-R (⌘-R su Mac)
  • Google Chrome: premi Ctrl-Shift-R (⌘-Shift-R su un Mac)
  • Edge: tieni premuto il tasto Ctrl e fai clic su Aggiorna, oppure premi Ctrl-F5.
/* 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: 10px 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;
}