This is a wiki for a reason. Anyone can contribute. If you see something that is inaccurate or can be improved, don't ask that it be fixed--just improve it.
[ Disclaimer, Create new user --- Wiki markup help, Install P99 ]

Difference between revisions of "MediaWiki:Common.css"

From Project 1999 Wiki
Jump to: navigation, search
Line 763: Line 763:
 
.page-Main_Page  .mainPageHeader1 {
 
.page-Main_Page  .mainPageHeader1 {
 
   background-color: #3B6853;
 
   background-color: #3B6853;
 +
}
 +
.page-Main_Page  .mainPageHeader2 {
 +
  background-color: #434956;
 
}
 
}

Revision as of 19:21, 25 May 2024

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

@import url("/index.php?title=MediaWiki:Simple-lightbox.min.css&action=raw&ctype=text/css");

/* Wiki default header style make it hard to distinguish h3s from h4s;
   increase  H3 size *slightly* to distinguish them more */
h3 { font-size: 138%; } /* was 132% */

/*
 * Prevent extremely long (and hard to read) lines of text.
 * (Studies have actually shown 50-75 characters to be the
 * optimal line length, but since the wiki used to not have
 * any I hedged and went with 100em for now.)
 */
p { max-width: 100em; }

/* --- item pages --- */

div.hbdiv span.hb .itembg,
.itembg { width: 451px; background-image: url(images/Itemshot.gif) !important; text-align: left; }
div.hbdiv span.hb .itembg * { background-image: url(images/Itemshot.gif) !important; }

.itemtopbg { width: 451px; height: 18px; background-image: url(images/Itemtop.gif) !important; }
div.hbdiv span.hb .itemtopbg * { background-image: url(images/Itemtop.gif) !important; }

.itembotbg { width: 451px; height: 10px; background-image: url(images/Itembot.gif) !important; }
div.hbdiv span.hb .itembotbg * { background-image: url(images/Itembot.gif) !important; }

.itemtitle { font-family: Arial; font-size: 12px; color: #c0c0c0; text-align: center; width: 100%; height: 15px; }
.itemdata { font-family: Arial; font-size: 12px; color: #ffffff; padding: 7px; max-width: 100%; overflow: hidden; }
.itemicon { margin: 0 25px; }

.itemdata a { color: #0b0; }

/* --- remove page title (all pages) --- 

#firstHeading {
display:none !important;
}  */

/* --- item hoverbox --- */

.hbdiv { display: inline-block; }
.hbdiv span.hb { display: none; z-index: 99; }
.hbdiv:hover { position: relative; }
.hbdiv:hover span.hb { display: block; position: absolute; top: 20px; left: 30px; }

.magelohb span.hb { display: none; z-index: 100; }
.magelohb:hover span.hb { display: block; position: absolute; top: 20px; left: 30px; z-index: 100; }

/* --- grayout for content not yet implemented --- */

.grayout { color: #bbbbbb; }
.grayout a { color: #bbbbbb; }
.grayout a.new { color: #bbb; }
.grayout h3 { color: #bbb; }
.grayout h2 { color: #bbb; }
.grayout h1 { color: #bbb; }

/* --- new itemhover --- */

#itemHoverContainer { position:absolute; left:0; top:0; display:none; z-index: 1000; } 
#itemHoverContent { }  
.itemHoverPopup { }

/* --- auction tracker --- */

.auctrackerbox { padding: 5px; border: 1px solid #b3c0cf; float: right; margin-bottom: 10px; margin-left: 15px; }

#BlueTab,
#GreenTab,
#TealTab {
  color: white;
  padding: 0.5em 1em;
  text-align: center;
}
#BlueTab.selected,
#GreenTab.selected,
#TealTab.selected {
  font-weight: bold;
}

#BlueTab {
  background-color: #1e1e92;
}
#GreenTab {
  background-color: green;
}
#TealTab {
  background-color: teal;
}

#auc_Blue TH,
#auc_Green TH,
#auc_Teal TH {
  color: white;
  text-align: center;
}
#auc_Blue TH {
  background-color: #1e1e92;
}
#auc_Green TH {
  background-color: green;
}
#auc_Teal TH {
  background-color: teal;
}

#auc_Blue TD,
#auc_Green TD,
#auc_Teal TD {
  background-color: white;
}

#auc_Blue .eoTable tr:nth-child(even),
#auc_Blue .eoTable tr:nth-child(even) TD {
  background-color: #dddded;
}
#auc_Green .eoTable tr:nth-child(even),
#auc_Green .eoTable tr:nth-child(even) TD {
  background-color: #cfc;
}
#auc_Teal .eoTable tr:nth-child(even),
#auc_Teal .eoTable tr:nth-child(even) TD {
  background-color: #c8e4e1;
}



