MediaWiki:Gadget-StiliGlobali.css

Da Mario Wiki, l'enciclopedia italiana.

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.
/* Il CSS inserito qui sarà applicato a tutti i temi sia su desktop che su mobile. */

/* Tolgo la Categoria:Super Mario Wiki dalla Categoria:Super Mario Wiki */

body.page-Categoria_Super_Mario_Wiki.action-view #mw-subcategories div:last-child > h3,
body.page-Categoria_Super_Mario_Wiki.action-view #mw-subcategories div:last-child > ul,
body.page-Categoria_Super_Mario_Wiki.action-view #catlinks {
    display: none;
}

body.page-Pagina_principale.action-view h1.firstHeading, 
body.page-Pagina_principale.action-view #contentSub, 
body.page-Pagina_principale.action-view #siteSub, 
body.page-Pagina_principale.action-view #catlinks, 
body.page-Pagina_principale.action-view #lastmod {
    display: none!important;
}

span.comment, .diff td div, .filehistory.wikitable td[dir], .mw-parser-output a.external.free {
    overflow-wrap: anywhere!important;
}

/* Titoli con la sottolineatura */
h1 .explain[title], h2 .explain[title], h3 .explain[title], h4 .explain[title], h5 .explain[title], h6 .explain[title]{
    border-bottom: 2px dotted;
    text-decoration: none;
}
/* template Color-link */
a span, a font {
    text-decoration: inherit;
}

/* Infobox arrotondati */
.infobox-arrotondamenti {border-radius:8px;}
.infobox-arrotondamenti td:first-child {border-top-left-radius:4px; border-bottom-left-radius:4px;}
.infobox-arrotondamenti td:last-child {border-top-right-radius:4px; border-bottom-right-radius:4px;}
.infobox-arrotondamenti th:first-child {border-top-left-radius:4px; border-bottom-left-radius:4px;}
.infobox-arrotondamenti th:last-child {border-top-right-radius:4px; border-bottom-right-radius:4px;}
.infobox-arrotondamenti tr>td {
	padding:4px;
}

/* Colore nero */
.blacklink a,
.blacklink a:hover,
.blacklink a:visited,
.navtemplate.black tr:first-child th,
.navtemplate.black tr:first-child th a,
.navtemplate tr th,
.navtemplate tr th a,
.navtemplate.black tr:last-child th,
.navtemplate.black tr:last-child th a,
.navigazione.black tr th,
.navigazione.black tr th a,
.lingue > span > a.mw-collapsible-text,
.lingue > span > a.mw-collapsible-text:hover,
.lingue > span > a.mw-collapsible-text:visited,
.collassabile.black > .mw-collapsible-toggle > a,
.collassabile.black > .mw-collapsible-toggle > a:hover,
.collassabile.black > .mw-collapsible-toggle > a:visited {
	color:#000 !important;
}

/* Colore bianco */
.whitelink a,
.whitelink a:hover,
.whitelink a:visited,
.navtemplate.white tr:first-child th,
.navtemplate.white tr:first-child th a,
.navtemplate.white tr:last-child th:only-child,
.navtemplate.white tr:last-child th:only-child a,
.navigazione.white tr th,
.navigazione.white tr th a,
.collassabile.white > .mw-collapsible-toggle > a,
.collassabile.white > .mw-collapsible-toggle > a:hover,
.collassabile.white > .mw-collapsible-toggle > a:visited {
	color:#fff !important;
}

/* Utenti online */
.mw-recentchanges-toplinks ul {
	margin:5px 0;
}
.mw-recentchanges-toplinks li, 
.mw-recentchanges-toplinks ul {
	display:inline-block
}
.mw-recentchanges-toplinks li:not(:last-child):after {
	content: ','; 
	padding-right: 2.5px;
    padding-left: 0.5px;
}

/* Template di Navigazione */ 
.navtemplate.spp tr:first-child th, .navtemplate.spp tr:first-child th a, 
.navtemplate.mario-sml tr:first-child th, .navtemplate.mario-sml tr:first-child th a, 
.navtemplate.rpg-ml tr:first-child th, .navtemplate.rpg-ml tr:first-child th a, 
.navtemplate.spp tr:first-child th, .navtemplate.spp tr:first-child th a, 
.navtemplate.mario-sml tr:first-child th, .navtemplate.mario-sml tr:first-child th a, 
.navtemplate.rpg-ml tr:first-child th, .navtemplate.rpg-ml tr:first-child th a,
.navtemplate.spinoff tr:first-child th, .navtemplate.spinoff tr:first-child th a,
.navtemplate.tennis tr:first-child th, .navtemplate.tennis tr:first-child th a,
.navtemplate.sport tr:first-child th, .navtemplate.sport tr:first-child th a,
.navtemplate.media tr:first-child th, .navtemplate.media tr:first-child th a,
.navtemplate.crossover tr:first-child th, .navtemplate.crossover tr:first-child th a,
.navtemplate.console tr:first-child th, .navtemplate.console tr:first-child th a {
	color: #000 !important;
}

.navtemplate {
    margin-top: 2px;
}

/* Colori Default */
.navtemplate tr:nth-child(2n) td {
    background: #F5F5F5
}
.navtemplate tr td {
    background: #FEFEFE
}

