MediaWiki:Common.css e Utente:Arlolra/sandbox/MediaWiki:Common.css: differenze tra le pagine

(Differenze fra le pagine)
Vai alla navigazione Vai alla ricerca
Pagina 1
Pagina 2
Contenuto cancellato Contenuto aggiunto
Usa token Codex per la classe messagebox, così funziona anche col tema scuro
 
Nessun oggetto della modifica
 
Riga 137: Riga 137:


.messagebox {
.messagebox {
border: 1px solid var( --border-color-base, #a2a9b1 );
border: 1px solid #aaa;
background-color: var( --background-color-interactive-subtle, #f8f9fa );
background-color: #f9f9f9;
width: 80%;
width: 80%;
margin: 0 auto 1em auto;
margin: 0 auto 1em auto;
Riga 145: Riga 145:


/***** Stili del template Avviso */
/***** Stili del template Avviso */
.avviso {
table.avviso {
margin: 5px 10%; /* Non si sovrappone ad altri elementi */
margin: 5px 10%; /* Non si sovrappone ad altri elementi */
border-collapse: collapse;
background: #fbfbfb;
background: #fbfbfb;
border: 1px solid #aaa;
border: 1px solid #aaa;
display: flex;
align-items: center;
box-sizing: border-box; /* Compatibilità con parametro 'stile' per template che si aspettano una tabella */
padding-left: 0.5em;
}
}
.avviso-testo { /* Corpo del messaggio */
.avviso-testo { /* Corpo del messaggio */
Riga 159: Riga 156:
}
}
.avviso-immagine { /* Stile dell'immagine a sinistra */
.avviso-immagine { /* Stile dell'immagine a sinistra */
padding: 2px 0 2px 0;
padding: 2px 0 2px 0.5em;
text-align: center;
text-align: center;
}
}
Riga 166: Riga 163:
text-align: center;
text-align: center;
}
}
.avviso-informazioni {
table.avviso-informazioni {
border-left: 10px solid #1e90ff; /* Blu */
border-left: 10px solid #1e90ff; /* Blu */
}
}
.avviso-cancella,
table.avviso-cancella,
.avviso-importante {
table.avviso-importante {
border-left: 10px solid #b22222; /* Rosso */
border-left: 10px solid #b22222; /* Rosso */
}
}
.avviso-contenuto {
table.avviso-contenuto {
border-left: 10px solid #f28500; /* Arancio */
border-left: 10px solid #f28500; /* Arancio */
}
}
.avviso-stile {
table.avviso-stile {
border-left: 10px solid #f4c430; /* Giallo */
border-left: 10px solid #f4c430; /* Giallo */
}
}
.avviso-statico {
table.avviso-statico {
border-left: 10px solid limegreen; /* Verde */
border-left: 10px solid limegreen; /* Verde */
}
}
.avviso-struttura {
table.avviso-struttura {
border-left: 10px solid #9932cc; /* Viola */
border-left: 10px solid #9932cc; /* Viola */
}
}
.avviso-generico {
table.avviso-generico {
border-left: 10px solid #bba; /* Grigio */
border-left: 10px solid #bba; /* Grigio */
}
}
Riga 202: Riga 199:


.itwiki_template_toc {
.itwiki_template_toc {
border: 1px solid var(--border-color-base, #a2a9b1);
border: 1px solid #aaaaaa;
background-color: var( --background-color-interactive-subtle, #f8f9fa );
background-color: #f9f9f9;
padding: 0;
padding: 0;
font-size: 95%;
font-size: 95%;
Riga 279: Riga 276:
font-size: 0.7rem;
font-size: 0.7rem;
font-family: sans-serif;
font-family: sans-serif;
}

/* T156351: Support for Parsoid's Cite implementation */
span[rel="mw:referencedBy"] {
counter-reset: mw-ref-linkback 0;
}
span[rel="mw:referencedBy"] > a::before {
font-style: italic;
content: counter( mw-ref-linkback, lower-alpha );
}
a[rel="mw:referencedBy"]::before {
font-weight: bold;
content: "^";
}
span[rel="mw:referencedBy"]::before {
font-weight: bold;
content: "^ ";
}
.mw-ref > a[data-mw-group=lower-alpha]::after {
content: '[' counter( mw-Ref, lower-alpha ) ']';
}
}