/* --- contribs --- */

.contributionscores-wrapper  { border: 1px solid #bbb; padding: 3px; }

/* --- magelo css --- */

.StatTable {
  font-family:		arial;
  font-size: 9pt ;
  color: #FFFFFF ;
  width: 100%;
  text-align:		  inherit;
  vertical-align:   top;
  margin:           0px;
  padding:          0px;
  border-collapse: collapse; 
	display: block;
	background: none;
}
.Divider {
  background-color: #7b714a ;
  width: 100%;
  height: 1px;
  margin:           0px;
  padding:          0px;
  border-collapse: collapse; 
}
.Slot {
  height: 40px;
  width: 40px;
  border: 0px;
  margin: 0;
  padding: 0;
  position: absolute;
}
.Coin {
  height: 25px;
  width: 83px;
  border: 0px ;
  text-align: center;
  padding: 0px;
  background-image: url(./extensions/Magelo/images/coin.gif);
  margin: 0;
  padding: 0;
  position: absolute;
}
.IventoryOuter {
  position: relative;	
  background-image: url(./extensions/Magelo/images/light.gif);
  width: 430px;
  height: 435px;
  max-width: 426px;
  max-height: 431px;
  padding: 0px;
  border: 2px #7b714a solid;
  font-family:		arial;
  font-size: 9pt ;
  color: #FFFFFF ;
}
.InventoryInner {
  background-image: url(./extensions/Magelo/images/light.gif);
  border: 2px #40434e solid;
  position: absolute;
  top: 13px;
  left: 8px;
  width: 412px;
  height: 409px;
  max-width: 408px;
  max-height: 405px;
  padding: 0px;
  font-family:		arial;
  font-size: 9pt ;
  color: #FFFFFF ;
}
.IventoryTitle {
  position: absolute;
  top: -11px;
  left: 4px;
  border: 0px;
  padding: 0px;
  width: 418px;
  height: 21px;
  font-family:		arial;
  font-size: 9pt ;
  color: #FFFFFF ;
}
.IventoryTitleLeft {
  background-image: url(./extensions/Magelo/images/leftt.gif);
  position: absolute;
  top: 0px;
  left: 0px;
  width: 14px;
  height: 21px;
  border: 0px;
  padding: 0px;
}
.IventoryTitleMid {
  background-image: url(./extensions/Magelo/images/midt.gif);
  position: absolute;
  text-align: center;
  line-height:21px;
  top: 0px;
  left: 14px;
  width: 390px;
  height: 21px;
  border: 0px;
  padding: 0px;
}
.IventoryTitleRight {
  background-image: url(./extensions/Magelo/images/rightt.gif);
  position: absolute;
  top: 0px;
  left: 404px;
  width: 14px;
  height: 21px;
  border: 0px;
  padding: 0px;
}
.InventoryStats {
  height: 370px;
  width: 115px;
  margin: 0px;
  padding: 0px;
  position: absolute;
  top: 14px;
  left: 10px;
	background-image: url(./extensions/Magelo/images/light.gif);
}
.InventoryStats tr td {
  margin: 0px;
	padding: 0px;
}
.InventoryStats2 {
  height: 100px;
  width: 100px;
  margin: 0px;
  padding: 0px;
  position: absolute;
  top: 14px;
  left: 310px;
	display:block;
}
.InventoryMonogram {
  background-image: url(./extensions/Magelo/images/dark.gif);
  border: 1px #444444 solid;
  position: absolute;
  text-align: center;
  top: 57px;
  left: 180px;
  width: 82px;
  height: 168px;
  max-height: 146px;
  max-width: 80px;
  padding: 20px 0px 0px 0px;
  font-family:		arial;
  font-size: 9pt ;
  color: #FFFFFF ;
}

.slotloc1 {  top: 14px;  left: 137px;}
.slotloc2 {  top: 14px;  left: 180px;}
.slotloc3 {  top: 14px;  left: 223px;}
.slotloc4 {  top: 14px;  left: 267px;}
.slotloc17 {  top: 57px;  left: 137px;}
.slotloc5 {  top: 57px;  left: 267px;}
.slotloc7 {  top: 100px;  left: 137px;}
.slotloc8 {  top: 100px;  left: 267px;}
.slotloc20 {  top: 143px;  left: 137px;}
.slotloc6 {  top: 143px;  left: 267px;}
.slotloc9 {  top: 186px;  left: 137px;}
.slotloc10 {  top: 186px;  left: 267px;}
.slotloc18 {  top: 229px;  left: 137px;}
.slotloc12 {  top: 229px;  left: 180px;}
.slotloc0 {  top: 229px;  left: 223px;}
.slotloc19 {  top: 229px;  left: 267px;}
.slotloc15 {  top: 272px;  left: 180px;}
.slotloc16 {  top: 272px;  left: 223px;}
.slotloc13 {  top: 315px;  left: 137px;}
.slotloc14 {  top: 315px;  left: 180px;}
.slotloc11 {  top: 315px;  left: 223px;}
.slotloc21 {  top: 315px;  left: 267px;}
.slotloc22 {  top: 229px;  left: 317px;}
.slotloc23 {  top: 272px;  left: 317px;}
.slotloc24 {  top: 315px;  left: 317px;}
.slotloc25 {  top: 358px;  left: 317px;}
.slotloc26 {  top: 229px;  left: 360px;}
.slotloc27 {  top: 272px;  left: 360px;}
.slotloc28 {  top: 315px;  left: 360px;}
.slotloc29 {  top: 358px;  left: 360px;}
.slotloc2000 {  top: 20px;  left: 6px;}
.slotloc2001 {  top: 63px;  left: 6px;}
.slotloc2002 {  top: 106px;  left: 6px;}
.slotloc2003 {  top: 148px;  left: 6px;}
.slotloc2004 {  top: 20px;  left: 50px;}
.slotloc2005 {  top: 63px;  left: 50px;}
.slotloc2006 {  top: 106px;  left: 50px;}
.slotloc2007 {  top: 148px;  left: 50px;}
.slotloc2008 {  top: 20px;  left: 97px;}
.slotloc2009 {  top: 63px;  left: 97px;}
.slotloc2010 {  top: 106px;  left: 97px;}
.slotloc2011 {  top: 148px;  left: 97px;}
.slotloc2012 {  top: 20px;  left: 141px;}
.slotloc2013 {  top: 63px;  left: 141px;}
.slotloc2014 {  top: 106px;  left: 141px;}
.slotloc2015 {  top: 148px;  left: 141px;}

.slotimage0 {  background-image: url(./extensions/Magelo/images/slots/slot_0.gif);}
.slotimage1 {  background-image: url(./extensions/Magelo/images/slots/slot_1.gif);}
.slotimage2 {  background-image: url(./extensions/Magelo/images/slots/slot_2.gif);}
.slotimage3 {  background-image: url(./extensions/Magelo/images/slots/slot_3.gif);}
.slotimage4 {  background-image: url(./extensions/Magelo/images/slots/slot_4.gif);}
.slotimage5 {  background-image: url(./extensions/Magelo/images/slots/slot_5.gif);}
.slotimage6 {  background-image: url(./extensions/Magelo/images/slots/slot_6.gif);}
.slotimage7 {  background-image: url(./extensions/Magelo/images/slots/slot_7.gif);}
.slotimage8 {  background-image: url(./extensions/Magelo/images/slots/slot_8.gif);}
.slotimage9 {  background-image: url(./extensions/Magelo/images/slots/slot_9.gif);}
.slotimage10 {  background-image: url(./extensions/Magelo/images/slots/slot_10.gif);}
.slotimage11 {  background-image: url(./extensions/Magelo/images/slots/slot_11.gif);}
.slotimage12 {  background-image: url(./extensions/Magelo/images/slots/slot_12.gif);}
.slotimage13 {  background-image: url(./extensions/Magelo/images/slots/slot_13.gif);}
.slotimage14 {  background-image: url(./extensions/Magelo/images/slots/slot_14.gif);}
.slotimage15 {  background-image: url(./extensions/Magelo/images/slots/slot_15.gif);}
.slotimage16 {  background-image: url(./extensions/Magelo/images/slots/slot_16.gif);}
.slotimage17 {  background-image: url(./extensions/Magelo/images/slots/slot_17.gif);}
.slotimage18 {  background-image: url(./extensions/Magelo/images/slots/slot_18.gif);}
.slotimage19 {  background-image: url(./extensions/Magelo/images/slots/slot_19.gif);}
.slotimage20 {  background-image: url(./extensions/Magelo/images/slots/slot_20.gif);}
.slotimage21 {  background-image: url(./extensions/Magelo/images/slots/slot_21.gif);}
.slotimage {  background-image: url(./extensions/Magelo/images/slots/slot_.gif);}

.quotation { /* Used by "rulings" page */
  border: 1px dashed #2f6fab;
  font-family: monospace,Courier;
  line-height: 1.1em;
  padding: 1em; 
  white-space:normal
}
.bordered-quote {
  background-color: #fefefe;
  border: 1px dotted #c0c0c0;
  border-radius: 7px 7px;
  padding: 6px;
}

.framed-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /*top: -47.5%;
  left: -47.5%;
  width: 195%;
  height: 195%;*/
}
.framed-image img {
  position: absolute;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;

  margin: auto;

  /* This is needed to prevent excessively large images from being cropped */
  max-height: 100%;
  max-width: 100%;

  /* This makes it full-screen, but distorted it:
  height: 50%;
  min-height: 50%;
  min-width: 50%;
  width: 50%;*/
}

