MediaWiki:Common.css

Revision as of 01:00, 10 March 2007 by ThePoet444 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, 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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* <pre><nowiki> */

/** CSS placed here will be applied to all skins */
body
{
    cursor: default;
    font-family: sans-serif;
}

 .sitenotice-nav { display: none; }

 /* Fix size issues between different platforms */
 code, pre { font-size: 10pt!important }
 /* Class to force links to be underlined 
 To use: <span class="underlinelink">[[link]]</span>  --Paulgb */
 .underlinelink a { text-decoration: underline ! important; }
 /* Class to force links to be not underlined - See .underlinelink for use -Paulgb */
 .nounderlinelink a { text-decoration: none ! important; }
 .nounderlinelink a:hover { text-decoration: underline ! important; }
 .forum_title a.forum_new { font-weight: bold; }
 .forum_title a.forum_new:visited { font-weight: normal; }
 .allpagesredirect { font-style: italic; }

 /* buttons and input boxes */
 input[type="submit"] { border: 1px solid #aaa; border-bottom: 2px solid #aaa; border-right: 2px solid #aaa; background: #eee; }
 input[type="text"], input[type="password"], textarea[name="wpTextbox1"] { border: 1px solid #aaa; border-top: 2px solid #aaa; border-left: 2px solid #aaa; }

 /* VFD stuff - temporary */
 .vfdlist ul li a { margin-left: 1em; font-weight: bold; }
 .vfdlist ul li s a { margin-left: 0em; font-weight: normal; }
 .vfdlist ul li strike a { margin-left: 0em; font-weight: normal; }

 /* main page */
 /* sky */
 .mp2-sky .mp2left
   { background: #f5fffa; border-color: #cef2e0; }
 .mp2-sky .mp2lefttitle
   { background: #cef2e0; border-color: #a3b0bf; }
 .mp2-sky .mp2right
   { background: #f5faff; border-color: #cedff2; }
 .mp2-sky .mp2righttitle
   { background: #cedff2; border-color: #a3b0bf; }
 .mp2-sky .mp2community
   { background: #f9f9f9; border-color: #eeeeee; }
 .mp2-sky .mp2communitytitle
   { background: #eeeeee; border-color: #cccccc; }
 .mp2-sky .mp2communityinner
   { border-color: #cedff2; }
   { background: #fffffa; border-color: #ffffee; }
 .mp2-sky .mp2quotetitle
   { background: #ffffee; border-color: #dddd00; }
 /* /sky */
 /* water */
 .mp2-water .mp2left
   { background: #eeeeee; border-color: #6495ED; }
 .mp2-water .mp2lefttitle
   { background: #5FB3AC; border-color: #000000; }
 .mp2-water .mp2right
   { background: #f5faff; border-color: #6495ED; }
 .mp2-water .mp2righttitle
   { background: #5CACEE; border-color: #000000; }
 .mp2-water .mp2community
   { background: #f9f9f9; border-color: #eeeeee; }
 .mp2-water .mp2communitytitle
   { background: #5CACEE; border-color: #000000; }
 .mp2-water .mp2communityinner
   { border-color: #6495ED; }
 .mp2-water .mp2quote
   { background: #fffffa; border-color: #ffffee; }
 .mp2-water .mp2quotetitle
   { background: #ffffee; border-color: #dddd00; }
 /* /water */

 /* pre style override */
 pre.nostyle { padding:0; border:none; background:none; }

 /* this class can be used in the content area to make a link appear like a new page link */
 #bodyContent .redlink a {color: #ba0000;}
 #bodyContent .redlink a.new:visited {color: #a55858;}

 /* Infobox template styling */
 .infobox
 {
   float: right;
   clear: right;
   margin: 0 0 .5em 1em;
   width: 250px;
   background: none;
   border-collapse: collapse;
   border-width: 0px;
   font-size: 0.8em;
   line-height: 1.5;
 }
 .infobox table.infoboxtable
 {
   background:#f0f0f0;
   float:right;
   margin:0;
   width:100%;
   border-collapse:collapse;
 }
 .infobox td.infoboximage
 {
   padding:0;
   text-align:center; 
 }
 .infobox th.infoboxheading
 {
   font-weight:bold;
   text-align:center;
   color:#ffffff;
   font-size:larger;
 }
 .infobox th.infoboxsubheading
 {
   vertical-align:top;
   text-align:left;
   font-weight:normal; 
 }
 .infobox td.infoboxlabel, .infobox td.infoboxcell
 {
   vertical-align: middle;
/*   border-top:1px solid #999;
   border-bottom:1px solid #999; */
 }

 /* ugly hack to force normal height for infobox cells */
 .infoboxcell p { margin-top: 0px; margin-bottom: 0px; }
 /* .infoboxcell ul { list-style-type: disc; } */

.infoboxcell ul
{
    padding-left: 10px;
    margin-left: 10px;
}

.infoboxcell ul li
{
    padding-left: 0;
    margin-left: 0;
    list-style-type: square;
}

 .infobox div.plainlinks
 {
     color: #fff;
 }

 .infobox div.plainlinks a
 {
     color: #f0f0f0;
 }

 /* class for forum navigation templates */
 .forumheader
 {
   background: #eee;
   border: 1px solid #aaa; 
   padding: 5px;
 }

 /* class for stub template styling */
 /* only applies to table and div elements - avoids conflicts with preexisting a.stub */
 table.stub, div.stub
 {
   border:1px solid #999;
   background:#fff;
   margin:0 0 .5em .5em;
   text-align:center;
   padding:5px;
   clear:center;
   font-size:smaller;
 }

 /* class for article disambiguation templates */
 .disambig
 {
   background:#fff;
   border:1px solid #999;
   font-size:smaller;
   margin-bottom:3px;
   text-align:center;
 }

 /* styling for MediaWiki:Edittools */
 #edittools
 {
   border:2px solid #F0F0F0;
   background:#F9F9F9;
 }

 /* test of per-page css (remove tags from main page) */
 body.page-Main_Page #lastmod, 
 body.page-Main_Page #siteSub, 
 body.page-Main_Page #contentSub, 
 body.page-Main_Page h1.firstHeading { display: none !important; }

.mp2namebox { width:100%; background-color:#fcfcfc; border:1px solid #ccc; text-align:center }
.mp2outer { width:55%; border-width: 1px; border-style: solid; vertical-align:top }
.mp2inner { vertical-align:top }
.mp2header { font-size:120%; border-width: 1px; border-style: solid; text-align:left; padding-left:0.4em }
.mp2community { margin:auto; border-width: 1px; border-style: solid; vertical-align:top; width:100% }
.mp2communitytitle, .mp2quotetitle { font-size:120%; border-width: 1px; border-style: solid; text-align:left; padding-left:0.4em }
.mp2communityinner { vertical-align:top; border-width: 1px; border-style: solid; padding:5px }
.mp2quote { margin:auto; vertical-align:top; border-width: 1px; border-style: solid; margin-top:8px }

.references-small { font-size: 90%;}


/* rounded corners */
.rtop, .rbottom { display: block; padding: 0px; margin: 0px }
.rtop *, .rbottom * { display: block; height: 1px; overflow: hidden; padding: 0px }
.r1 {margin: 0 5px}
.r2 {margin: 0 3px}
.r3 {margin: 0 2px}
.r4 {margin: 0 1px; height: 2px}
/* end rounded corners */

#mp3-global ul {
    padding-left: 10px;
    margin-left: 10px;
}

#mp3-global ul li {
    padding-left: 0;
    margin-left: 0;
    list-style-type: square;
}

#mp3-navlink #mp3-nav { display: none; }
//#mp3-navlink:hover #mp3-nav, #mp3-navlink.over #mp3-nav { display: block; }

#mp3-navlink { font-size: 1.1em; margin: auto; max-width: 600px; _width: expression(document.getElementById('mp3-nav-outer').offsetWidth > 600 ? '600px' : 'auto'); }

.hoverable .hoverable-inner
{ display: none;
  position: absolute;
  top: auto;
  text-align: left;
}

.hoverable:hover .hoverable-inner, .hoverable.over .hoverable-inner { display: inline; }

/* class for message box template styling */
.messagebox
{
  clear:both;
  width:85%;
  margin:0px auto 3px auto;
  padding:3px;
  font-size:95%;
} 

/* in-universe message boxes */
.iumb
{ 
    border-width: 0;
    text-align:left;
    padding: 0;
}

.iumb table
{
    padding: 5px 10px 5px 10px;
    background: transparent;
}

.iumb-icon
{
    vertical-align: middle;
    padding: 0;
}

.iumb-main
{
    padding: 0 0 0 10px;
}

.iumb-caption
{
    font-size: 1.3em;
    font-weight: bold;
}

.iumb-comment
{
    font-size: 0.8em;
}

/* userboxes */
.userbox
{
    float: left;
    border-width: 1px;
    border-style: solid;
    margin: 1px;
    width: 238px;
    padding: 0px;
}

.ubx-icon
{
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 14pt;
    font-weight: bold;
}

.ubx-main
{
    font-size: 8pt;
    padding: 4pt;
    line-height: 1.25em;
}

/* </nowiki></pre> */