MediaWiki:Common.css

From Istaria Lexica

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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/************************
*
* Trophy Hunter page tables
*
*****/
.trophyHunter {
  width: 769px;
}









/************************
*
* MediaWiki general overrides
*
*****/
body {
  background-color: black;
}
.toc, #toc { 
  float: right; 
  clear: right;
  max-width: 350px;
  padding: 5px;
  margin: 0 0 10px 15px;
}
hr {
  border-style: none none solid none;
  border-width: 0 0 1px 0;
  border-color: transparent transparent #525252 transparent;
}
body.page-Istaria_Lexica h1.firstHeading {
  display:none; 
}
optgroup {
  color: #fff;
  background-color: #353535;
}
optgroup option {
  color: #fff;
  background-color: #000;
}
#searchInput:focus {
  outline: none;
}
ul {
  margin-top: 0px;
}







/************************
*
* Wikitable and Prettytable
*
*****/
table.wikitable > tr > th, 
table.prettytable > tr > th, 
table.wikitable > * > tr > th,
table.prettytable > * > tr > th {
  background-color: #4C443B;
  text-align: center;
  vertical-align: middle;
  font-size: 1.3em;
}
table.wikitable > tr > th, 
table.prettytable > tr > th, 
table.wikitable > tr > td, 
table.prettytable > tr > td, 
table.wikitable > * > tr > th, 
table.prettytable > * > tr > th, 
table.wikitable > * > tr > td,
table.prettytable > * > tr > td {
  border: 1px solid #837668;
  padding: 0.2em 0.4em;
}
table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #332D27;
  border: 1px solid #837668;
  border-collapse: collapse;
  font-size: 90%;
  color: inherit;
}
table.wikitableMaxWidth {
  width: 100%;
}









/************************
*
* Common formatting
*
*****/
.mithril {
  color: #bfbfb3;
}
.gold {
  color: #cc9c69;
}
.silver {
  color: #a09e9b;
}
.copper {
  color: #a25a0d;
}
ul#page_controls li {
  z-index: 2;
}
ul.smw-format.ul-format.threecolumns {
    column-count: 3;
}
div#wiki_logo {
  z-index: 1;
  position:relative;
}
.bg-global-darkbrown {
  background-color: #332D27;
}
.bg-global-lightbrown {
  background-color: #4C443B;
}

/** these may be used as a headline-replacement to override the Table of Contents enlisting **/
.no-heading-H2 {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: .6em !important;
}

.no-heading-H3 {
  font-size: 16px;
  font-weight: normal;
  margin-bottom: .3em;
}

.no-heading-H4 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: .3em;
}

.no-heading-H5 {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: .3em;
}

.no-heading-H2,
.no-heading-H3,
.no-heading-H4,
.no-heading-H5 {
  margin: 0;
  padding-top: .5em;
  padding-bottom: .17em;
  border-bottom: 1px solid #525252;
  overflow: hidden;
}








/************************
*
* SMW Gallery
*
*****/
li.gallerybox div.thumb {
  margin: 0;
  border: initial;
  background: initial;
}








/************************
*
* SMW Slideshow on main page
*
*****/
td#homescreen_right div.srf-gallery-slideshow ul li,
td#homescreen_right div.srf-gallery-slideshow ul li div,
td#homescreen_right div.srf-gallery-slideshow ul li div div
td#homescreen_right div.srf-gallery-slideshow ul li div div div {
  width: 306px !important;
  margin: 0 !important;
  height: 152px !important;
}

td#homescreen_right div.srf-gallery-slideshow ul li div div div a.image img {
  border-radius: 4px 4px 0 0;
}

.srf-gallery-slideshow ul.gallery {
    height: 187px !important;
}






/************************
*
* Template:ReadmoreStart
*
*****/
.readmorebox {
  border-radius: 5px; 
  border: 1px solid #525252; 
  padding: 5px; 
  margin-bottom: 5px; 
  background-color: #353535; 
}
.readmorebox p {
  margin: 0 0 4px;
  font-weight: bold;
  line-height: 11px;
}
.readmorebox table {
  width: 100%;
  line-height: 16px;
}
.readmorebox table td {
  vertical-align: top;
}
.readmorebox table td p {
  margin: 0;
  line-height: 15px;
  font-weight: normal;
}










/************************
*
* Googlemaps fix
*
*****/
.gm-style img {
  max-width: none;
}










/************************
*
* Template:ReadmoreStart
*
*****/
.infoboxareas {
  padding: 1px;
  margin-bottom: 10px;
  margin-left: 10px;
  border: 1px solid #525252;
  border-radius: 5px;
  border-spacing: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 16px;
  width: 300px;
  float:right;
}
.infoboxareas th {
  background-color: #4C443B; 
  vertical-align:top;
  padding: 0.4em;
}
.infoboxareas td {
  vertical-align: top;
  padding:0 0.4em;
}
.infoboxareas tr:first-of-type th {
  border-bottom: 1px solid #525252; 
  border-radius: 3px 3px 0 0;
  font-size: 1.5em;
  line-height: 1em;
  padding: 0.2em;
}
span.InfoboxTierColoriser {
  padding: 0;
  margin: 0;
  line-height: inherit;
}
span.InfoboxTierColoriser a {
  text-decoration: none;
}










