MediaWiki:Common.css

From Wiktionary

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/* 
==skinning infobox tables==
*/
 
.asinottico {
    border:1px solid #aaaaaa;
    background-color:#f9f9f9;
    padding:3px;
    font-size: 95%;
    clear:right;
    width:300px;
    float:right;
    margin: 0em 0.5em 0.5em 0.2em;
    vertical-align: top;
}
 
.asinottico th {
    background-color: #f2f2f2;
    padding: 0em 0.5em;
    text-align: right;
    vertical-align: top;
}

.asinottico td {
    padding: 0em 0.2em;
    vertical-align: top;
}
 
.asinottico_testata th {
    font-size: 120%;
    padding: 0em 0.5em;
    background-color: #dedede;
    text-align: center;
}
 
.asinottico_piede {
    text-align: center;
    font-size: 80%;
    background:#EFEFEF;
}
 
.asinottico_divisione th {
    font-size: 100%;
    padding: 0em 0.5em;
    background-color: #eeeeee;
    text-align: center;
 
}

/* wikitable/prettytable class for skinning normal tables */
 
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
}
 
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px #aaa solid;
padding: 0.2em;
}
 
table.wikitable th,
table.prettytable th {
background: #f2f2f2;
text-align: center;
}
 
table.wikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}



/* stili Article message box template (Ambox) */
table.ambox {
margin: 0 10%;                       /* Will not overlap with other elements */
border-collapse: collapse; 
background: #fbfbfb; 
border: 1px solid #aaa; 
border-left: 10px solid #1e90ff;     /* Default "notice" blue */
}
table.ambox th.ambox-text, table.ambox td.ambox-text {      /* The message body cell(s) */
padding: 0.25em 0.5em;            /* 0.5em left/right */
width: 100%;                      /* Make all templates the same width regardless of text size */
}
table.ambox td.ambox-image {          /* The left image cell */
padding: 2px 0px 2px 0.5em;       /* 0.5em left, 0px right */
text-align: center; 
}
table.ambox td.ambox-imageright {     /* The right image cell */
padding: 2px 4px 2px 0px;         /* 0px left, 4px right */
text-align: center; 
}
table.ambox-notice {
border-left: 10px solid #1e90ff;     /* Blue */
/* border-right: 10px solid #1e90ff; */  /* If you want two blue bars */
}

table.ambox-speedy {
 border-left: 10px solid #b22222;    /* Red */
 background: #FFDFDF;                   /* Pink */
}

table.ambox-delete,
table.ambox-serious {
border-left: 10px solid #b22222;     /* Red */
}
table.ambox-content {
border-left: 10px solid #f28500;     /* Orange */
}
table.ambox-style {
border-left: 10px solid #f4c430;     /* Yellow */
}
table.ambox-merge {
border-left: 10px solid #9932cc;     /* Purple */
}
table.ambox-protection {
border-left: 10px solid #bba;        /* Gray */
}
table.ambox-altro {
border-left: 10px solid #32cd32;     /* Green */
}
table.ambox.ambox-mini {                 /* small floating box variant */
float: right;
clear: right;
margin: 0 0 0 1em;
width: 25%;
}
/* Stile message box (es: template:editnotice) */
table.fmbox {
    clear: both;
    margin: 0.2em 0;
    width: 100%;
    border: 1px solid #aaa;
    background: #f9f9f9;     /* Default "system" gray */
}
table.fmbox-system {
    background: #f9f9f9;
}
table.fmbox-warning {
    border: 1px solid #bb7070;  /* Dark pink */
    background: #ffdbdb;        /* Pink */
}
table.fmbox-editnotice {
    background: transparent;
}
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #bb7070;
    background: #ffdbdb;
    padding: 0.25em 0.9em;
}
/* Div based "system" style fmbox messages.
   Used in [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.fmbox-system {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #aaa;
    background: #f9f9f9;
    padding: 0.25em 0.9em;
}

/* Immagine di sfondo per la pagina delle ultime modifiche */
#BG_wiki { background-image: url(//upload.wikimedia.org/wiktionary/it/8/85/Logo_notext_opaco_per_RC.png);}


/* Highlight per le note */
 
ol.references > li:target {
background-color: #DEF;
}

sup.reference:target {
background-color: #DEF;
}

/*Immagine non cliccabile che simula un redirect preso da [[user:Wim b/monobook.css]] -con Firefox3 funziona, altri browser non testati-) */
#falseredirect { background-image: url(//upload.wikimedia.org/wikipedia/commons/5/52/Redirect_arrow_without_text.png);}

/* ################################# */


/* Sfondo per barra d'avanzamento grafica, codice preso da [[user:Wim b/monobook.css]] -con Firefox3 funziona, altri browser non testati-*/

/* BARRA ARANCIO */
#BarraLemmiArancio { background-image: url(//upload.wikimedia.org/wikipedia/commons/9/91/ProgressBarUpArancio.png);}

