Difference between revisions of "MediaWiki:Monobook.css"

From Hitchwiki
Jump to navigation Jump to search
m
(One intermediate revision by the same user not shown)
Line 217: Line 217:
 
   padding: 1em 0 1.6em;
 
   padding: 1em 0 1.6em;
 
}
 
}
 +
 +
/* making sure hitchwiki links in top left aren't masked */
 +
#p-personal {
 +
  margin-left: 244px;
 +
  width: 454px;
 +
}
 +
  
 
#p-personal li a
 
#p-personal li a

Revision as of 22:29, 28 October 2011

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


<pre><nowiki>
*/

.round-box
{
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
}

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

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

.page-Main_Page table
{
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px; 
}

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


/* make a few corners round, css3 code plus support for moz/firefox/other gecko browsers and webkit good tool here http://bit.ly/blZlbb */ 

#p-cactions ul li, 
#p-cactions ul li a 
{ 
  -webkit-border-top-left-radius: 7px;
  -webkit-border-top-right-radius: 7px;
  -moz-border-radius-topleft: 7px;
  -moz-border-radius-topright: 7px;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  border-width: 3px;
  border-color: #AAAAAA;
}

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

#p-cactions li a {
  color:#606399;
}

#content 
{ 
  -webkit-border-top-left-radius: 7px;
  -webkit-border-bottom-left-radius: 7px;
  -moz-border-radius-topleft: 7px;
  -moz-border-radius-bottomleft: 7px;
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
  border-color:#AAAAAA;
  border-style:solid none solid solid;
  border-width:3px medium 3px 3px;
}

div.pBody 
{
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  border-width: 2px;
  margin: 2px 0 0 6px;
}

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: #AAAAAA;
  padding: 1em 0 1.6em;
}

/* making sure hitchwiki links in top left aren't masked */
#p-personal {
  margin-left: 244px;
  width: 454px;
}


#p-personal li a
{
  color: black;
  font-weight: bold;
  font-size: 10px;
}

#footer a { color: #bb0000; }
#footer #credits a { color: black; }

.portlet a:visited,
.portlet a { 
  color: #606399; 
  border-bottom: 1px dotted #ccc;
}

.portlet ul li {
  list-style: none;
  margin-left: -6px;
}

#footer ul li#copyright, 
#footer ul li#disclaimer, 
#footer ul li#privacy, 
#footer ul li#about 
{
  border-top:1px dotted #CCCCCC;
  display:block;
  float:right;
}

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

.road_euro,
.road_highway,
.road_national {
	padding: 0 1ex; 
	border: 1px solid #ddd; 
	color: #fff;
	font-size:95%;

	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
.road_euro {
	background-color:#479A38;
	border: 1px solid #2f740f;
}
.road_highway {
	background-color:#E9132F;
	border: 1px solid #b13e38;
}
.road_national {
	background-color:#FCD016;
	border: 1px solid #de9700;
	color: #000;
}

#front-page
{
  background:#F9F9F9 url(http://hitchwiki.org/en/images/en/3/3a/Bg.png) repeat scroll 0 0;
}

#front-page h1
{
  padding: 5px 20px;
}