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 */
@import url('https://fonts.googleapis.com/css?family=Fjalla+One|Open+Sans');
/* Font */
body {
font-family: "Open Sans", sans-serif
}
h1, h2, h3, h4, h5, h6 {
font-family: "Fjalla One"
}
.mw-body-content h1, .mw-body-content h2, .mw-body h1 {
font-family: "Fjalla One"
}
.mw-body h1, .mw-body-content h1 {
font-size: 2.5em;
font-weight: bold;
}
.mw-body-content h2 {
font-size: 2em;
font-weight: bold;
}
.mw-body-content h3, .mw-body-content h4 {
font-weight: normal;
}
.mw-body-content h3 {
font-size: 1.6em;
}
.mw-body-content h4 {
font-size: 1.5em;
}
.mw-body-content h5 {
font-size: 1em;
}
.mw-body-content h6 {
font-size: 0.8em;
}
/* 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;
}
.extiw[href*="memory-alpha"] {
background-position: center right;
background-repeat: no-repeat;
background-image: url(https://vignette.wikia.nocookie.net/memoryalpha/images/6/64/Favicon.ico/revision/latest?cb=20080612103849&path-prefix=en);
background-image: -o-linear-gradient(transparent,transparent),url(https://vignette.wikia.nocookie.net/memoryalpha/images/6/64/Favicon.ico/revision/latest?cb=20080612103849&path-prefix=en);
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;
}
.titolobox {
padding: 5px;
background-color: #996633;
text-align: center;
color: white;
font-size: 18px;
position: relative;
z-index: 1;
padding:0.5em;
font-family: "Fjalla One"
}
#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;
border-right: none;
}
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;
border-left-width: 1px;
border-left-style: solid;
-webkit-border-image:
-webkit-gradient(linear, 0 100%, 0 0, from(#cfaa82), to(rgba(0, 0, 0, 0))) 1 100%;
-webkit-border-image:
-webkit-linear-gradient(bottom, #cfaa82, rgba(0, 0, 0, 0)) 1 100%;
-moz-border-image:
-moz-linear-gradient(bottom, #cfaa82, rgba(0, 0, 0, 0)) 1 100%;
-o-border-image:
-o-linear-gradient(bottom, #cfaa82, rgba(0, 0, 0, 0)) 1 100%;
border-image:
linear-gradient(to top, #cfaa82, rgba(0, 0, 0, 0)) 1 100%;
border-bottom: none;
padding-left: 0px;
}
div.vectorTabs span {
background-image: none;
border-right-width: 1px;
border-right-style: solid;
-webkit-border-image:
-webkit-gradient(linear, 0 100%, 0 0, from(#cfaa82), to(rgba(0, 0, 0, 0))) 1 100%;
-webkit-border-image:
-webkit-linear-gradient(bottom, #cfaa82, rgba(0, 0, 0, 0)) 1 100%;
-moz-border-image:
-moz-linear-gradient(bottom, #cfaa82, rgba(0, 0, 0, 0)) 1 100%;
-o-border-image:
-o-linear-gradient(bottom, #cfaa82, rgba(0, 0, 0, 0)) 1 100%;
border-image:
linear-gradient(to top, #cfaa82, rgba(0, 0, 0, 0)) 1 100%;
border-bottom: none;
}
div#mw-head div.vectorMenu h3 {
background-image: none;
border-right-width: 1px;
border-right-style: solid;
-webkit-border-image:
-webkit-gradient(linear, 0 100%, 0 0, from(#cfaa82), to(rgba(0, 0, 0, 0))) 1 100%;
-webkit-border-image:
-webkit-linear-gradient(bottom, #cfaa82, rgba(0, 0, 0, 0)) 1 100%;
-moz-border-image:
-moz-linear-gradient(bottom, #cfaa82, rgba(0, 0, 0, 0)) 1 100%;
-o-border-image:
-o-linear-gradient(bottom, #cfaa82, rgba(0, 0, 0, 0)) 1 100%;
border-image:
linear-gradient(to top, #cfaa82, rgba(0, 0, 0, 0)) 1 100%;
border-bottom: none;
}
blockquote{
border-left: 10px solid #cfaa82;
margin: 1.5em 10px;
padding: 0.5em 10px;
quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before{
color: #996633;
content: open-quote;
font-size: 4em;
line-height: 0.1em;
margin-right: 0.25em;
vertical-align: -0.4em;
}
blockquote:after {
content: "";
display: table;
clear: both;
}
.doppiacitazione:after {
content: "";
display: table;
clear: both;
}
.separatorebox {
clear:both;
width:100%;
text-align:center;
background-color: #fff5dc;
}
/* Elenchi puntati personalizzati */
.tttstoriabullet {list-style-image: url(https://wikitrek.org/images/8/87/%21immagini%21tttstoria.gif);}
.tttentbullet {list-style-image: url(https://wikitrek.org/images/e/e5/%21immagini%21tttent.gif);}
.ttttosbullet {list-style-image: url(https://wikitrek.org/images/1/10/%21immagini%21ttttos.gif);}
.ttttasbullet {list-style-image: url(https://wikitrek.org/images/e/e5/%21immagini%21ttttas.gif);}
.ttttngbullet {list-style-image: url(https://wikitrek.org/images/7/74/%21immagini%21ttttng.gif);}
.tttdsnbullet {list-style-image: url(https://wikitrek.org/images/1/19/%21immagini%21tttdsn.gif);}
.tttvoybullet {list-style-image: url(https://wikitrek.org/images/a/a4/%21immagini%21tttvoy.gif);}
.tttfilmbullet {list-style-image: url(https://wikitrek.org/images/5/57/%21immagini%21tttfilm.gif);}
.tttlibribullet {list-style-image: url(https://wikitrek.org/images/9/9a/%21immagini%21tttlibri.gif);}