/* BARRA BLU */
#BarraLemmiBlu { background-image: url(//upload.wikimedia.org/wikipedia/commons/7/75/ProgressBarUpBlu.png);}

/* BARRA CELESTE */
#BarraLemmiCeleste { background-image: url(//upload.wikimedia.org/wikipedia/commons/e/ee/ProgressBarUpCeleste.png);}

/* BARRA ROSSO */
#BarraLemmiRosso { background-image: url(//upload.wikimedia.org/wikipedia/commons/e/ef/ProgressBarUpRosso.png);}

/* BARRA VIOLA */
#BarraLemmiViola { background-image: url(//upload.wikimedia.org/wikipedia/commons/b/bb/ProgressBarUpViola.png);}

/* BARRA VERDE */
#BarraLemmiVerde { background-image: url(//upload.wikimedia.org/wikipedia/commons/7/74/ProgressBarUpVerde.png);}


/*HERE STARTS "METABOX" COLOUR-SCHEMES*/
 
/* Schema dei colori per il Template:Metabox usato nella pagina principale */
 
/* Configurazione del viola (colore standard)
Tonalità usate; 1; 7050a0 2; 9070c0 3; b090e0 4; d0b0ff 5; f0d0ff */
 
.mcBoto {
background-color: #d0b0ff; /* 4 */
border: 0.15em solid #000000;
border-color: #f0d0ff #b090e0 #9070c0 #f0d0ff;  /* 5 3 3 5 */
border-top-left-radius: .5em;
border-top-right-radius: .5em;
cursor: pointer;
display: inline;
margin-right: 0.1em;
padding: 0.2em 0.3em 0.2em 0.3em;
position: relative;}
 
.mcBoto a,
.mcBoto strong {
background: none !important;
color:#7050a0 !important;  /* 1 */
font-size: 90%;
font-weight: bold;
padding: 0 !important;
text-decoration: none !important;}
 
.mcBoto a:hover,
.mcBoto strong:hover {
color: black !important;
text-decoration: underline !important;}
 
.mcBotoSel {
background-color: #9070c0; /* 2 */
border: 0.15em solid #000000;
border-color: #b090e0 #7050a0 #9070c0 #b090e0;  /* 3 1 2 3 */
border-top-left-radius: .5em;
border-top-right-radius: .5em;
cursor: default;
display: inline;
margin-right: 0.1em;
padding: 0.2em 0.3em 0.2em 0.3em;
position: relative;
color:white;}
 
.mcBotoSel a {
background: none !important;
color:white !important;
cursor: default;
font-size: 90%;
font-weight: bold;
padding: 0 !important;
text-decoration: none !important;}
 
.mcContingut {
background-color: #f8f8ff;
border: 0.2em solid #9070c0; /* 2 */
border-color: #9070c0 #7050a0 #7050a0 #9070c0 ; /* 2 1 1 2 */
border-top-right-radius: .5em;
border-bottom-right-radius: .5em;
padding: 1em;
position: static;  /* Si hi posem relative falla amb MSIE */}
 
.mcPestanya {
background-color: #f8f8ff;
border-color: #7050a0 #b090e0 #b090e0 #7050a0; /* 1 3 3 1 */  width: 100%;
}
 
/* Configurazione del Verde 1;60b030 2;75c045 3;90d060 4;a5e085 5;c0f090 */
 