/* fashion show template */
.fashion_show,
.primary_secondary_show {
  float: left;
  font-weight: bold;
  max-height: 550px;
  max-width: 550px; 
  min-width: 300px; 
  min-height: 300px; 
  padding: 15px; 
  text-align: center
}

/*
 * Fashion links can contain a mix of clicked and unclicked links (eg. clicked race with unclicked gender link).
 * That looks weird, so just make them always blue (and do the same for loc-links for consistency)
*/
.loc-link,
.fashion-link a {
  color: #002bb8;
}


/* price check template, used by Treasure Hunting GUide */
.price_check,
.price_check_stack  {
  color: darkGreen;
  text-align: center;
  text-decoration: underline;
}

/* Hunting spot on the group hunting spots page */
.group-hunting-spot td:nth-child(2),
.group-hunting-spot td:nth-child(4),
.group-hunting-spot td:nth-child(6),
.group-hunting-spot td:nth-child(7),
.group-hunting-spot td:nth-child(9) {
  text-align:center;
}

.armorSetStats {
  /* Armor stats should Appear hidden until shown */
  display: none;
}


/* Checkbox Lists */

.checkbox-list ul {
    list-style-image: none;
    list-style-type: none;
}
.checkbox-list ul li {
    background-image: url(images/Checkbox.png);
    background-repeat: no-repeat;
    margin-left: 0;
    padding-left: 20px;
}
.checkbox-list li.checked {
    background-image: url(images/Checkedbox.png);
}

