MediaWiki:Common.css

De Inkipédia
Révision datée du 16 novembre 2020 à 01:15 par Prod (discussion | contributions) (copied from en:MediaWiki:Common.css)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche

Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  • Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
  • Opera : appuyez sur Ctrl + F5.
/* Le CSS placé ici sera appliqué à tous les habillages. */
body {
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/9/98/Bg-tile-black.jpg");
  background-repeat:repeat;
}
/* Links' color */
a:link, a:active, div#mw-panel a:link, div.vector-menu-content li a:link, div.vector-menu-content ul.vector-menu-content-list li.selected a:link {
  text-decoration: none;
  color: #378B00;
}

/* Visited links' color */
a:visited, div#mw-panel a:visited, div.vector-menu-content li a:visited, div.vector-menu-content ul.vector-menu-content-list li.selected a:visited {
  text-decoration: none;
  color: #008B2A;
}
/* Bureaucrat link color */
a[href="/wiki/User:Prod"] { 
  color: #DAA520;
  font-weight:700; 
}
/* Non-existent page link color */
div.vector-menu-content li.new a, div.vector-menu-content li.new a:visited, div.vector-menu-content li.new a, div.vector-menu-content li.new, a.new, #p-personal a.new, a.new {
  text-decoration: none;
  color: #BA0000;  /* Red */
}
.adminlist1 {
  border-style:solid;
  border-color:#006400;
  border-radius:0 3px 3px 0;
  border-width:2px 2px 2px 5px;
  background:#ffffff; 
}
.adminlist2 {
  padding:5px; 
  background:#8EB900;  
  font-weight:bold;
}
.adminlist1 > tbody:nth-child(1) > tr:nth-child(2), .adminlist1 > tbody:nth-child(1) > tr:nth-child(4), .adminlist1 > tbody:nth-child(1) > tr:nth-child(6), .adminlist1 > tbody:nth-child(1) > tr:nth-child(8), .adminlist1 > tbody:nth-child(1) > tr:nth-child(10), .adminlist1 > tbody:nth-child(1) > tr:nth-child(12), .adminlist1 > tbody:nth-child(1) > tr:nth-child(14), .adminlist1 > tbody:nth-child(1) > tr:nth-child(16), .adminlist1 > tbody:nth-child(1) > tr:nth-child(18) {
  background-color:#E5FFA9;
  padding:10px;
}
a:hover {
  text-decoration:underline;
}
#titlebg {
  border: 0px solid #000000;
  text-align:center;
  text-shadow: -2px 0 #416600, 0 2px #416600, 2px 0 #416600, 0 -2px #416600;
  width:100%;
  background-size:25%;
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/e/e1/Weapon_btn_main_bg_on.png");
  background-position:50% 50%;
  background-repeat:no-repeat;
}
#title{
  padding:0px; 
  font-size:24px;
  color:white;
  font-weight:bold;
}
.widstyle {
  margin: 25px auto; 
  width: 90%; 
  border: 5px solid #91CE4D;
  vertical-align: top; 
  font-family: Calibri, sans-serif; 
  border-radius:20px;
  box-shadow:0 0 15px rgba(0,0,0,0.3);
}
.items {
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/2/26/Amiibo_main_bg.png");
  display:-webkit-flex;
  display:flex; 
  border:2px solid #91CE4D; 
  box-shadow:0px 0px 25px white inset;
  border-radius:10px;
  padding:15px; 
  text-align:center; 
  height:125px; 
  justify-content:center;
}
.item{
  max-width:200px;
  position:relative; 
  padding:1px;
}
.item a{
  display:block;
  display:-webkit-block;
  text-shadow:0px 0px 5px rgba(255,255,255,0.3);
  color:white;
}
.item a:hover{
  text-shadow:0px 0px 15px rgba(255,255,255,0.5);
  text-decoration:none;
}
.item p {
  text-align:center; 
  position:absolute; 
  top:-6px; 
  width:75%; 
  background-color:rgba(0,0,0, 0.7); 
  box-shadow:0px 0px 10px rgba(255,255,255,0.6);
  line-height:120px;
}
.item p:hover {
  background-color:rgba(0,0,0, 0.4);
  box-shadow:0px 0px 15px white;
}

