MediaWiki:Common.css: Difference between revisions

From Nightlife Asia Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
   display: none;
   display: none;
}
}
/** INFOBOXES **/
div.infobox-n{
  float:right;
  position:relative;
  width:300px;
  background:#FFF;
  font-size:.923em;
  border:1px solid #AAA;
  margin:0 0 1em 1em;
  padding:0;
}
div.infobox,
div.nav .box {
  filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffffffff,EndColorStr=#ffeeeeee);
  background-image:linear-gradient(top, #fff 0%, #eee 100%);
  background-image:-o-linear-gradient(top, #fff 0%, #eee 100%);
  background-image:-moz-linear-gradient(top, #fff 0%, #eee 100%);
  background-image:-webkit-linear-gradient(top, #fff 0%, #eee 100%);
  background-image:-ms-linear-gradient(top, #fff 0%, #eee 100%);
  background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #eee));
}
div.infobox-n .icon {
  float:right;
  position:relative;
  z-index:2;
  width:auto;
  margin:5px;
}
div.infobox-n .icon p {
  text-align:center;
  color:#444;
  font-size:9px!important;
  background-color:rgba(255,255,255,0.5);
  border-radius:.75em;
  line-height:1em;
  margin:.25em -.5em;
  padding:2px;
}
div.infobox-n .wrapper {
  clear:both;
  padding:0;
}
div.infobox-n .statistics {
  text-align:center;
  margin:0 8px;
}
div.statistics span + span { margin-left:5px; }
div.infobox-n .heading,
div.nav .heading {
  font-weight:700;
  background-image:url("/mediawiki/images/b/b3/Box_overlay.png") !important;
  text-align:center;
  border:1px solid rgba(0,0,0,0.25);
  border-bottom-width:0;
  position:relative;
  z-index:1;
  font-size-adjust:.52;
  margin:-1px -1px 5px!important;
}
div.infobox-n .heading {
  font-family:EasonPro, "Times New Roman", serif!important;
  font-size:1.417em!important;
  color:#fff!important;
  background-color:#444;
  text-shadow:rgba(0,0,0,0.75) 0 0 .25em;
  line-height:1.176em;
  font-size-adjust:.43;
  padding:.5em!important;
}
div.infobox-n .subheading,
div.nav .subheading {
  font-weight:700;
  background-color:#888;
  background-image:url("/mediawiki/images/b/b3/Box_overlay.png")!important;
  border-left:1px solid rgba(0,0,0,0.25);
  border-right:1px solid rgba(0,0,0,0.25);
  line-height:100%;
  text-align:center;
  position:relative;
  margin:0 -1px!important;
}
div.infobox-n .subheading {
  font-family:EasonPro, "Times New Roman", serif;
  font-size:1.25em!important;
  color:#fff!important;
  background-color:#444;
  text-shadow:rgba(0,0,0,0.75) 0 0 .25em;
  z-index:1;
  line-height:1.333em;
  font-size-adjust:0.43;
  padding:.567em!important;
}
div.nav dl,
div.infobox-n dl { margin:10px 0; }
div.infobox-n dt {
  float:left;
  text-align:right;
  width:90px;
  line-height:1em;
  font-weight:700;
  clear:left;
  border-right:2px solid #999;
  margin:0 -2px 0 0;
  padding:2px 8px 2px 3px;
}
div.infobox-n dd {
  float:left;
  width:170px;
  font-weight:400;
  border-left:2px solid #999;
  margin:0;
  padding:2px 7px;
}
div.infobox-n .image_wrapper {
  text-align:center;
  padding:0;
  margin:10px 0;
}
div.infobox::after,
div.nav .box::after,
div.infobox-n .heading::after,
div.nav .heading::after,
div.infobox-n .subheading::after,
div.nav .subheading::after,
.table::after {
  content:"";
  position:absolute;
  width:100%;
  left:0;
  height:3px;
  background-image:url("/mediawiki/images/4/45/Shadow_after.png");
  background-size:100% 3px;
}
div.infobox::after,
div.nav .box::after { bottom:-4px; }
div.infobox-n .heading::after,
div.nav .heading::after,
div.infobox-n .subheading::after,
div.nav .subheading::after,
.table::after { bottom:-3px; }
/* Remove after shadow for tables that have been centered, otherwise the shadow spans the entire page */
.table[class*=center]::after,
.table.noshadowafter::after { background-image:none; }
div.infobox-n table,
div.nav table { background-color:transparent; }
div.infobox-n.exotic dd,
div.infobox-n.exotic dt { border-color:#2a491d!important; }
div.infobox-n.exotic .heading,
div.infobox-n.exotic .subheading { background-color:#3c6829!important; }
div.infobox-n.tanker-role dd,
div.infobox-n.tanker-role dt { border-color:#4871a0!important; }
div.infobox-n.tanker-role .heading,
div.infobox-n.tanker-role .subheading { background-color:#5587c1!important; }
div.infobox-n.dps-role dd,
div.infobox-n.dps-role dt { border-color:#9a4848 !important; }
div.infobox-n.dps-role .heading,
div.infobox-n.dps-role .subheading { background-color:#bb6363 !important; }
div.infobox-n.pet-role dd,
div.infobox-n.pet-role dt { border-color:#479e91 !important; }
div.infobox-n.pet-role .heading,
div.infobox-n.pet-role .subheading { background-color:#5fb7aa !important; }
div.infobox-n.crafting-role dd,
div.infobox-n.crafting-role dt { border-color:#777d9e!important; }
div.infobox-n.crafting-role .heading,
div.infobox-n.crafting-role .subheading { background-color:#878eb5!important; }
div.infobox-n.mixed-role dd,
div.infobox-n.mixed-role dt { border-color:#ac8920!important; }
div.infobox-n.mixed-role .heading,
div.infobox-n.mixed-role .subheading { background-color:#deb94e!important; }
div.infobox-n.buff dd,
div.infobox-n.buff dt { border-color:#399!important; }
div.infobox-n.buff .heading,
div.infobox-n.buff .subheading { background-color:#399!important; }
div.infobox-n.debuff dd,
div.infobox-n.debuff dt { border-color:#363!important; }
div.infobox-n.debuff .heading,
div.infobox-n.debuff .subheading { background-color:#363!important; }
div.infobox-n.armor dd,
div.infobox-n.weapon dd,
div.infobox-n.item dd,
div.infobox-n.armor dt,
div.infobox-n.weapon dt,
div.infobox-n.item dt { border-color:#C30; }
div.infobox-n.armor .heading,
div.infobox-n.weapon .heading,
div.infobox-n.item .heading,
div.infobox-n.armor .subheading,
div.infobox-n.weapon .subheading,
div.infobox-n.item .subheading { background:#C30; }
div.infobox-n.skin dd,
div.infobox-n.skin dt { border-color:#C4003E; }
div.infobox-n.skin .heading,
div.infobox-n.skin .subheading { background:#C4003E; }
div.infobox-n.recipe {
  width:300px;
  display:inline-block;
  float:none;
  clear:none;
  vertical-align:top;
  font-size:1em;
  margin:0 1em 1em 0;
}
div.infobox-n.recipe .heading,
div.infobox-n.recipe .subheading {
  font-size:1.133em;
  background:#533610;
}
div.infobox-n.recipe .wrapper { padding:0 10px; }
div.infobox-n.crafting .heading,
div.infobox-n.crafting .subheading { background:#533610; }
div.infobox-n.crafting dd,
div.infobox-n.recipe dd,
div.infobox-n.crafting dt,
div.infobox-n.recipe dt { border-color:#533610; }
div.infobox-n.npc dd,
div.infobox-n.npc dt { border-color:#390; }
div.infobox-n.npc .heading,
div.infobox-n.npc .subheading { background:#390; }
div.infobox-n.action dd,
div.infobox-n.action dt { border-color:#999; }
div.infobox-n.trait dd,
div.infobox-n.trait dt { border-color:#bb7639; }
div.infobox-n.trait .heading,
div.infobox-n.trait .subheading { background:#444; }
div.infobox-n.trait .heading,
div.infobox-n.trait .subheading { background:#ce8d54; }
/* CUSTOM: Overwritten with STFI - div.infobox-n.action .icon > div { border:2px solid #111; } */
div.infobox-n.effect .debuff { background:#363; }
div.infobox-n.effect .buff { background:#399; }
div.infobox-n.pet dd,
div.infobox-n.pet dt { border-color:#360; }
div.infobox-n.pet .heading,
div.infobox-n.pet .subheading { background:#360; }
div.infobox-n.quest dd,
div.infobox-n.quest dt { border-color:#eea63a; }
div.infobox-n.quest .heading,
div.infobox-n.quest .subheading { background:#efaa43; }
div.infobox-n.area dd,
div.infobox-n.area dt { border-color:#306; }
div.infobox-n.area .heading,
div.infobox-n.area .subheading { background:#306; }

Revision as of 18:26, 11 September 2022

/* CSS placed here will be applied to all skins */
/*remove header on Main_Page*/
body.page-Main_Page.ns-subject h1.firstHeading {
  display: none;
}

/** INFOBOXES **/
div.infobox-n{
  float:right;
  position:relative;
  width:300px;
  background:#FFF;
  font-size:.923em;
  border:1px solid #AAA;
  margin:0 0 1em 1em;
  padding:0;
}

div.infobox,
div.nav .box {
  filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffffffff,EndColorStr=#ffeeeeee);
  background-image:linear-gradient(top, #fff 0%, #eee 100%);
  background-image:-o-linear-gradient(top, #fff 0%, #eee 100%);
  background-image:-moz-linear-gradient(top, #fff 0%, #eee 100%);
  background-image:-webkit-linear-gradient(top, #fff 0%, #eee 100%);
  background-image:-ms-linear-gradient(top, #fff 0%, #eee 100%);
  background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #eee));
}

div.infobox-n .icon {
  float:right;
  position:relative;
  z-index:2;
  width:auto;
  margin:5px;
}

div.infobox-n .icon p {
  text-align:center;
  color:#444;
  font-size:9px!important;
  background-color:rgba(255,255,255,0.5);
  border-radius:.75em;
  line-height:1em;
  margin:.25em -.5em;
  padding:2px;
}

div.infobox-n .wrapper {
  clear:both;
  padding:0;
}

div.infobox-n .statistics {
  text-align:center;
  margin:0 8px;
}

div.statistics span + span { margin-left:5px; }

div.infobox-n .heading,
div.nav .heading {
  font-weight:700;
  background-image:url("/mediawiki/images/b/b3/Box_overlay.png") !important;
  text-align:center;
  border:1px solid rgba(0,0,0,0.25);
  border-bottom-width:0;
  position:relative;
  z-index:1;
  font-size-adjust:.52;
  margin:-1px -1px 5px!important;
}

div.infobox-n .heading {
  font-family:EasonPro, "Times New Roman", serif!important;
  font-size:1.417em!important;
  color:#fff!important;
  background-color:#444;
  text-shadow:rgba(0,0,0,0.75) 0 0 .25em;
  line-height:1.176em;
  font-size-adjust:.43;
  padding:.5em!important;
}

div.infobox-n .subheading,
div.nav .subheading {
  font-weight:700;
  background-color:#888;
  background-image:url("/mediawiki/images/b/b3/Box_overlay.png")!important;
  border-left:1px solid rgba(0,0,0,0.25);
  border-right:1px solid rgba(0,0,0,0.25);
  line-height:100%;
  text-align:center;
  position:relative;
  margin:0 -1px!important;
}

div.infobox-n .subheading {
  font-family:EasonPro, "Times New Roman", serif;
  font-size:1.25em!important;
  color:#fff!important;
  background-color:#444;
  text-shadow:rgba(0,0,0,0.75) 0 0 .25em;
  z-index:1;
  line-height:1.333em;
  font-size-adjust:0.43;
  padding:.567em!important;
}

div.nav dl,
div.infobox-n dl { margin:10px 0; }

div.infobox-n dt {
  float:left;
  text-align:right;
  width:90px;
  line-height:1em;
  font-weight:700;
  clear:left;
  border-right:2px solid #999;
  margin:0 -2px 0 0;
  padding:2px 8px 2px 3px;
}

div.infobox-n dd {
  float:left;
  width:170px;
  font-weight:400;
  border-left:2px solid #999;
  margin:0;
  padding:2px 7px;
}

div.infobox-n .image_wrapper {
  text-align:center;
  padding:0;
  margin:10px 0;
}

div.infobox::after,
div.nav .box::after,
div.infobox-n .heading::after,
div.nav .heading::after,
div.infobox-n .subheading::after,
div.nav .subheading::after,
.table::after {
  content:"";
  position:absolute;
  width:100%;
  left:0;
  height:3px;
  background-image:url("/mediawiki/images/4/45/Shadow_after.png");
  background-size:100% 3px;
}

div.infobox::after,
div.nav .box::after { bottom:-4px; }

div.infobox-n .heading::after,
div.nav .heading::after,
div.infobox-n .subheading::after,
div.nav .subheading::after,
.table::after { bottom:-3px; }

/* Remove after shadow for tables that have been centered, otherwise the shadow spans the entire page */
.table[class*=center]::after,
.table.noshadowafter::after { background-image:none; }

div.infobox-n table,
div.nav table { background-color:transparent; }

div.infobox-n.exotic dd,
div.infobox-n.exotic dt { border-color:#2a491d!important; }

div.infobox-n.exotic .heading,
div.infobox-n.exotic .subheading { background-color:#3c6829!important; }

div.infobox-n.tanker-role dd,
div.infobox-n.tanker-role dt { border-color:#4871a0!important; }

div.infobox-n.tanker-role .heading,
div.infobox-n.tanker-role .subheading { background-color:#5587c1!important; }

div.infobox-n.dps-role dd,
div.infobox-n.dps-role dt { border-color:#9a4848 !important; }

div.infobox-n.dps-role .heading,
div.infobox-n.dps-role .subheading { background-color:#bb6363 !important; }

div.infobox-n.pet-role dd,
div.infobox-n.pet-role dt { border-color:#479e91 !important; }

div.infobox-n.pet-role .heading,
div.infobox-n.pet-role .subheading { background-color:#5fb7aa !important; }

div.infobox-n.crafting-role dd,
div.infobox-n.crafting-role dt { border-color:#777d9e!important; }

div.infobox-n.crafting-role .heading,
div.infobox-n.crafting-role .subheading { background-color:#878eb5!important; }

div.infobox-n.mixed-role dd,
div.infobox-n.mixed-role dt { border-color:#ac8920!important; }

div.infobox-n.mixed-role .heading,
div.infobox-n.mixed-role .subheading { background-color:#deb94e!important; }

div.infobox-n.buff dd,
div.infobox-n.buff dt { border-color:#399!important; }

div.infobox-n.buff .heading,
div.infobox-n.buff .subheading { background-color:#399!important; }

div.infobox-n.debuff dd,
div.infobox-n.debuff dt { border-color:#363!important; }

div.infobox-n.debuff .heading,
div.infobox-n.debuff .subheading { background-color:#363!important; }

div.infobox-n.armor dd,
div.infobox-n.weapon dd,
div.infobox-n.item dd,
div.infobox-n.armor dt,
div.infobox-n.weapon dt,
div.infobox-n.item dt { border-color:#C30; }

div.infobox-n.armor .heading,
div.infobox-n.weapon .heading,
div.infobox-n.item .heading,
div.infobox-n.armor .subheading,
div.infobox-n.weapon .subheading,
div.infobox-n.item .subheading { background:#C30; }

div.infobox-n.skin dd,
div.infobox-n.skin dt { border-color:#C4003E; }

div.infobox-n.skin .heading,
div.infobox-n.skin .subheading { background:#C4003E; }

div.infobox-n.recipe {
  width:300px;
  display:inline-block;
  float:none;
  clear:none;
  vertical-align:top;
  font-size:1em;
  margin:0 1em 1em 0;
}

div.infobox-n.recipe .heading,
div.infobox-n.recipe .subheading {
  font-size:1.133em;
  background:#533610;
}

div.infobox-n.recipe .wrapper { padding:0 10px; }

div.infobox-n.crafting .heading,
div.infobox-n.crafting .subheading { background:#533610; }

div.infobox-n.crafting dd,
div.infobox-n.recipe dd,
div.infobox-n.crafting dt,
div.infobox-n.recipe dt { border-color:#533610; }

div.infobox-n.npc dd,
div.infobox-n.npc dt { border-color:#390; }

div.infobox-n.npc .heading,
div.infobox-n.npc .subheading { background:#390; }

div.infobox-n.action dd,
div.infobox-n.action dt { border-color:#999; }

div.infobox-n.trait dd,
div.infobox-n.trait dt { border-color:#bb7639; }

div.infobox-n.trait .heading,
div.infobox-n.trait .subheading { background:#444; }

div.infobox-n.trait .heading,
div.infobox-n.trait .subheading { background:#ce8d54; }

/* CUSTOM: Overwritten with STFI - div.infobox-n.action .icon > div { border:2px solid #111; } */

div.infobox-n.effect .debuff { background:#363; }

div.infobox-n.effect .buff { background:#399; }

div.infobox-n.pet dd,
div.infobox-n.pet dt { border-color:#360; }

div.infobox-n.pet .heading,
div.infobox-n.pet .subheading { background:#360; }

div.infobox-n.quest dd,
div.infobox-n.quest dt { border-color:#eea63a; }

div.infobox-n.quest .heading,
div.infobox-n.quest .subheading { background:#efaa43; }

div.infobox-n.area dd,
div.infobox-n.area dt { border-color:#306; }

div.infobox-n.area .heading,
div.infobox-n.area .subheading { background:#306; }