MediaWiki:Common.css
Vai alla navigazione
Vai alla ricerca
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.
/* Gli stili CSS inseriti qui si applicano a tutti i temi */
/* Pagina principale */
.trecolonnecontenitore {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
margin: 1em 0;
}
.trecolonnefuori {
box-sizing: border-box;
float: left;
width: 32%;
padding: 0;
border: 1px solid #ffd700;
}
.trecolonnedentro {
padding: 8px;
}
.trecolonnedentro h2 {
margin-bottom: 0;
background: linear-gradient(white, grey);
}
/* Article message box styles */
/* copiato da https://en.wikipedia.org/wiki/MediaWiki:Common.css */
table.ambox {
margin: 0 10%; /* 10% = Will not overlap with other elements */
border: 1px solid #a2a9b1;
/* @noflip */
border-left: 10px solid #36c; /* Default "notice" blue */
background: #fbfbfb;
box-sizing: border-box;
}
table.ambox + table.ambox { /* Single border between stacked boxes. */
margin-top: -1px;
}
.ambox th.mbox-text,
.ambox td.mbox-text { /* The message body cell(s) */
padding: 0.25em 0.5em; /* 0.5em left/right */
}
.ambox td.mbox-image { /* The left image cell */
/* @noflip */
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright { /* The right image cell */
/* @noflip */
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
}
table.ambox-notice {
/* @noflip */
border-left: 10px solid #36c; /* Blue */
}
table.ambox-speedy {
/* @noflip */
border-left: 10px solid #b32424; /* Red */
background: #fee7e6; /* Pink */
}
table.ambox-delete {
/* @noflip */
border-left: 10px solid #b32424; /* Red */
}
table.ambox-content {
/* @noflip */
border-left: 10px solid #f28500; /* Orange */
}
table.ambox-style {
/* @noflip */
border-left: 10px solid #fc3; /* Yellow */
}
table.ambox-move {
/* @noflip */
border-left: 10px solid #9932cc; /* Purple */
}
table.ambox-protection {
/* @noflip */
border-left: 10px solid #a2a9b1; /* Gray-gold */
}
/* Icona per collegamenti esterni anche sugli Interwiki links */
.extiw {
background-position: center right;
background-repeat: no-repeat;
/* background-image: url(/skins/Vector/images/external-link-ltr-icon.png?325de);
background-image: -o-linear-gradient(transparent,transparent),url(/skins/Vector/images/external-link-ltr-icon.png?325de); */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/c/c1/Mediawiki_logo_sunflower.svg);
background-image: -o-linear-gradient(transparent,transparent),url(https://upload.wikimedia.org/wikipedia/commons/c/c1/Mediawiki_logo_sunflower.svg);
background-size: 12px;
padding-right: 13px;
}
/* CSS per InfoBox, vedere anche https://codepen.io/lucamauri/pen/dKxEVq */
.contenitorebox {
float:right;
color:#000;
width:25%;
}
.infobox {
width: 100%;
}
.infobox th {
text-align: right;
vertical-align: top;
width:50%;
}
.infobox td {
text-align: left;
vertical-align: top;
}
.infobox table {
width:100%;
}
#titolobox img {
left: 10px;
position: absolute;
z-index: 2;
}
#titolobox {
padding: 5px;
background-color: #996633;
text-align: center;
color: white;
font-size: 18px;
position: relative;
z-index: 1;
padding:0.5em;
}
#contenutobox {
padding:0.5em;
}
/* Campi INIZIO */
.infobox ul {
list-style-type: none;
margin: 0;
padding: 0;
display: inline;
}
.infobox li{
display: inline;
}
.infobox li + li:before {
content: " · ";
font-weight: bold;
}
/* Campi FINE */
.contenitoreimgbox {
clear:both;
width:100%;
}
.contenitoreimgbox img {
width: 100%;
height: 100%;
}
/* Elementi grafici azzurri modificati */
.mw-body {
border: 1px solid #cfaa82;
}
div.vectorTabs ul li {
background-image: none;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,fff5dc+100&0+0,1+100 */
background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,245,220,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,245,220,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,245,220,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#fff5dc',GradientType=0 ); /* IE6-9 */
}
div.vectorTabs{
background-image: none;
}
div.vectorTabs ul{
background-image: none;
}