.mcVerde .mcBoto {
background-color: #a5e085; /* 4 */
border-color: #c0f090 #90d060 #75c045 #c0f090;  /* 5 3 2 5 */}
 
.mcVerde .mcBoto a,
.mcVerde .mcBoto strong {
color:#60b030 !important;  /* 1 */
font-size:90%}
 
.mcVerde .mcBoto a:hover,
.mcVerde .mcBoto strong:hover {
color: black !important;
text-decoration: underline;}
 
.mcVerde .mcBotoSel {
background-color: #75c045; /* 2 */
border-color: #90d060 #60b030 #75c045 #90d060;  /* 3 1 2 3 */}
 
.mcVerde .mcContingut {
background-color: #f5fffa;
border-color: #75c045 #60b030 #60b030 #75c045 ; /* 2 1 1 2 */}
 
.mcVerde .mcPestanya {
background-color: #f5fffa;
border-color: #60b030 #90d060 #90d060 #60b030; /* 1 3 3 1 */}
 
/* Configurazione del Rosso 1;CC0000 2;FF0000 3;FF8888 4;FFAAAA 5;FFCCCC */
 
.mcRosso .mcBoto {
background-color: #FFAAAA; /* 4 */
border-color: #FFCCCC #FF8888 #FF0000 #FFCCCC;  /* 5 3 2 5 */}
 
.mcRosso .mcBoto a,
.mcRosso .mcBoto strong {
color:#CC0000 !important;  /* 1 */
font-size:90%}
 
.mcRosso .mcBoto a:hover 
.mcRosso .mcBoto strong:hover {
color: black !important;
text-decoration: underline;}
 
.mcRosso .mcBotoSel {
background-color: #FF0000; /* 2 */
border-color: #FF8888 #CC0000 #FF0000 #FF8888;  /* 3 1 2 3 */}
 
.mcRosso .mcContingut {
background-color: #fffafa;
border-color: #FF0000 #CC0000 #CC0000 #FF0000; /* 2 1 1 2 */}
 
.mcRosso .mcPestanya {
background-color: #fffafa;
border-color: #CC0000 #FF0000 #FF0000 #CC0000; /* 1 3 3 1 */}
 
/* Configurazione del Blu 1;3379de 2;5b8dd6 3;88abde 4;a7c1e6 5;c8d6e9 */
 
.mcBlu .mcBoto {
background-color: #a7c1e6; /* 4 */
border-color: #c8d6e9 #88abde #5b8dd6 #c8d6e9;  /* 5 3 2 5 */}
 
.mcBlu .mcBoto a,
.mcBlu .mcBoto strong {
color:#3379de !important;  /* 1 */
font-size:90%}
 
.mcBlu .mcBoto a:hover 
.mcBlu .mcBoto strong:hover {
color: black !important;
text-decoration: underline;}
 
.mcBlu .mcBotoSel {
background-color: #5b8dd6; /* 2 */
border-color: #88abde #3379de #5b8dd6 #88abde;  /* 3 1 2 3 */}
 
.mcBlu .mcContingut {
background-color: #f0f8ff;
border-color: #5b8dd6 #3379de #3379de #5b8dd6; /* 2 1 1 2 */}
 
.mcBlu .mcPestanya {
background-color: #f0f8ff;
border-color: #3379de #88abde #88abde #3379de; /* 1 3 3 1 */}
 
 
/* Configurazione del Giallo 1;ffd813 2;ffe147 3;ffe977 4;fff1a4 5;fef4bc */
 
.mcGiallo .mcBoto {
background-color: #fff1a4; /* 4 */
border-color: #fef4bc #ffe977 #ffe147 #fef4bc;  /* 5 3 2 5 */}
 
.mcGiallo .mcBoto a,
.mcGiallo .mcBoto strong {
color:#ffd813 !important;  /* 1 */
font-size:90%}
 
.mcGiallo .mcBoto a:hover 
.mcGiallo .mcBoto strong:hover {
color: black !important;
text-decoration: underline;}
 
.mcGiallo .mcBotoSel {
background-color: #ffe147; /* 2 */
border-color: #ffe977 #ffd813 #ffe147 #ffe977;  /* 3 1 2 3 */}
 
.mcGiallo .mcContingut {
background-color: #fffce8;
border-color: #ffe147 #ffd813 #ffd813 #ffe147; /* 2 1 1 2 */}
 
.mcGiallo .mcPestanya {
background-color: #fffce8;
border-color: #ffd813 #88abde #88abde #ffd813; /* 1 3 3 1 */}
 
/*Configurazione dell'Arancione 1;ff820e 2;ff9d42 3;ffac5d 4;ffbd7f 5;ffd0a4 6;ffeedd */
 
.mcArancione .mcBoto {
background-color: #ffbd7f; /* 4 */
border-color: #ffd0a4 #ffac5d #ff9d42 #ffd0a4;  /* 5 3 2 5 */}
 
.mcArancione .mcBoto a,
.mcArancione .mcBoto strong {
color:#ff820e !important;  /* 1 */
font-size:90%}
 
.mcArancione .mcBoto a:hover 
.mcArancione .mcBoto strong:hover {
color: black !important;

text-decoration: underline;}
 
.mcArancione .mcBotoSel {
background-color: #ff9d42; /* 2 */
border-color: #ffac5d #ff820e #ff9d42 #ffac5d;  /* 3 1 2 3 */}
 
.mcArancione .mcContingut {
background-color: #ffeedd; /* 6 */
border-color: #ff9d42 #ff820e #ff820e #ff9d42; /* 2 1 1 2 */}
 
.mcArancione .mcPestanya {
background-color: #ffeedd; /* 6 */
border-color: #ff820e #ffac5d #ffac5d #ff820e; /* 1 3 3 1 */}
 
/* Fine stili per il template:Metabox */

/* CATEGORIE NASCOSTE */
/* Se tutte le categorie di una voce sono nascoste, le mostra lo stesso (in modo da visualizzare il [altre] per poterci accedere) */
.catlinks-allhidden { display: block; }

/*Fine categorie nascoste */

/* Stile del box del siteNotice */
#mw-dismissable-notice {
background-color: transparent;
}

/* Nasconde il link di modifica negli h3 e h4 nel NS:0 */
.ns-0 h3 .mw-editsection, .ns-0 h4 .mw-editsection {
   display:none;
}

/*Nasconde il link di modifica ai titoli - necessita di un div - usato per il {{-ref-}} */
.NonModificabile .mw-editsection{
   display:none;
}

/*
Evidenzia di blu qualsiasi testo che è inserito all'interno del template {{Ancora}}
*/
 
span.Citazione:target {
    background-color: #DEF;
}