.stackguide .eoTable3 {
    min-width: 50%;
    width: inherit;
}}
.stackguide table,
.stackguide td,
.stackguide th {
  border-collapse: collapse;
  border: 1px solid black;
  margin: 0;
  padding: 0.5em;
}
.stackguide tr + tr th {
  /* Fix left-hand non-header row THs to be left-aligned instead of center-aligned */
  text-align: left;
}
.stackguide td ul {
  line-height: 1.75em;
  list-style-image: none;
  list-style-type: none;
  margin: 0;
}
.stackguide h2 {
  font-size: 185%;
}
.stackguide h3 {
  font-size: 160%;
  text-decoration: underline;
}

/* More cell padding (whitespace) on the Bard Song Table (it's cramped/harder to read without it) */
.eoTable2.bard-songs td,
.eoTable2.bard-songs th {
  padding: 6px 8px;
}

/* 100% Height/Width Images */
/* Need:
   Mediawiki doesn't let you make image tags with "fill my container" height and width,
   or in other words: <img src="foo.png" style"height: 100%; width:100%;" />

   This class makes that style possible via <span class="full-size"<[[File:Foo.png]]</span>.
   This can then be used, for example, to put two images side by side in a table with each cell set to a width of 50%.
*/
.full-size img { height: 100%; width: 100%; }


/* Keep tables from getting unnecessarily wide */
.eoTable3 {
  max-width: fit-content;
}

/* Extra table class for gray-bordered cells */
.gray-bordered td,
.gray-bordered th {
  border: 1px solid darkgray;
}

/* Style era links */
.era {
  display: inline-block;
  line-height: 1.5em;
  padding: 0.2em 0.4em;
  text-align: center;
}
.era,
.era a {
  color:black;
  text-decoration: none;
  vertical-align: middle;
}
.right-float-era {
  display: block;
  float: right;
  font-weight: bold;
  margin: -42px 10px 0 0;
  text-align: center;
}
.p99-era.right-float-era {
  margin: -50px 200px 0 0;
}

.right-float-era small {
  font-weight: normal;
}
.classic-era,
.classic-era * {
 /* !important is to trump the default table background styles from
    classes like wikitable or eotable2 */
  background-color: #ccffcc !important; 
}
.fear-era,
.fear-era * {
  background-color: #227207 !important; 
  color: white !important;
}

