Difference between revisions of "MediaWiki:Monobook.css"

From Hitchwiki
Jump to navigation Jump to search
m
m
Line 90: Line 90:
 
   margin-left: 1em;
 
   margin-left: 1em;
 
   padding: 0.2em;
 
   padding: 0.2em;
   float: left;
+
   float: right;
   clear: left;
+
   clear: right;
 
}
 
}
 
.infobox td,
 
.infobox td,

Revision as of 16:46, 16 December 2007

/* CSS placed here will affect users of the Monobook skin 


<pre><nowiki>
*/

BODY { 
  background: none; 
/* url(http://couchsurfing.com/images/bg6-100k.jpg) top no-repeat; */

/*
  background-attachment: scroll;
  background-repeat: repeat-x; 
*/

  background-color: #eed;
}

.portlet H5 { display: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; }
#content { -moz-border-radius-topleft: 0.6em; -moz-border-radius-bottomleft: 0.6em; }
div.pBody { -moz-border-radius-topright: 0.4em; -moz-border-radius-bottomright: 0.4em; }

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


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