/************************
*
* Fancytable
*
*****/
.fancytable {
  background: #1A1A1A;
  border-radius: 12px;
  border: 1px solid #525252;
  border-spacing: 0px;
  width: 100%;
  font-size: 12px;
  line-height: initial;
  padding: 1px;
}

.fancytable th {
  background-color: #4C443B;
  text-shadow: 1px 1px black;
}

.fancytable th:first-of-type {
  border-radius: 10px 10px 0px 0px;
}

.fancytable td {
  padding: 0px 10px;
}










/************************
*
* Template:Quest
*
*****/
table.TmpQuest {
  margin-bottom: 10px;
}

table.TmpQuest tr td:first-of-type {
  white-space: nowrap;
  vertical-align: top;
  background-color: #4C443B;
  text-align: right;
  text-shadow: 1px 1px black;
  width: 1%;
}

table.TmpQuest tr:first-of-type td:first-of-type {
  border-radius: 10px 0px 0px 0px;
}

table.TmpQuest tr:last-of-type td:first-of-type {
  border-radius: 0px 0px 10px 10px;
  padding-right: 10px;
  padding-top: 5px;
  font-size: inherit;
}

table.TmpQuest tr td {
  padding: 1px 5px;
}










/************************
*
* Template:InfoboxTierColoriser
* Template:InfoboxLevelColoriser
*
*****/
.coloriser-color1 {
  color: lightgreen !important;
}
.coloriser-color2 {
  color: green !important;
}
.coloriser-color3 {
  color: gold !important;
}
.coloriser-color4 {
  color: darkorange !important;
}
.coloriser-color5 {
  color: red !important;
}
.coloriser-color6 {
  color: purple !important;
}










/************************
*
* Template:Infobox:Creature
*
*****/
.InfoboxCreature {
  width: 300px;
  margin-bottom: 10px
  border-spacing: 0;
}
.InfoboxCreature td {
  padding: 0;
}
.InfoboxCreature-data {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
}
.InfoboxCreature-data td {
  width: 50%;
  padding: 0;
}
.InfoboxCreature-data td:first-child {
  text-align: right;
}
.InfoboxCreature-data td {
  margin: 0;
  padding: 0 5px;
}
.InfoboxCreature-data td p {
  padding: 0;
  margin: 0;
  line-height: initial
}
.InfoboxCreature-data td p#tooltip:hover,
.InfoboxCreature-data td p#tooltip:active,
.InfoboxCreature-data td p#tooltip:focus {
  cursor: pointer;
  font-weight: bold;
}
#bigstats {
  font-size: 32px;
  font-weight: bold;
  text-align: left;
}
#bigstats a:hover,
#bigstats a:active,
#bigstats a:focus {
  text-decoration: none;
  text-shadow: 1px 1px #FFF;
}










/************************
*
* Template:Project list entry
*
*****/
.projectListEntry {
  background-color: #323232; 
  line-height: 1em;
  margin-top: 30px;
  overflow: hidden;
}
.projectListEntry .header {
  background-color: #404040;
  color: #FFF;
  text-shadow: 2px 2px black;
}
.projectListEntry .header h3 {
  font-weight: bold;
  font-size: 180%;
  margin: 0px;
  line-height: 1.2em;
  padding: 10px 5px 0px;
}
.projectListEntry .header .state {
  float: right; 
  text-align: center; 
  font-size: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
}
.projectListEntry .header div.addedby{
  margin-left: 15px;
}
.projectListEntry .description {
  padding: 4px;
  background-color: black;
}










/************************
*
* Slash Commands
*
*****/
#slashCommandsTable tbody tr th:first-child {
  font-family: monospace; 
  text-align: left; 
  white-space: nowrap;
  color: #00FF00;
}
#slashCommandsTable tbody tr:nth-child(odd) td,
#slashCommandsTable tbody tr:nth-child(odd) th {
  background-color: #413a36;
}
#slashCommandsTable tbody tr:nth-child(even) th {
  background-color: #332D27;
}










/************************
*
* HotCat
*
*****/
.catlinks ul {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none none;
}

.catlinks li:first-child {
  padding-left: 0.25em;
  border-left: 0;
}

.catlinks li {
  display: inline-block;
  line-height: 1.25em;
  border-left: 1px solid #a2a9b1;
  margin: 0.125em 0;
  padding: 0 0.5em;
  zoom: 1;
  display: inline !ie;
}

div.mw-normal-catlinks {
  line-height: initial;
}










/************************
*
* Template:InfoboxScreenshot
*
*****/
div.screenshotfullwidth a img {
  width: 100%;
}
div.InfoboxScreenshot img {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}










/************************
*
* Extension:Charinsert
*
*****/
div#mw-edittools-charinsert {
  background-color: #000;
  border: 1px solid #535353;
  border-top: none;
  padding: 1em;
  font-size: 12px;
}

div#mw-edittools-charinsert a {
  padding: 0px 5px;
}

div#mw-edittools-charinsert p {
  margin: 0px;
}










/************************
*
* SMW Result format: gallery
*
*****/
li.gallerybox {
  display: inline-block;
}










/************************
*
* SMWRecordTableCreator.
* See MediaWiki:SMWRecordTableCreator.js
*
*****/
.SMWRecordTableCreator {
  display: none;
}










/************************
*
* SMWFetchRecordPagesByProperty.
* See MediaWiki:SMWFetchRecordPagesByProperty.js
*
*****/
.SMWFetchRecordPagesByProperty {
  display: none;
}