/* --------------------------- Giochi principali --------------------------- */
/* Mario */
.navtemplate.mario tr:nth-child(2n) td, .navtable.mario tr:nth-child(2n) td {
	background-color: #fee4c5;
}
.navtemplate.mario tr td, .navtable.mario tr td {
	background-color: #fff5ee;
}

/* Yoshi */
.navtemplate.yoshi tr:nth-child(2n) td, .navtable.yoshi tr:nth-child(2n) td {
	background-color: #dfd;
}
.navtemplate.yoshi tr td, .navtable.yoshi tr td{
	background-color: #efe;
}

/* Wario */
.navtemplate.wario tr:nth-child(2n) td, .navtable.wario tr:nth-child(2n) td {
	background-color: #F8DFF8;
}
.navtemplate.wario tr td, .navtable.wario tr td {
	background-color: #F7C0F7;
}

/* Donkey Kong */
.navtemplate.dk tr:nth-child(2n) td, .navtable.dk tr:nth-child(2n) td {
	background-color: #F5DEB3;
}
.navtemplate.dk tr td, .navtable.dk tr td  {
	background-color: #FFF8DC;
}

/* --------------------------- Giochi Secondari --------------------------- */
/* Super Mario Land */
.navtemplate.mario-sml tr:nth-child(2n) td, .navtable.mario-sml tr:nth-child(2n) td {
	background-color: #fee4c5;
}
.navtemplate.mario-sml tr td, .navtable.mario-sml tr td {
	background-color: #fff5ee;
}

/* Luigi's Mansion */
.navtemplate.lm tr:nth-child(2n) td, .navtable.lm tr:nth-child(2n) td {
	background-color: #DDFFCC;
}
.navtemplate.lm tr td, .navtable.lm tr td {
	background-color: #BBFF99;
}

 /* Super Princess Peach */
.navtemplate.spp tr:nth-child(2n) td, .navtable.spp tr:nth-child(2n) td {
	background-color: #FFD8EF;
}
.navtemplate.spp tr td, .navtable.spp tr td {
	background-color: #FFF2F9;
}

/* --------------------------- RPG --------------------------- */
/* Super Mario RPG */
.navtemplate.rpg tr:nth-child(2n) td, .navtable.rpg tr:nth-child(2n) td {
	background-color: #D0EEFE;
}
.navtemplate.rpg tr td, .navtable.rpg tr td {
	background-color: #F0F8FF;
}

/* Paper Mario */
.navtemplate.rpg-pm tr:nth-child(2n) td, .navtable.rpg-pm tr:nth-child(2n) td{
	background-color: #CFEEFF;
}
.navtemplate.rpg-pm tr td, .navtable.rpg-pm tr td {
	background-color: aliceblue;
}

/* Mario & Luigi */
.navtemplate.rpg-ml tr:nth-child(2n) td, .navtable.rpg-ml tr:nth-child(2n) td {
	background-color: #DDF3FF;
}
.navtemplate.rpg-ml tr td, .navtable.rpg-ml tr td  {
	background-color: A5E2FF;
}

/* --------------------------- Spinoff --------------------------- */
.navtemplate.spinoff tr:nth-child(2n) td, .navtable.spinoff tr:nth-child(2n) td {
	background-color: #fffccb;
}
.navtemplate.spinoff tr td, .navtable.spinoff tr td {
	background-color: #fdffe3;
}

/* Sport - Tennis */
.navtemplate.tennis tr:nth-child(2n) td, .navtable.tennis tr:nth-child(2n) td {
	background-color: #FFF3E8;
}
.navtemplate.tennis tr td, .navtable.tennis tr td {
	background-color: #FFE3CC;
}

/* Sport - generico */
.navtemplate.sport tr:nth-child(2n) td, .navtable.sport tr:nth-child(2n) td {
	background-color: #fbffe6;
}
.navtemplate.sport tr td, .navtable.sport tr td {
	background-color: #f4ffbb;
}

/* --------------------------- Crossover --------------------------- */
.navtemplate.crossover tr:nth-child(2n) td, .navtable.crossover tr:nth-child(2n) td {
	background-color: #efe;
}
.navtemplate.crossover tr td, .navtable.crossover tr td {
	background-color: #dfd;
}

/* --------------------------- Vario --------------------------- */

/* Media vari */
.navtemplate.media tr:nth-child(2n) td, .navtable.media tr:nth-child(2n) td {
	background-color: #FFEAAA;
}
.navtemplate.media tr td, .navtable.media tr td {
	background-color: #FFFFC0;
}

/* Gallerie e altro */
.navtemplate.other tr:nth-child(2n) td, .navtable.other tr:nth-child(2n) td {
	      background-color: lavender;
}
.navtemplate.other tr td, .navtable.other tr td {
	      background-color: ghostwhite;
}

/* Console */
.navtemplate.console tr:nth-child(2n) td, .navtable.console tr:nth-child(2n) td {
	background-color: #F5F5F5;
}
.navtemplate.console tr td, .navtable.console tr td {
	background-color: #ededed;
}

/* Gallerie */
img[alt="galleria-grigio"] {
    background: gray;
    box-shadow: 0px 0px 0px 1000px grey;
}

img[alt="galleria-nero"], img.galleria-nero, .gallery.galleria-nero .thumb, .gallery.galleria-nero img {
    background: #000 !important;
}

img[alt="galleria-nero"] {
    box-shadow: 0px 0px 0px 1000px #000;
}

li.gallerybox div.thumb {
    overflow: hidden; /* Non faccio uscire il grigio */
}