MediaWiki:Common.css

From Alter Aeon Wiki
Revision as of 21:14, 22 February 2021 by Uicli (talk | contribs)

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Title CSS */
#mw_contentholder h1 {
  overflow: visible;
  font-size: 2.5em;
  border-bottom: none;
}

#mw-content-text > h2 { font-size: 2em; }
#mw-content-text > h2, #mw-content-text h3, #mw-content-text h4 {
   border-bottom: 1px solid #292929;
}
#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 */
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 */
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; }

/* 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;
}

div.iteminfo {
  min-width: 15em;
  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: #f0f;
  font-weight: bold;
}

div.iteminfo.relic, div.iteminfo.epic {
  border-color: #f0f;
}

div.iteminfo span.rare, div.iteminfo span.artifact, div.iteminfo span.remarkable, div.iteminfo span.exceptional {
  color: #f80;
  font-weight: bold;
}

div.iteminfo.rare, div.iteminfo.artifact, div.iteminfo.remarkable, div.iteminfo.exceptional {
  border-color: #f80;
}

div.iteminfo.artifact {
  border-style: double;
}

div.iteminfo.remarkable {
  border: 4px dashed #f80;
}

div.iteminfo.exceptional {
  border: 1px dashed #f80;
  position: relative;
}

div.iteminfo.exceptional:before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  pointer-events: none;
  border: 1px dashed #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;
}