Differenze tra le versioni di "MediaWiki:Common.css"
| (31 versioni intermedie di uno stesso utente non sono mostrate) | |||
| Riga 21: | Riga 21: | ||
.mw-wiki-logo { background-size: 175px; } | .mw-wiki-logo { background-size: 175px; } | ||
| − | /* formattazione */ | + | /* indice delle pagine */ |
| − | td.aligncenter { text-align: center; } | + | #toc ul, .toc ul { margin: 0 0; } |
| + | #toc ul ul, .toc ul ul { margin: 0 0 0 1rem; } | ||
| + | |||
| + | /* template */ | ||
| + | .template-building { | ||
| + | border: 1px dashed grey; | ||
| + | background: #eee; | ||
| + | padding: 5px 10px; | ||
| + | font-weight: bold; | ||
| + | text-align: center; | ||
| + | color: #555; | ||
| + | } | ||
| + | |||
| + | /* tabelle */ | ||
| + | table.wikitable > tbody > tr > th, | ||
| + | table.wikitable > tbody > tr > td { | ||
| + | padding: 4px 10px; | ||
| + | border: 1px solid lightgrey; | ||
| + | } | ||
| + | |||
| + | /* liste ; : */ | ||
| + | #mw-content dl dt { font-weight: bold; } | ||
| + | |||
| + | /* formattazione testo */ | ||
| + | td.aligncenter, div.aligncenter { text-align: center; } | ||
| + | dl > dt { font-weight: bold; } | ||
| + | div.columns { | ||
| + | display: table-cell; | ||
| + | width: 100%; | ||
| + | margin: 0px; | ||
| + | } | ||
| + | div.columns.large-6 { width: 50%; } | ||
| + | div.columns.large-4 { width: 33.3%; } | ||
| + | div.columns.large-3 { width: 25%; } | ||
| + | @media screen and (max-width: 600px) { | ||
| + | div.columns { display: block; } | ||
| + | div.columns.large-6 { width: 100%; } | ||
| + | div.columns.large-4 { width: 100%; } | ||
| + | div.columns.large-3 { width: 100%; } | ||
| + | } | ||
Versione attuale delle 10:43, 16 set 2024
/* Gli stili CSS inseriti qui si applicano a tutti i temi */
/* Disabilitazione TAB 'discussioni' */
#ca-talk { display:none!important; }
/* colori */
#mw-content h1#firstHeading { border-color: #fd9c00; }
.color-middle { background: black; }
#mw-page-header-links li.selected { border-bottom-color: #fd9c00; }
#mw-content h1, #mw-content h2 {
border-color: #cc0000;
}
#mw-content h1 a, #mw-content h2 a {
color: #cc0000;
}
#mw-content h3 {
border-bottom: 1px solid grey;
}
/* logo */
.mw-wiki-logo { background-size: 175px; }
/* indice delle pagine */
#toc ul, .toc ul { margin: 0 0; }
#toc ul ul, .toc ul ul { margin: 0 0 0 1rem; }
/* template */
.template-building {
border: 1px dashed grey;
background: #eee;
padding: 5px 10px;
font-weight: bold;
text-align: center;
color: #555;
}
/* tabelle */
table.wikitable > tbody > tr > th,
table.wikitable > tbody > tr > td {
padding: 4px 10px;
border: 1px solid lightgrey;
}
/* liste ; : */
#mw-content dl dt { font-weight: bold; }
/* formattazione testo */
td.aligncenter, div.aligncenter { text-align: center; }
dl > dt { font-weight: bold; }
div.columns {
display: table-cell;
width: 100%;
margin: 0px;
}
div.columns.large-6 { width: 50%; }
div.columns.large-4 { width: 33.3%; }
div.columns.large-3 { width: 25%; }
@media screen and (max-width: 600px) {
div.columns { display: block; }
div.columns.large-6 { width: 100%; }
div.columns.large-4 { width: 100%; }
div.columns.large-3 { width: 100%; }
}