#itemchar {
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/b/b0/MarieArt.png");
  background-repeat:no-repeat;
  background-size:75%;
  width:20%;
  height:150%;
}
#itemweap {
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/e/e3/InklingBoyArt.png");
  background-repeat:no-repeat;
  background-size:75%;
  width:20%;
  height:150%;
}
#itemmode {
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/e/e7/CallieArt.png");
  background-repeat:no-repeat;
  background-size:75%;
  width:20%;
  height:150%;
}
#itemcloth {
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/6/64/AnnieArt.png");
  background-repeat:no-repeat;
  background-size:75%;
  width:20%;
  height:150%;
}
#itemstage {
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/9/90/OctolingArt.png");
  background-repeat:no-repeat;
  background-size:75%;
  width:20%;
  height:150%;
}
#mw-content-text > div:nth-child(15) > div:nth-child(1) > p:nth-child(2) {
  font-size:16px;
}
.mw-body h1, .mw-body h2, .mw-body #firstHeading {
  font-family:sans-serif;
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/5/5c/Drip-heading.png");
  background-position:95% -1.75%;
  background-repeat:no-repeat;
}
.widget {
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/2/26/Amiibo_main_bg.png");
  box-shadow:0px 0px 15px white inset;
  width:25%;
  border-style:solid;
  border-color:#AADC00;
  border-radius:10px;
  border-width:10px 1px 10px 1px;
  padding:15px;
  margin:5px;
}
.widget1 {
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/2/26/Amiibo_main_bg.png");
  box-shadow:0px 0px 15px white inset;
  width:75%;
  border-style:solid;
  border-color:#AADC00;
  border-radius:10px;
  border-width:10px 1px 10px 1px;
  padding:15px;
  margin:5px;
}
.widget2 {
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/2/26/Amiibo_main_bg.png");
  box-shadow:0px 0px 15px white inset;
  width:100%;
  border-style:solid;
  border-color:#AADC00;
  border-radius:10px;
  border-width:10px 1px 10px 1px;
  padding:15px;
  margin:5px;
}
.widget3 {
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/f/f7/Fes_main_bg.png");
  box-shadow:0px 0px 25px black inset;
  overflow:hidden;
  width:75%;
  border-style:solid;
  border-color:#FF8000;
  border-radius:10px;
  border-width:10px 1px 10px 1px;
  padding:15px;
  margin:5px;
}
.widget4{
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/2/26/Amiibo_main_bg.png");
  box-shadow:0px 0px 15px white inset;
  width:100%;
  border-style:solid;
  border-color:#FF8000;
  border-radius:10px;
  border-width:10px 1px 10px 1px;
  padding:15px;
  margin:5px;
}
.widget5 {
    background-image:url("//cdn.wikimg.net/splatoonwiki/images/2/26/Amiibo_main_bg.png");
  box-shadow:0px 0px 15px white inset;
  width:50%;
  border-style:solid;
  border-color:#AADC00;
  border-radius:10px;
  border-width:10px 1px 10px 1px;
  padding:15px;
  margin:5px;
}
.widget6 {
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/2/26/Amiibo_main_bg.png");
  box-shadow:0px 0px 15px white inset;
  width:100%;
  border-style:solid;
  border-color:#424242;
  border-radius:10px;
  border-width:10px 1px 10px 1px;
  padding:15px;
  margin:5px;
}
.widgett {
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/2/26/Amiibo_main_bg.png");
  box-shadow:0px 0px 15px white inset;
  width:97%;
  border-style:solid;
  border-color:#AADC00;
  border-radius:10px;
  border-width:10px 0 10px 0;
  position:relative;
  padding:15px;
}
.btextwidget {
  background-color:rgba(255,255,255,0.5);
  border-color:rgba(255,255,255,0.7);
  border-style:solid;
  border-width:2px;
  border-radius:10px;
  text-align:center;
  font-size:24px;
  font-weight:600;
  position:relative;
}
#widcontent {
  justify-content:center;
  display:flex;
  display:-webkit-flex;
}
.textwidget, .cd {
  padding:5px;
  background-color:rgba(255,255,255,0.5);
  border-color:rgba(255,255,255,0.7);
  border-style:solid;
  border-width:2px;
  border-radius:10px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
#tex2 {
  margin-left:25%;
}
#follow {
  padding-top:15px;
  background-color:rgba(255,255,255,0.5);
  border-color:rgba(255,255,255,0.7);
  border-style:solid;
  border-width:2px;
  border-radius:10px;
  text-align:center;
  position:relative;
  display:flex;
  display:-webkit-flex;
  max-height:45px;
  justify-content:center;
}
#twitter {
  padding:15px;
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/3/34/Follow_twitter_solo.png");
  background-repeat:no-repeat;
  color:rgba(0,0,0,0);
}
#twitter a {
  background-color:rgba(0,0,0,0);
  position:absolute;
  top:15px;
  left:180px;
  min-width:24px;
  min-height:24px;
}
#facebook {
  padding:15px;
  line-height:0px;
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/2/27/Follow_facebook_solo.png");
  background-repeat:no-repeat;
}
#facebook a {
  background-color:rgba(0,0,0,0);
  position:absolute;
  top:15px;
  left:210px;
  min-width:24px;
  min-height:24px;
}
#skype {
  padding:5px;
  line-height:0px;
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/a/a8/Follow_skype_solo.png");
  background-repeat:no-repeat;
}
#skype a {
  color:rgba(0,0,0,0);
  padding:0px;
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/8/8c/Transparent.png");
}
#widgfa {
  position:relative;
  left:1.5%;
  max-width:85%;
}
p#splat1{
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/1/13/Splatoonweapon.png");
  background-repeat:repeat;
  background-size:100%;
  position:absolute;
  z-index:5;
  right:-30px;
  top:-10px;
  width:200px;
  height:145px;
}
p#splat2 {
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/thumb/2/2b/WiiU_Splatoon_char_04FLIP.png/780px-WiiU_Splatoon_char_04FLIP.png");
  background-repeat:no-repeat;
  background-size:100%;
  position:absolute;
  z-index:0;
  left:-15px;
  width:315px;
  height:240px;
}
p#splat3 {
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/thumb/c/c8/Splatfest_Lantern.png/800px-Splatfest_Lantern.png");
  background-repeat:no-repeat;
  background-size:100%;
  background-color:rgba(0,0,0,0);
  border:0px;
  position:absolute;
  z-index:1;
  top:35px;
  left:75px;
  min-width:65%;
  min-height:40%;
}
.infobox {
  background-color:rgba(140,220,0,0.1);
  width:25%;
  border-radius:10px;
  padding:10px;
  border-style:solid;
  border-color:#AADC00;
  border-width:10px 1px 10px 1px;
}
.infobox1 {
  background-color:rgba(140,220,0,0.3);
  border-style:solid;
  border-color:rgba(140,220,0,0.5);
  border-width:1px 1px 1px 5px;
  border-radius:5px;
  color:#190707;
  font-size:115%; 
  padding:1em;
  margin:5px;
}
.infobox td {
  padding:5px;
}
.infobox td b{
  padding:6px;
background: -moz-linear-gradient(left,  rgba(140,220,0,0.3) 0%, rgba(140,220,0,0) 100%);
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(140,220,0,0.3)), color-stop(100%,rgba(140,220,0,0)));
background: -webkit-linear-gradient(left,  rgba(140,220,0,0.3) 0%,rgba(140,220,0,0) 100%);
background: -o-linear-gradient(left,  rgba(140,220,0,0.3) 0%,rgba(140,220,0,0) 100%);
background: -ms-linear-gradient(left,  rgba(140,220,0,0.3) 0%,rgba(140,220,0,0) 100%);
background: linear-gradient(to right,  rgba(140,220,0,0.3) 0%,rgba(140,220,0,0) 100%);
  border-style:solid;
  border-color:rgba(140,220,0,0.5);
  border-width:1px 0 1px 5px;
  border-radius:5px 0 0 5px;
}
#footer {
  background-color:white;
  background-image:url("//cdn.wikimg.net/splatoonwiki/images/b/b4/Featured-bg.png");
  border-style:solid;
  border-color:#AADC00;
  border-width:1px 2px 1px 2px;
  margin-right:5em;
  margin-bottom:5em;
  border-radius:0 0 10px 10px;
}
.mw-body #siteSub {
  display: block;
}
body.page-Main_Page #ca-delete, body.page-Main_Page #ca-move, body.page-Main_Page #deleteconfirm, body.page-Main_Page #siteSub, body.page-Main_Page #contentSub, body.page-Main_Page h1.firstHeading {
  display: none !important;
}

