MediaWiki:Common.css

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)
  • Internet Explorer / Edge: tieni premuto il tasto Ctrl e fai clic su Aggiorna, oppure premi Ctrl-F5
  • Opera: premi Ctrl-F5.
 
 /*<nowiki> Common CSS for all skins - copy to your user CSS to change */
 
 /*******************************/
 /* wikitable/prettytable class */
 /*******************************/
 
 /* wikitable/prettytable class for skinning normal tables,
    but don't skin tables within tables by accident */
 
 table.wikitable,
 table.prettytable {
   margin: 1em 1em 1em 0;
   background: #f9f9f9;
   border: 1px #aaaaaa solid;
   border-collapse: collapse;
 }
 
 table.wikitable>*>tr>th,
 table.wikitable>*>tr>td,
 table.wikitable>tr>th,
 table.wikitable>tr>td,
 table.prettytable>*>tr>th,
 table.prettytable>*>tr>td,
 table.prettytable>tr>th,
 table.prettytable>tr>td
 {
   border: 1px #aaaaaa solid;
   padding: 0.2em;
 }
 
 table.wikitable>*>tr>th,
 table.wikitable>tr>th,
 table.prettytable>*>tr>th,
 table.prettytable>tr>th
 {
   background: #ccccff;
   text-align: center;
 }
 
 table.wikitable caption,
 table.prettytable caption {
   margin-left: inherit;
   margin-right: inherit;
 }
 
 /************************/
 /* CommonsTicker styles */
 /************************/
 
 
 /* Put a checker background at the image description page only visible if the image has transparent background */
 
 #file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;}
 
 /* Fix the background color on the sitenotice */
 table#mw-dismissable-notice {
   background-color: transparent;
 }
 
 /* Default messagebox is gray */
 .messagebox { width:90%; margin:0px auto; padding:0em; border:2px solid #aaaaaa; background:#fbfbfb; color:black; text-align:left; }
 .messagebox img { border:0em; padding:0em 0.5em; text-align:center; }
 
 /* default for all content namespaces */
.messagebox + .messagebox { border-top-width:0em; margin-top:-1px; }
.messagebox         { border-left-color:#1e90ff; border-left-width:10px; }
.messagebox.notice  { border-left-color:#1e90ff; }
.messagebox.warning { border-left-color:#b22222; }
.messagebox.serious { border-left-color:#b22222; }
.messagebox.content { border-left-color:#f28500; }
.messagebox.style   { border-left-color:#f4c430; }
.messagebox.merge   { border-left-color:#9932cc; }
.messagebox.growth  { border-left-color:#228b22; }
.messagebox.idea    { border-left-color:yellow;  }
.messagebox.query   { border-left-color:#ffb734; }
.messagebox.move    { border-left-color:#9932cc; }
 
 /* image namespace */
 .messagebox + .messagebox { border-top-width:2px; margin-top:0.5em; }
 .messagebox         { border-color:#1e90ff; border-bottom-width:5px; border-left-width:2px;}
 .messagebox.notice  { border-color:#1e90ff; }
 .messagebox.warning { border-color:#b22222; }
 .messagebox.serious { border-color:#b22222; }
 .messagebox.content { border-color:#f28500; }
 .messagebox.query   { border-color:#ffb734; }
 .messagebox.free    { border-color:#79CC55; }
 .messagebox.nonfree { border-color:#EF9132; }
 .messagebox.pd      { border-color:#7E80A3; }
 .messagebox.move    { border-color:#9932cc; }
 
 
/* End of Common CSS skin </nowiki>*/