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 ]

MediaWiki:Common.css

From Project 1999 Wiki
Revision as of 22:41, 25 September 2019 by Loramin (Talk | contribs)

Jump to: navigation, search

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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* CSS placed here will be applied to all skins */

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

.itembg { width: 451px; background-image: url(images/Itemshot.gif); text-align: left; }
.itemtopbg { width: 451px; height: 18px; background-image: url(images/Itemtop.gif); }
.itembotbg { width: 451px; height: 10px; background-image: url(images/Itembot.gif); }
.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; }

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


.framed-image {
  height: 100%;
  position: relative;
}
.framed-image img {
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
}

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

.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;
}

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

.right-float-era small {
  font-weight: normal;
}

.classic-era {
  background-color: #ccffcc; 
}
.kunark-era {
  background-color: #E0BD9F;
}
.hole-era {
  background-color: #DD9D6C;
}
.epics-era {
  background-color: #ddcb6c;
}
.warrens-era {
  background-color: #6DD8FF;
}
.stonebrunt-era {
  background-color: #7ac8ff;
}
.velious-era {
  background-color: #9FE4FF;
}
.chardok-era {
  background-color: #B5C2FF;
}
.unknown-era {
  background-color: #FF7F7F;
}


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

.staff-icon {
  display: inline-block;
  max-height: 80px;
  min-height: 80px;
  max-width: 80px;
  min-width: 80px;
}