MediaWiki:Common.css

From Zelda Dungeon Wiki
Revision as of 15:43, April 9, 2012 by David (talk | contribs)
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.

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 (Command+R on a Mac)
  • Google Chrome: press Ctrl+Shift+R (Command+Shift+R on a Mac)
  • Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl+F5
  • Konqueror: click Reload or press F5
  • Opera: clear the cache in Tools → Preferences
/* 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; }

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

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

body.page-Main_Page h1#firstHeading { display: none; }
table.mw-listgrouprights-table tr#checkuser { display: none; }
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 {
color: #E99216;
}

/* Bots */
body.page-User_Navi h1#firstHeading, body.page-User_talk_Navi 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+ */
}