/* Styling links to Bulbapedia */
#bodyContent a[href^="http://bulbapedia.bulbagarden.net"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/7/75/Bulbapedia_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to Zelda Wiki */
#bodyContent a[href^="http://www.zeldawiki.org"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/8/87/Zelda_Wiki_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to WiKirby */
#bodyContent a[href^="http://wikirby.us"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/4/4a/Wikirby_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to Nookipedia */
#bodyContent a[href^="http://nookipedia.com"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/f/f7/Nookipedia_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to Donkey Kong Wiki */
#bodyContent a[href^="http://www.dkwiki.com"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/2/29/Donkey_Kong_Wiki_link.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to Golden Sun Universe */
#bodyContent a[href^="http://goldensunwiki.net/"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/0/0c/Golden_Sun_Universe_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to Lylat Wiki */
#bodyContent a[href^="http://starfoxwiki.info"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/b/ba/Lylat_Wiki_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to Metroid Wiki */
#bodyContent a[href^="http://www.metroidwiki.org"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/0/0a/Metroid_Wiki_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to NintendoWiki */
#bodyContent a[href^="http://www.niwanetwork.org/wiki"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/a/a9/NWiki_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to Pikipedia */
#bodyContent a[href^="http://www.pikminwiki.com"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/4/4e/Pikipedia_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to SmashWiki */
#bodyContent a[href^="http://www.ssbwiki.com"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/7/78/Smash_Wiki_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to Super Mario Wiki */
#bodyContent a[href^="http://www.mariowiki.com"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/c/ca/Super_Mario_Wiki_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to Wars Wiki */
#bodyContent a[href^="http://warswiki.warscentral.com"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/c/ca/Wars_Wiki_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to WikiBound */
#bodyContent a[href^="http://wikibound.info"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/d/dd/WikiBound_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to Fire Emblem Wiki */
#bodyContent a[href^="http://fireemblemwiki.org"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/c/cb/Fire_Emblem_Wiki_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to Starfy Wiki */
#bodyContent a[href^="http://starfywiki.org"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/4/41/Starfy_Wiki_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to F-Zero Wiki */
#bodyContent a[href^="http://mutecity.org/wiki"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/0/0e/F-Zero_Wiki_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to Icaruspedia */
#bodyContent a[href^="http://kidicaruswiki.org"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/4/4d/Icaruspedia_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to Dragon Quest Wiki*/
#bodyContent a[href^="http://dragon-quest.org/wiki"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/9/96/Dragon_Quest_Wiki_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}
 
/* Styling links to Hard Drop Wiki */
#bodyContent a[href^="http://harddrop.com/wiki"]
{
background: url("//cdn.wikimg.net/splatoonwiki/images/4/48/Hard_Drop_Wiki_favicon.png") no-repeat scroll right center transparent;
padding-right: 18px;
}

/* Countdowns start with their metadata until the Js
changes them. So they should start invisible */
countdown{
  display: none;
}