MediaWiki:Common.css: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(added Scrapper to Bots page title color)
mNo edit summary
Line 54: Line 54:
#mw-normal-catlinks ul { margin-left: 0; }
#mw-normal-catlinks ul { margin-left: 0; }


body.page-Main_Page h1#firstHeading { display: none; }
/* Hiding obsolete and unused elements */
table.mw-listgrouprights-table tr#checkuser { display: none; }
body.page-Special_Statistics tr.statistics-group-checkuser, body.page-Special_Statistics tr.statistics-group-widgeteditor, body.page-Main_Page h1#firstHeading, table.mw-listgrouprights-table tr#checkuser, table.mw-listgrouprights-table tr#widgeteditor {
table.mw-listgrouprights-table tr#widgeteditor { display: none; }
display: none;
}


/* Letterhead table classes */
/* Letterhead table classes */

Revision as of 06:14, October 2, 2012

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

/* CSS styling for the User Welcome */
.user_welcome { border: 2px solid #000; padding: 5px; border-radius: 10px; }
.user_welcome .head { border: 1px solid #000; padding: 6px; border-top-right-radius: 10px; border-top-left-radius: 10px; background: url("http://zeldadungeon.net/wp-content/themes/default/images/Box1Color.png"); font-weight: bold; font-size: 18px; }
.user_welcome .welcome_content { padding: 5px 0; }

/* Common boxes */
.title { border: 1px solid #5a7db5; background: url("http://zeldadungeon.net/wp-content/themes/default/images/Box2Color.png"); font-weight: bold; font-size: 1.1em; }
.header { background: url("http://zeldadungeon.net/wp-content/themes/default/images/Box1Color.png"); font-weight: bold; }
.label { background: url("http://zeldadungeon.net/wp-content/themes/default/images/Box1.png"); }
.even { background-color: #f6f6f6; }

/* Infobox */
.infobox { float: right; margin: 0 0 1em 1em; border: 1px solid #5a7db5; border-collapse: collapse; background-color: #f6f6f6; width: 22em; font-size: .95em; text-align: left; }
.infobox .title { text-align: center; }
.infobox th, .infobox td { border: 1px solid #5a7db5; }

/* Navbox */
.navbox { clear: both; margin: auto; border: 1px solid #5a7db5; width: 70%; font-size: .85em; border-collapse: collapse; }
.navbox .title { position: relative; }
.navbox .title span { position: absolute; right: .5em; }
.navbox table { width: 100%; }
.navbox .label { width: 20%; }

/* Ambox */
table.ambox-header {
  width: 80%;
  height: 100px;
  margin: 1em auto 1em auto;
  vertical-align: top;
  text-align: left;
  border-style: solid;
  border-width: 2px;
}
td.ambox-header { width: 100px; text-align: center; }
table.ambox-inline {
  width: 40%;
  height: 50px;
  margin: 1em auto 1em auto;
  vertical-align: top;
  text-align: center;
  border-style: double none double none;
  border-width: 2px;
}
td.ambox-inline { width: 50px; }

/* Horizontal Lists */
.hlist > li, .hlist > * > li { display: inline; margin: 0; }
.hlist > li:after, .hlist > * > li:after { content: " · "; font-weight: bold; }
.hlist > li:last-child:after, .hlist > * > li:last-child:after { content: none; }
.hlist > li.hlist-last-child:after, .hlist > * > li.hlist-last-child:after { content: none; } /* IE8 */

#mw-normal-catlinks ul { margin-left: 0; }

/* Hiding obsolete and unused elements */ 
body.page-Special_Statistics tr.statistics-group-checkuser, body.page-Special_Statistics tr.statistics-group-widgeteditor, body.page-Main_Page h1#firstHeading, table.mw-listgrouprights-table tr#checkuser, table.mw-listgrouprights-table tr#widgeteditor {
display: none;
}

/* Letterhead table classes */
table.letterhead{
border-width: 0px; 
width:100%;
border-spacing: 0;
border-collapse: separate;
}
table.letterhead td{
background-image:url('//zeldadungeon.net/wiki/images/c/cf/Letterhead-Corner.png');
background-repeat:no-repeat;
text-align:right;
width: 80px;
height:80px;
background-color: transparent;
padding: 0;
}
table.letterhead th{
text-align:center;
background-image:url('//zeldadungeon.net/wiki/images/9/93/Letterhead-Tex.png');
font-weight:bold
}
div.letterhead{
padding: 1em 3em 2em;
background-image:url('//zeldadungeon.net/wiki/images/9/93/Letterhead-Tex.png');
text-align:left;
font-size:1.2em;
border-width: 0px;
border-spacing: 0;
border-collapse: separate;
}

/* Header shadowing */
#firstHeading, #mw-previewheader, #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5, #bodyContent h6 {
text-shadow: #AAA 1.2px 1.2px 1px;
}

/* Dashed Headers */
h3 {
border-bottom: 1px dashed #AAA;
}

/* Remove White Backround on Diff */
table.diff, td.diff-otitle, td.diff-ntitle {
background-color: transparent;
}

/* Rank Page Title Coloring
  Applies rank colors to page title on user and user talk pages. */
/* Admins */
body.page-User_Axle_the_Beast h1#firstHeading, body.page-User_talk_Axle_the_Beast h1#firstHeading, body.page-User_David h1#firstHeading, body.page-User_talk_David h1#firstHeading, body.page-User_Josh h1#firstHeading, body.page-User_talk_Josh h1#firstHeading, body.page-User_Locke h1#firstHeading, body.page-User_talk_Locke h1#firstHeading, body.page-User_Mases h1#firstHeading, body.page-User_talk_Mases h1#firstHeading, body.page-User_Matt h1#firstHeading, body.page-User_talk_Matt h1#firstHeading {
color:#2BA206;
}

/* Patrollers */
body.page-User_EzikielofHyrule h1#firstHeading, body.page-User_talk_EzikielofHyrule h1#firstHeading, body.page-User_Ganon h1#firstHeading, body.page-User_talk_Ganon h1#firstHeading, body.page-User_KogamoSJS h1#firstHeading, body.page-User_talk_KogamoSJS h1#firstHeading,body.page-User_Fused_shadows h1#firstHeading, body.page-User_talk_Fused_shadows h1#firstHeading {
color: #E99216;
}

/* Bots */
body.page-User_Navi h1#firstHeading, body.page-User_talk_Navi h1#firstHeading, body.page-User_Scrapper h1#firstHeading, body.page-User_talk_Scrapper h1#firstHeading {
color:#3EB8C6;
}
/* End Rank Page Title Coloring */


/* prevents Pre tags from spilling out of their content area. */
pre {
  white-space: pre-wrap;       /* css-3 */
  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

/* Infobox table class */
table.infotable {
float: right;
margin: 0 0 1em 1em;
border-collapse: collapse;
font-size: 95%;
text-align: left;
}
table.infotable th {
background: #F2F2F2;
}
table.infotable td {
background: #FFF;
}
table.infotable th, table.infotable td {
border: 1px #AAA solid;
padding: 0.2em;
}