MediaWiki:Monobook.css

From Hitchwiki
Revision as of 12:09, 8 May 2009 by Guaka (talk | contribs)
Jump to navigation Jump to 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will affect users of the Monobook skin 


<pre><nowiki>
*/

body
{ 
  background:#f9f9f9 url(http://hitchwiki.org/en/images/en/b/bb/Hitchwiki-background-test3.png) repeat-x scroll 0 0;
}

.page-Main_Page h1,
.portlet h5 
{  
  display:none; 
}

.page-Main_Page table
{
  -moz-border-radius: 0.5em; 
}

.portlet ul
{
  list-style-type: disc;
  list-style-image: none;
}


/* make a few corners round, only supported by moz/firefox/other gecko browsers for now */ 

#p-cactions ul li, 
#p-cactions ul li a 
{ 
  -moz-border-radius-topleft: 0.4em; 
  -moz-border-radius-topright: 0.4em;
  border-width: 3px;
  border-color: #f9ef80;
}

#p-cactions li.selected
{
  border-color: #b21516;
}

#content 
{ 
  -moz-border-radius-topleft: 0.6em; 
  -moz-border-radius-bottomleft: 0.6em;
  border-color:#f9ef80 -moz-use-text-color #f9ef80 #f9ef80;
  border-style:solid none solid solid;
  border-width:3px medium 3px 3px;
}

div.pBody 
{
  -moz-border-radius-topright: 0.4em; 
  -moz-border-radius-bottomright: 0.4em; 
  border-width: 2px 2px 2px 0;
}

a {
  color:#606399;
}

a:visited {
  color:#6B5E7F;
}

a.new, #p-personal a.new {
  color:#741;
}

#bodyContent a.external
{
  color:#5f7f3f;
}


#toc {
  background:#E6D7B5;
  float:right;
  margin:10px;
  margin-right:0;
}

.editsection {
  font-size: 70%;
  float: right;
}


#p-logo {
    z-index: 3;
    position: absolute; /*needed to use z-index */
    top: 26px;
    left: 0;
    height: 155px;
    width: 12em;
    overflow: visible;
}


#p-cactions {
    position: absolute;
    top: 3.3em;
    left: 11.5em;
    margin: 0;
    white-space: nowrap;
    width: 76%;
    line-height: 1.1em;
    overflow: visible;
    background: none;
    border-collapse: collapse;     padding-left: 1em;
    list-style: none;
    font-size: 95%;
}

/* Infobox template style */

.infobox {
   border: 1px solid #aaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

.infobox.sisterproject {
   width: 20em;
   font-size: 90%;
}

/* Messagebox templates */
.messagebox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    width: 80%;
    margin: 0 auto 1em auto;
    padding: .2em;
}
.messagebox.merge {
    border: 1px solid #c0b8cc;
    background-color: #f0e5ff;
    text-align: center;
}
.messagebox.cleanup {
    border: 1px solid #9f9fff;
    background-color: #efefff;
    text-align: center;
}
.messagebox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
    margin: 4px auto;
}

dd {
 border-top:solid 0px #CCC;
 border-left:solid 2px #CCC;
 padding-top: 1px;
 padding-left: 4px;
 margin-left: 15px;
}

#footer
{
  border-width: 3px 0;
  border-style: solid;
  border-color: #F9EF80;
  padding: 1em 0 1.6em;
}

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