No edit summary
(Adding code from a more recent archive of the ac.wikkii.net common.css page)
Line 1: Line 1:
/** CSS placed here will be applied to all skins except the default Oasis skin */
/** CSS placed here will be applied to all skins except the default Wikia skin */


/* For template documentation */
/* For template documentation */
Line 60: Line 60:
         display: none;
         display: none;
     }
     }
}
/* Wikitable (Prettytable) class for skinning normal tables */
table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
  empty-cells: show;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em 0.4em;
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
  background: #d6e0f5;
  text-align: center;
}
table.wikitable td.hl1, table.wikitable th.hl1,
table.prettytable td.hl1, table.wikitable th.hl1 {
  background: #c5d8fc;
  text-align: center;
}
table.wikitable td.hl2, table.wikitable th.hl2,
table.prettytable td.hl2, table.wikitable th.hl2 {
  background: #a7c1f2;
  text-align: center;
}
table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
}
}


Line 101: Line 65:
   in [[MediaWiki:Common.js]] are styled here so they can be customised. */
   in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
.collapseButton {
    /* @noflip */
     float:left;
     float: right;
     font-weight:normal;
     font-weight: normal;
     margin-left:0.5em;
    /* @noflip */
     text-align:left;
     margin-left: 0.5em;
     width:auto;
    /* @noflip */
     text-align: right;
     width: auto;
}
}
/* 'collapse'/'expand' buttons created by the mw-collapsible javascript */
.tablecollapse span.mw-collapsible-toggle {float:left;}
.collapse span.mw-collapsible-toggle {float: left;}
/* Alternate table rowcolors */
table.rowcolors tr:nth-child(odd) {background:#f0f0f0;}
table.rowcolors tr:nth-child(even) {background:#ffffff;}
table.rowcolors td:nth-child(1) {font: 95% arial, sans-serif; color:#606060;}
table.rowcolors td:nth-child(2) {font: 95% arial, sans-serif; padding-left: 10px;}
/* Table alignment */
.columnscenter tr {text-align:center;}
.columntworight td:nth-child(2) {text-align:right;}
.columnstop td {vertical-align: top;}


/* Homepage styling */
/* Homepage styling */
Line 145: Line 121:
   float:left;
   float:left;
   width:300px;
   width:300px;
   border: 1px solid #907854;
   border:1px solid #907854;
   background-color: #000000;
   background-color: #1a1a1a;
   color: #FFFFFF;
   color: #FFFFFF;
  opacity: 0.9;
  margin-top:7px;
   padding: 0.2em;
   padding: 0.2em;
  font-size: 0.95em;
  font-family: Arial, Verdana, sans-serif;
}
}


.item p {
.item a:visited {color:SkyBlue}
   border-bottom:1px solid #907854;
.item a:link, a:hover, a:active {color:RoyalBlue}
 
#item_textbox {
  background-color:#eee8aa;
  border:1px solid #cc9900;
  padding:30px;
  width:500px;
  margin:0 auto;
  text-align:justify;
}
 
#item_textbox div {
  border-top:1px solid #cc9900;
  margin:10px 0;
}
 
.item ul, #item_textbox ul {
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-type: none;
  list-style-image: none;
}
 
.item li.inscription {
   border-top:1px solid #907854;
}
 
.item li.topbottomspace {
  margin:10px 0px;
}
 
.item li.bottomspace {
  margin-bottom:10px;
}
 
#item_header {
  display:table;
  padding:2px;
   text-align:center;
   text-align:center;
  width:100%;
  font-weight:bold;
}
}


#itemheader {
#item_header div {
   border-bottom:1px solid #907854;
   display:table-cell;
   text-align:center;
   vertical-align: middle;
  line-height: 32px;
  height:36px;
}
}


/* Creature and NPC Templates */
#item_header div + div {
.character {
   display:table-cell;
   width:308px;
   vertical-align: middle;
  height:412px;
   width:40px;
  border: 1px solid #907854;
   background-color: #1A1A1A;
   color: #FFFFFF;
  padding:5px;
}
}


table.character-infobox {
/* Creature and NPC Templates */
.character-infobox {
     background:#f9f9f9;
     background:#f9f9f9;
     border:1px solid #e5e5e5;
     border:1px solid #e5e5e5;
     padding:5px;
     padding:5px;
     width:300px;
     width:250px;
     float:right;
     float:right;
}
}


