Difference between revisions of "MediaWiki:Common.css"

From Alter Aeon Wiki
m
 
(63 intermediate revisions by the same user not shown)
Line 1: Line 1:
@import url(https://fonts.googleapis.com/css2?family=Cinzel&family=IM+Fell+DW+Pica&family=Roboto:wght@300&display=swap);
html {
html {
   --aa-rarity-rare: #ff0;
   --aa-rarity-rare-rgb: 255, 255, 0;
   --aa-rarity-artifact: #f80;
  --aa-rarity-rare: rgb(var(--aa-rarity-rare-rgb));
   --aa-rarity-epic: #f0f;
  --aa-rarity-artifact-rgb: 255, 136, 0;
   --aa-rarity-unique: #0ff;
   --aa-rarity-artifact: rgb(var(--aa-rarity-artifact-rgb));
   --aa-rarity-antique: #0ff;
  --aa-rarity-epic-rgb:  255, 0, 255;
   --aa-rarity-epic: rgb(var(--aa-rarity-artifact-rgb));
  --aa-rarity-relic-rgb:  255, 0, 255;
  --aa-rarity-relic: rgb(var(--aa-rarity-relic-rgb));
  --aa-rarity-unique-rgb:  0, 255, 255;
   --aa-rarity-unique: rgb(var(--aa-rarity-unique-rgb));
  --aa-rarity-antique-rgb:  0, 255, 255;
   --aa-rarity-antique: rgb(var(--aa-rarity-antique-rgb));
  --aa-item-bg-color: #171510;
  --aa-item-header-color: #252017;
  --aa-bane-color: #fff;
}
}
 
.giantaatext {
/* Title CSS */
   padding-top: 0.4em;
#mw_contentholder h1 {
   font-size: 3em !important;
   overflow: visible;
   font-size: 2.5em;
  border-bottom: none;
}
}
 
.guide-note {
#mw-content-text > h2 { font-size: 2em; }
  margin: 16px;
#mw-content-text > h2, #mw-content-text h3, #mw-content-text h4 {
  padding: 8px;
  border-bottom: 1px solid #292929;
  border-left: 4px solid var(--aa-rarity-rare);
}
#mw_contentholder > h1, #mw-content-text > h2 {
  font-family: 'IM Fell DW Pica', serif;
  font-weight: normal;
}
}




/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
table.zebra tr:nth-child(odd) {  }
table.wikitable td.subheader { font-weight:normal; text-align: center; font-style: italic; }
table.wikitable td ul { text-align:left; }


/* Template list hack */
/* Template list hack */
Line 76: Line 77:
table.collapsed tr.collapsible { display: none; }
table.collapsed tr.collapsible { display: none; }
.collapseButton { font-weight: normal; text-align: left; }
.collapseButton { font-weight: normal; text-align: left; }
.mw-body dd {
  margin-bottom: 0;
}


/* Inline code style */
/* Inline code style */
Line 95: Line 100:
}
}