.hate-era,
.hate-era * {
  background-color: #1a4906 !important; 
  color: white !important;
}
.temple-era,
.temple-era * {
  background-color: #b5e35a !important;
}
.sky-era,
.sky-era * {
  background-color: #a7e9b8 !important;
}
.paineel-era,
.paineel-era * {
  background-color: #ffe14d !important;
}
.kunark-era,
.kunark-era * {
  background-color: #E0BD9F !important;
}
.hole-era,
.hole-era * {
  background-color: #DD9D6C !important;
}
.epics-era,
.epics-era * {
  background-color: #ddcb6c !important;
}
.warrens-era,
.warrens-era * {
  background-color: #6DD8FF !important;
}
.stonebrunt-era,
.stonebrunt-era * {
  background-color: #7ac8ff !important;
}
.velious-era,
.velious-era * {
  background-color: #9FE4FF !important;
}
.chardok-era,
.chardok-era * {
  background-color: #B5C2FF !important;
}
.unknown-era,
.unknown-era * {
  background-color: #FF7F7F !important;
}

.p99-era {
  background: linear-gradient(#cfc, #B5C2FF);
  border: 1px solid black;
  box-shadow: 2px 2px 2px black;
  padding: 0.3em 0.6em;
  text-shadow: 1px 1px 1px white;
}
.p99-era a span {
  color: black;
}


/* Staff Images, for /Rulings and other pages */

.staff-icon {
  background-color: #D1D1E1; /* Forum post left-side (ie. author-side) background color */
  display: inline-block;
  line-height: 84px; /* for vertical centering ... not sure why, but it needs to be 2px less or it looks wrong */
  max-height: 86px;
  max-width: 86px;
  min-height: 86px;
  min-width: 86px;
  text-align: center;
  vertical-align: middle;
}
.staff-icon img {
  max-height: 80px;
  max-width: 80px;
}

/* Speech Bubbles

Based Off Code From:

*/
.speech-bubble {
  background: #F5F5FF; /* Forum post right-side (ie. post-side) background color */
  border: 1px solid #a7a7a7;
  -webkit-border-radius: 4px;
          border-radius: 4px;
  -webkit-box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
          box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  /*font-size: 1.2rem;*/
  line-height: 1.3;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right 0;
  margin-top: 0;
  max-width: 95%;
  padding: 15px;
  position: relative;
}
.speech-bubble.right {
  margin-left: 0;
  margin-right auto;
}
.speech-bubble p {
  margin-bottom: 10px;
}
.speech-bubble p:last-of-type {
  margin-bottom: 0;
}

.speech-bubble-arrow {
  border-right: 21px solid transparent;
  border-top: 20px solid #0003;
  bottom: -25px;
  left: 15px;
  position: absolute;
}
.right .speech-bubble-arrow {
  border-left: 21px solid transparent;
  border-right: none;
  left: initial;
  right: 15px;
}
.speech-bubble-arrow::before {
  border-right: 23px solid transparent;
  border-top: 23px solid #a7a7a7;
  bottom: 2px;
  content: "";
  left: 5px;
  position: absolute;
}
.right .speech-bubble-arrow::before {
  border-left: 23px solid transparent;
  border-right: none;
  left: initial;
  right: 5px;
}
.speech-bubble-arrow::after {
  border-right: 21px solid transparent;
  border-top: 21px solid #efefef;
  bottom: 4px;
  content: "";
  left: 6px;
  position: absolute;
}
.right .speech-bubble-arrow::after {
  border-left: 21px solid transparent;
  border-right: none;
  left: initial;
  right: 6px;
}



/* Tabs */
/* NOTE: Tab styles were originally stolen from https://en.wikipedia.org/wiki/Template:Page_tabs */

.tabs {
  background: #f8fcff;
  border: 0;
  border-spacing: 0;
  border-collapse: collapse;
  text-align: center;
  vertical-align: top;
  width: 100%;
}
.tab {
  background-color: #cee0f2;
  border: solid 1px #a3b1bf;
  border-radius: 5px 5px 0 0;
  float: left; 
  font-size: 95%;
  line-height: 0.95em;
  padding: 0.5em;
  white-space: nowrap;
}
.tab.selected {
  background-color:white;
  border-bottom:0;
  font-weight:bold;
}
.clear {
  clear: both;
}

/* Provide a way to hide auto-numbering in Table of Contents;
see: https://www.mediawiki.org/wiki/Manual:Table_of_contents */
.noautonum .tocnumber { display: none; }

/* Keep front page header links white, and fix contrast of colors */
#3B6853
.page-Main_Page h2 a {
  color: white;
}

.page-Main_Page  .mainPageHeader1 {
  background-color: #3B6853;
}
.page-Main_Page  .mainPageHeader2 {
  background-color: #434956;
}