table.character-infobox th {
.character-infobox th {
     border:1px solid #a3b0bf;
     border:1px solid #a3b0bf;
    text-align:center;
     padding:5px;
     padding:5px;
    font-size:125%;
}
}


/* Dungeon Summary Template */
/* Dungeon Summary Template */


table.dungeon-infobox {
table.location-infobox {
     background:#f9f9f9;
     background:#f9f9f9;
     border:1px solid #e5e5e5;
     border:1px solid #e5e5e5;
Line 199: Line 210:
}
}


table.dungeon-infobox th {
table.location-infobox th {
     border:1px solid #a3b0bf;
     border:1px solid #a3b0bf;
     text-align:center;
     text-align:center;
Line 205: Line 216:
}
}


table.dungeon-infobox td.subheader {
table.location-infobox td.subheader {
     font-weight:bold;
     font: bold 98%/25px arial, sans-serif;
    line-height:25px;
}
}


/* Quest Summary Template */
/* Quest Summary Template */
table.quest-infobox {
table.quest-infobox {
     background:#f9f9f9;
     background:#f9f9f9;
Line 226: Line 235:
}
}


table.rowcolors tr.even {background-color: #FFFFFF;}
/* Quest Rewards Template */
table.rowcolors tr.odd {background-color: #F0F0F0;}
table.questrewards {
    width:375px;
    border:1px solid #e5e5e5;
    background:#f9f9f9;
    margin-bottom:3px;
}
 
table.questrewards th {
  background:#f0f0f0;
  font-weight:normal;
}
 
table.questrewards td:first-child {
  text-align:center;
  width:100px;
  font: bold 95% arial, sans-serif;
  color:#606060;
  vertical-align:top;
}
 
table.questrewards tr {
  vertical-align:top;
}
 
/* Hub Quest Template */
table.hubquest-infobox {
    background:#f9f9f9;
    border:1px solid #e5e5e5;
    padding:5px;
    width:250px;
}
 
table.hubquest-infobox th {
    background:#ffee44;
    border:1px solid #a3b0bf;
    text-align:center;
    padding:5px;
}
 
table.hubquest-infobox th div {
    float:left;
}


/* Templates Additional */
/* Item list templates */
.itemlist, .itemlist-large {
    display:inline-block;
    padding:3px;
    margin-bottom:1px;
}


.itemlist {
    margin-right:8px;
}
.itemlist_caption {
    font-weight: bold;
}
.itemlist-large > span {
    position: absolute;
}
.itemlist-large > span > span {
    font-size:27px;
    z-index:1;
    position: absolute;
    right: -31px;
    bottom: -31px;
}
/* Horizontal ToC bar (dungeon and quest templates) */
.contentsbar {
.contentsbar {
     background:#f9f9f9;
     background:#f9f9f9;
Line 239: Line 315:
}
}


.twocolumn {  
/* Map point template */
     margin:0;
.mappoint {
     padding:0;
    position:relative;
     line-height:25px;
    top:0px;
    left:0px;
    width:260px;
}
.mappoint span:first-child {
     position:absolute;
    top:2px;
     left:2px;
     z-index:1;
}
 
.mappoint span + span, .mappointloc {
    z-index:2;
}
}
   
 
.twocolumn p {
/* Intro template */
     vertical-align:top;
.introbar {
     display: inline-block;
     border: 1px solid #aaa;
     width:49%;
    background-color: #f9f9f9;
     margin:0;
     font: bold 95%/15px arial, sans-serif;
     padding:0;
     color:#606060;
    height:15px;
     margin-bottom:5px;
     padding: 6px;
    white-space:nowrap;
}
.introbar > span {
    float:left;
}
.introbar > span + span {
    float:right;
}
.introbar > span > span + span {
    margin-left:8px;
}
.introbar > span > span > span {
    font-weight:normal;
    color:black;
}
}


Line 324: Line 429:
.mediabgc {background: #ffcea6}
.mediabgc {background: #ffcea6}
.turbinebgc {background: #deeca9}
.turbinebgc {background: #deeca9}
/* Hide main page title */
body.page-Home h1.firstHeading {display:none;}

Revision as of 16:02, 2 November 2014

/** CSS placed here will be applied to all skins except the default Wikia skin */

/* For template documentation */
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa; 
    background-color: #ecfcf4; 
    padding: 5px;
}

/* Auto-number rows in tables */

table.numbered { counter-reset: row; }
table.numbered td:first-child:before { counter-increment: row; content: counter(row) ". "; }

/* Make the list of references smaller */
ol.references {
    font-size: 100%;
}
.references-small { 
    font-size: 90%;
}

/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
/* Please ignore any validator errors caused by these two lines */
.references-2column {
    font-size: 90%;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
}

/* Highlight clicked reference in blue to help navigation */
ol.references > li:target {
    background-color: #DEF;
}

sup.reference:target { 
    background-color: #DEF;
}

/* Styling for citations */
cite {
    font-style: normal;
    word-wrap: break-word;
}

/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
cite:target { 
    background-color: #DEF;
}

/* For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */

@media screen, handheld, projection {
    cite *.printonly {
        display: none;
    }
}

/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
   in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
    float:left;
    font-weight:normal;
    margin-left:0.5em;
    text-align:left;
    width:auto;
}

/* 'collapse'/'expand' buttons created by the mw-collapsible javascript */
.tablecollapse span.mw-collapsible-toggle {float:left;}
.collapse span.mw-collapsible-toggle {float: left;}

/* Alternate table rowcolors */
table.rowcolors tr:nth-child(odd) {background:#f0f0f0;}
table.rowcolors tr:nth-child(even) {background:#ffffff;}
table.rowcolors td:nth-child(1) {font: 95% arial, sans-serif; color:#606060;}
table.rowcolors td:nth-child(2) {font: 95% arial, sans-serif; padding-left: 10px;}

/* Table alignment */
.columnscenter tr {text-align:center;}
.columntworight td:nth-child(2) {text-align:right;}
.columnstop td {vertical-align: top;}

/* Homepage styling */
#mainpage_container {
    width:100%;
    margin:1em 0 0;
    padding:2px;
}

.mainpage_box {
    width:33%;
    padding:5 0em;
    background:#ffffff;
    vertical-align:top;
}

.mainpage_boxheader {
    border:1px solid #a3b0bf;
    border-radius:25px;
    padding:5px;
    margin:3px;
    text-align: center;
}

.mainpage_boxheader div {
    float:right;
}

.mainpage_boxcontents {
    padding:0 2em;
}

/* Item and Equipment Templates */
.item {
   float:left;
   width:300px;
   border:1px solid #907854;
   background-color: #1a1a1a;
   color: #FFFFFF;
   padding: 0.2em;
   font-size: 0.95em;
   font-family: Arial, Verdana, sans-serif;
}

.item a:visited {color:SkyBlue}
.item a:link, a:hover, a:active {color:RoyalBlue}

#item_textbox {
   background-color:#eee8aa;
   border:1px solid #cc9900;
   padding:30px;
   width:500px;
   margin:0 auto;
   text-align:justify;
}

#item_textbox div {
   border-top:1px solid #cc9900;
   margin:10px 0;
}

.item ul, #item_textbox ul {
   margin: 0;
   padding: 0;
   list-style: none;
   list-style-type: none;
   list-style-image: none;
}

.item li.inscription {
   border-top:1px solid #907854;
}

.item li.topbottomspace {
   margin:10px 0px;
}

.item li.bottomspace {
   margin-bottom:10px;
}

#item_header {
   display:table;
   padding:2px;
   text-align:center;
   width:100%;
   font-weight:bold;
}

#item_header div {
   display:table-cell;
   vertical-align: middle;
}

#item_header div + div {
   display:table-cell;
   vertical-align: middle;
   width:40px;
}