div.iteminfo {
.item {
   min-width: 15em;
   display: flex;
  padding: 0.3em;
  margin: 5px;
  background-color: #111;
  border: 2px solid #222;
  text-align: left;
  z-index: 1000 !important
  font-size: 1.1em;
}
 
div.iteminfo, div.iteminfo li, div.iteminfoli a {
  color: #fff;
}
 
div.iteminfo ul {
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-type: none;
  list-style-image: none;
}
 
div.iteminfo span.attrlabel {
  font-weight: bold;
}
 
div.iteminfo span.attrlabel:after {
  content: ":";
}
 
div.iteminfo p.affects {
  margin: 0;
  padding-left: 1em;
}
 
div.iteminfo span.itemaffect {
  text-transform: uppercase;
}
 
div.iteminfo span.relic, div.iteminfo span.epic {
  color: var(--aa-epic-color, #f0f);
  font-weight: bold;
}
 
div.iteminfo.relic, div.iteminfo.epic {
  border-color: var(--aa-epic-color, #f0f);
}
 
div.iteminfo span.rare, div.iteminfo span.artifact, div.iteminfo span.remarkable, div.iteminfo span.exceptional {
  color: var(--aa-rare-color, #f80);
  font-weight: bold;
}
 
div.iteminfo.rare {
  border-color: var(--aa-rare-color, #f80);
}
 
div.iteminfo.artifact {
  border: 4px double var(--aa-rare-color, #f80);
}
 
div.iteminfo.remarkable {
  border: 2px dashed var(--aa-rare-color, #f80);
}
 
div.iteminfo.exceptional {
  border: 1px dashed var(--aa-rare-color, #f80);
   position: relative;
   position: relative;
}
   flex-direction: column;
 
div.iteminfo.exceptional:before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  pointer-events: none;
  border: 1px dashed var(--aa-rare-color, #f80);
}
 
div.iteminfo span.antique, div.iteminfo span.unique {
  color: #03A9F4;
  font-weight: bold;
}
 
div.iteminfo.antique, div.iteminfo.unique {
  border-color: #03a9f4;
}
 
div.iteminfo span.binding {
  color: #0f0;
}
 
div.item-gallery {
  display: flex;
   flex-wrap: wrap;
}
 
 
 
.item {
  display: inline-block;
   box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
   box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
               0 1px 5px 0 rgba(0, 0, 0, 0.12),
               0 1px 5px 0 rgba(0, 0, 0, 0.12),
               0 3px 1px -2px rgba(0, 0, 0, 0.2);
               0 3px 1px -2px rgba(0, 0, 0, 0.2);
   border: 2px solid #777;
   border: 1px solid #685635;
   font-family: sans-serif;
   font-family: sans-serif;
   background-color: #222;
   background-color: var(--aa-item-bg-color);
   color: #bdbdbd;
   color: #e0e0e0;
   font-size: 1rem;
   font-size: 1rem;
  font-family: 'Cinzel', serif;
   line-height: 1.4rem;
   line-height: 1.4rem;
   width: 256px;
   width: 352px;
   overflow: hidden;
   overflow: hidden;
   text-shadow: 1px 1px 2px #000;
   text-shadow: 1px 1px 2px #000;
}
}
.item > * {
.item > * {
   padding: 8px;
   padding: 12px;
   position: relative;
   position: relative;
}
}
.item__header {
.item__header {
   background-color: rgba(127, 127, 127, 0.3);
   background-color: var(--aa-item-header-color);
   box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
   box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
               0 1px 5px 0 rgba(0, 0, 0, 0.12),
               0 1px 5px 0 rgba(0, 0, 0, 0.12),
Line 223: Line 129:
}
}
.item__header__name {
.item__header__name {
   font-size: 1.4rem;
  margin: 0;
  border: none !important;
   font-size: 1.2rem;
  font-weight: normal;
   line-height: 1.6rem;
   line-height: 1.6rem;
   text-transform: uppercase;
   text-transform: capitalize;
   font-family: serif;
   font-family: 'IM Fell DW Pica',serif;
}
}
.item__header__name a {
.item__header__name a,
.item__header__name a.new {
   color: #fff;
   color: #fff;
}
}
Line 236: Line 146:
.item__type__desc {
.item__type__desc {
   flex: 1;
   flex: 1;
}
.item__type__typename {
  text-transform: capitalize;
}
.item__type__slot {
  font-size: 0.8rem;
}
}
.item__divider {
.item__divider {
Line 246: Line 162:
   font-weight: 600;
   font-weight: 600;
   font-size: 1.4rem;
   font-size: 1.4rem;
}
.item__weapon-stats__speed {
  text-transform: capitalize;
}
.item__weapon-stats__type {
  margin-left: 4px;
  display: inline-block;
  text-transform: capitalize;
}
}
.item__armor-stats__ac {
.item__armor-stats__ac {
Line 251: Line 175:
}
}
.item__affects {
.item__affects {
   margin: 0;
   margin: 0 !important;
  padding: 8px !important;
   list-style: none;
   list-style: none;
   color: #eee;
   color: #fff;
  flex: 1;
}
}
.item__affects__affect {
.item__affects__affect {
   padding-left: 16px;
   padding-left: 16px;
   position: relative;
   position: relative;
  text-transform: capitalize;
}
}
.item__affectss__affect:before {
.item__affects__affect--negative {
  content: '◆';
  position: absolute;
  left: 0;
}
.item__affects__affects--negative {
   color: #f00;
   color: #f00;
}
}
Line 272: Line 194:
   list-style: none;
   list-style: none;
   text-align: right;
   text-align: right;
}
.item__requirements__level {
  font-size: 0.8rem;
}
}
.item__requirements__flags {
.item__requirements__flags {
Line 283: Line 208:
   color: #0f0;
   color: #0f0;
}
}
.item--artifact .item__header a,
.item__keywords {
.item--artifact .item__header a.new,
  font-size: 0.8rem;
}
.item--artifact .item__header__name a,
.item--artifact .item__header__name a.new,
.item--artifact .item__type__desc {
.item--artifact .item__type__desc {
   color: var(--aa-rarity-artifact);
   color: var(--aa-rarity-artifact);
}
}
.item--rare .item__header a,
.item.item--artifact {
.item--rare .item__header a.new,
  background: var(--aa-item-bg-color) linear-gradient(45deg, rgb(var(--aa-rarity-artifact-rgb), 0.1) 0%, transparent 50%);
}
.item--rare .item__header__name a,
.item--rare .item__header__name a.new,
.item--rare .item__type__desc {
.item--rare .item__type__desc {
   color: var(--aa-rarity-rare);
   color: var(--aa-rarity-rare);
}
}
.item--epic .item__header a,
.item--epic .item__header__name a,
.item--epic .item__header a.new,
.item--epic .item__header__name a.new,
.item--epic .item__type__desc {
.item--epic .item__type__desc {
   color: var(--aa-rarity-epic);
   color: var(--aa-rarity-epic);
}
.item--relic .item__header__name a,
.item--relic .item__header__name a.new,
.item--relic .item__type__desc {
  color: var(--aa-rarity-relic);
}
.item.item--relic {
  background: var(--aa-item-bg-color) linear-gradient(45deg, rgb(var(--aa-rarity-relic-rgb), 0.1) 0%, transparent 50%);
}
.item--unique .item__header__name a,
.item--unique .item__header__name a.new,
.item--unique .item__type__desc {
  color: var(--aa-rarity-unique);
}
.item--antique .item__header__name a,
.item--antique .item__header__name a.new,
.item--antique .item__type__desc {
  color: var(--aa-rarity-antique);
}
.item-gallery {
  display: flex;
  flex-wrap: wrap;
}
.item-gallery > .item {
  margin: 8px;
}
.bane-effect {
  color: var(--aa-bane-color);
  font-weight: bold;
  font-size: 80%;
}
}

Latest revision as of 18:49, 25 April 2023

@import url(https://fonts.googleapis.com/css2?family=Cinzel&family=IM+Fell+DW+Pica&family=Roboto:wght@300&display=swap);

html {
  --aa-rarity-rare-rgb: 255, 255, 0;
  --aa-rarity-rare: rgb(var(--aa-rarity-rare-rgb));
  --aa-rarity-artifact-rgb: 255, 136, 0;
  --aa-rarity-artifact: rgb(var(--aa-rarity-artifact-rgb));
  --aa-rarity-epic-rgb:  255, 0, 255;
  --aa-rarity-epic: rgb(var(--aa-rarity-artifact-rgb)); 
  --aa-rarity-relic-rgb:  255, 0, 255;
  --aa-rarity-relic: rgb(var(--aa-rarity-relic-rgb)); 
  --aa-rarity-unique-rgb:  0, 255, 255;
  --aa-rarity-unique: rgb(var(--aa-rarity-unique-rgb)); 
  --aa-rarity-antique-rgb:  0, 255, 255;
  --aa-rarity-antique: rgb(var(--aa-rarity-antique-rgb)); 
  --aa-item-bg-color: #171510;
  --aa-item-header-color: #252017;
  --aa-bane-color: #fff;
}
.giantaatext {
  padding-top: 0.4em;
  font-size: 3em !important;
}
.guide-note {
  margin: 16px;
  padding: 8px;
  border-left: 4px solid var(--aa-rarity-rare);
}


/* CSS placed here will be applied to all skins */

/* Template list hack */
table.wikitable td hr { display: none; }

/* Skill/Spell and Quest Table styles */
table.spelltable tr td, table.questtable tr td { text-align: center; }
table.spelltable tr th, table.questtable tr th { text-align: center; }
table.questtable {
  table-layout:fixed;
  border-radius: 10px 10px 0 0;
  border-collapse: inherit;
  margin: 0 1em 1em 0;
}
table.questtable table, table.queststeptable, table.queststeptable table, table.questfootertable table { table-layout:fixed; }
table.questtable tr th, table.questtable tr td { border: none; padding: 0; }
table.questtable tr:first-child th {
  border-bottom: 2px solid #555;
  background-color: #222;
  border-radius: 8px 8px 0 0;
}
table.questtable table tr:first-child th { border: none; background-color: transparent; }
table.queststeptable {   margin: 0 1em 1em 0; }

table.stepnumber { background-color: #222; color: #eeddcc }
table.stepnumber tr:first-child { font-size: 70%; }
table.stepnumber tr:last-child { 
  font-size: 130%;
  font-family: serif;
}
table.queststeptable tr:first-child td:first-child { background-color: #222; }

table.questfootertable tr th, table.questfootertable tr td { border: none; padding: 0; }
table.questfootertable {
  table-layout:fixed;
  border-radius: 0 0 10px 10px ;
  border-collapse: inherit;
}

table.questfootertable tr:last-child th {
  border-top: 2px solid #555;
  background-color: #222;
  border-radius: 0 0 8px 8px;
}
table.questfootertable table tr:last-child th { border: none; background-color: transparent; }

table.collapsed tr.collapsible { display: none; }
.collapseButton { font-weight: normal; text-align: left; }

.mw-body dd {
  margin-bottom: 0;
}

/* Inline code style */
span.icode {
  color: #eeddcc;
  border: 1px dashed #aa6600;
  background-color: #303030;
  font-family: monospace;
  padding: 0.1em 0.5em 0.1em 0.5em;
}

/* MUD output pre tags */

pre.mud-output {
  color: #eeddcc;
  background-color: #222;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
  border: 1px solid #cc6600;
}

.item {
  display: flex;
  position: relative;
  flex-direction: column;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
              0 1px 5px 0 rgba(0, 0, 0, 0.12),
              0 3px 1px -2px rgba(0, 0, 0, 0.2);
  border: 1px solid #685635;
  font-family: sans-serif;
  background-color: var(--aa-item-bg-color);
  color: #e0e0e0;
  font-size: 1rem;
  font-family: 'Cinzel', serif;
  line-height: 1.4rem;
  width: 352px;
  overflow: hidden;
  text-shadow: 1px 1px 2px #000;
}
.item > * {
  padding: 12px;
  position: relative;
}
.item__header {
  background-color: var(--aa-item-header-color);
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
              0 1px 5px 0 rgba(0, 0, 0, 0.12),
              0 3px 1px -2px rgba(0, 0, 0, 0.2);
}
.item__header__name {
  margin: 0;
  border: none !important;
  font-size: 1.2rem;
  font-weight: normal;
  line-height: 1.6rem;
  text-transform: capitalize;
  font-family: 'IM Fell DW Pica',serif;
}
.item__header__name a,
.item__header__name a.new {
  color: #fff;
}
.item__type {
  display: flex;
}
.item__type__desc {
  flex: 1;
}
.item__type__typename {
  text-transform: capitalize; 
}
.item__type__slot {
  font-size: 0.8rem;
}
.item__divider {
  padding: 0;
  margin: 0 16px;
  border-bottom: 1px solid rgba(127, 127, 127, 0.9);
}
.item__weapon-stats__range {
  color: #fff;
  font-weight: 600;
  font-size: 1.4rem;
}
.item__weapon-stats__speed {
  text-transform: capitalize;
}
.item__weapon-stats__type {
  margin-left: 4px;
  display: inline-block;
  text-transform: capitalize;
}
.item__armor-stats__ac {
  color: #fff;
}
.item__affects {
  margin: 0 !important;
  padding: 8px !important;
  list-style: none;
  color: #fff;
  flex: 1;
}
.item__affects__affect {
  padding-left: 16px;
  position: relative;
  text-transform: capitalize;
}
.item__affects__affect--negative {
  color: #f00;
}
.item__requirements {
  color: #fff;
  margin: 0;
  list-style: none;
  text-align: right;
}
.item__requirements__level {
  font-size: 0.8rem;
}
.item__requirements__flags {
  padding: 0;
  margin: 0;
}
.item__requirements__flags > * {
  display: inline-block;
}
.item__requirements__binding {
  color: #0f0;
}
.item__keywords {
  font-size: 0.8rem;
}
.item--artifact .item__header__name a,
.item--artifact .item__header__name a.new,
.item--artifact .item__type__desc {
  color: var(--aa-rarity-artifact);
}
.item.item--artifact {
  background: var(--aa-item-bg-color) linear-gradient(45deg, rgb(var(--aa-rarity-artifact-rgb), 0.1) 0%, transparent 50%);
}
.item--rare .item__header__name a,
.item--rare .item__header__name a.new,
.item--rare .item__type__desc {
  color: var(--aa-rarity-rare);
}
.item--epic .item__header__name a,
.item--epic .item__header__name a.new,
.item--epic .item__type__desc {
  color: var(--aa-rarity-epic);
}
.item--relic .item__header__name a,
.item--relic .item__header__name a.new,
.item--relic .item__type__desc {
  color: var(--aa-rarity-relic);
}
.item.item--relic {
  background: var(--aa-item-bg-color) linear-gradient(45deg, rgb(var(--aa-rarity-relic-rgb), 0.1) 0%, transparent 50%);
}
.item--unique .item__header__name a,
.item--unique .item__header__name a.new,
.item--unique .item__type__desc {
  color: var(--aa-rarity-unique);
}
.item--antique .item__header__name a,
.item--antique .item__header__name a.new,
.item--antique .item__type__desc {
  color: var(--aa-rarity-antique);
}

.item-gallery {
  display: flex;
  flex-wrap: wrap;
}
.item-gallery > .item {
  margin: 8px;
}

.bane-effect {
  color: var(--aa-bane-color);
  font-weight: bold;
  font-size: 80%;
}