/* Creature and NPC Templates */
.character-infobox {
    background:#f9f9f9;
    border:1px solid #e5e5e5;
    padding:5px;
    width:250px;
    float:right;
}

.character-infobox th {
    border:1px solid #a3b0bf;
    padding:5px;
    font-size:125%;
}

/* Dungeon Summary Template */

table.location-infobox {
    background:#f9f9f9;
    border:1px solid #e5e5e5;
    padding:5px;
    width:300px;
    float:right;
}

table.location-infobox th {
    border:1px solid #a3b0bf;
    text-align:center;
    padding:5px;
}

table.location-infobox td.subheader {
    font: bold 98%/25px arial, sans-serif;
}

/* Quest Summary Template */
table.quest-infobox {
    background:#f9f9f9;
    border:1px solid #e5e5e5;
    padding:5px;
    width:250px;
    float:right;
}

table.quest-infobox th {
    border:1px solid #a3b0bf;
    padding:5px;
    text-align:center;
}

/* Quest Rewards Template */
table.questrewards {
    width:375px;
    border:1px solid #e5e5e5;
    background:#f9f9f9;
    margin-bottom:3px;
}

table.questrewards th {
   background:#f0f0f0;
   font-weight:normal;
}

table.questrewards td:first-child {
   text-align:center;
   width:100px;
   font: bold 95% arial, sans-serif;
   color:#606060;
   vertical-align:top;
}

table.questrewards tr {
   vertical-align:top;
}

/* Hub Quest Template */
table.hubquest-infobox {
    background:#f9f9f9;
    border:1px solid #e5e5e5;
    padding:5px;
    width:250px;
}

table.hubquest-infobox th {
    background:#ffee44;
    border:1px solid #a3b0bf;
    text-align:center;
    padding:5px;
}

table.hubquest-infobox th div {
    float:left;
}

/* Item list templates */
.itemlist, .itemlist-large {
    display:inline-block;
    padding:3px;
    margin-bottom:1px;
}

.itemlist {
    margin-right:8px;
}

.itemlist_caption {
    font-weight: bold;
}

.itemlist-large > span {
    position: absolute;
}

.itemlist-large > span > span {
    font-size:27px;
    z-index:1;
    position: absolute;
    right: -31px;
    bottom: -31px;
}

/* Horizontal ToC bar (dungeon and quest templates) */
.contentsbar {
    background:#f9f9f9;
    border:1px solid #aaaaaa;
    padding:5px;
    width:100%;
    text-align:center;
}

/* Map point template */
.mappoint {
    position:relative;
    top:0px;
    left:0px;
    width:260px;
}
.mappoint span:first-child {
    position:absolute;
    top:2px;
    left:2px;
    z-index:1;
}

.mappoint span + span, .mappointloc {
    z-index:2;
}

/* Intro template */
.introbar {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    font: bold 95%/15px arial, sans-serif;
    color:#606060;
    height:15px;
    margin-bottom:5px;
    padding: 6px;
    white-space:nowrap;
}
.introbar > span {
    float:left;
}
.introbar > span + span {
    float:right;
}
.introbar > span > span + span {
    margin-left:8px;
}
.introbar > span > span > span {
    font-weight:normal;
    color:black;
}

/* Tooltips */
.htt .tooltip-content .tooltip-hide, .hidden { display:none; }

.tooltip-error {
   background-color: black;
   color: white;
   max-width: 18em;
}

.tooltip-ready {
  visibility:hidden;
  display:block;
  z-index:999;
}

.creaturetooltip {
   background-color: #f9f9f9;
}

/* Chat colors */
span.say {
color:black;
}

span.emote {
color:grey;
}

span.tell {
color:darkgoldenrod;
}

span.event {
color:green;
}

span.magic {
color:cornflowerblue;
}

/* Return to section link */
.linkbar {
  width:18%;
  padding: 5px;
  margin: 3px;
  border:1px solid #a3b0bf;
  border-radius:25px;
  font-size:85%;
}

.linkbar span {
  font-weight:bold;
}

.linkbar div {
  float: right;
}

/* Section background colors */
.accwikibgc {background: #99b6ec}
.characterbgc {background: #bceca9}
.gameplaybgc {background: #fffaa6}
.newsbgc {background: #a79aec}
.questsbgc {background: #eca9bc}
.itemsbgc {background: #a9deec}
.craftingbgc {background: #ecd8a9}
.worldbgc {background: #ecb7a9}
.lorebgc {background: #b1897e}
.gettingstartedbgc {background: #d7a9ec}
.mediabgc {background: #ffcea6}
.turbinebgc {background: #deeca9}

/* Hide main page title */
body.page-Home h1.firstHeading {display:none;}