Difference between revisions of "MediaWiki:Monobook.css"

From Legion Wiki
Jump to navigationJump to search
Line 1: Line 1:
 
/* edit this file to customize the monobook skin for the entire site */
 
/* edit this file to customize the monobook skin for the entire site */
 
body.page-Main_Page h1.firstHeading { display: none; }
 
body.page-Main_Page h1.firstHeading { display: none; }
 +
 +
/* lw wiki-specific */
 +
 +
body{background:black url(http://legionwiki.com/wiki/images/b/b6/LegionWikiBg.png) repeat-x }
 +
 +
 +
/* background (edit/history/etc) tabs */
 +
#p-cactions li {
 +
border: 1px solid black;
 +
border-bottom: none;
 +
}
 +
 +
/*current tab */
 +
#p-cactions li.selected {
 +
border-color: black;
 +
}
 +
#p-cactions li.selected a{
 +
color:black
 +
}
 +
 +
/*red tab */
 +
#p-cactions li.new{
 +
border-color: #c36666;
 +
}
 +
 +
/* rounded corners in Firefox */
 +
#p-cactions ul li, #p-cactions ul li a
 +
{
 +
    -moz-border-radius-topright: 0.5em;
 +
    -moz-border-radius-topleft: 0.5em;
 +
}
 +
#content
 +
{
 +
    -moz-border-radius-topleft: 1em;
 +
    -moz-border-radius-bottomleft: 1em;
 +
    border-color:black;
 +
}
 +
.toc
 +
{
 +
    -moz-border-radius-topleft: 0.5em;
 +
    -moz-border-radius-topright: 0.5em;
 +
    -moz-border-radius-bottomleft: 0.5em;
 +
    -moz-border-radius-bottomright: 0.5em;
 +
}
 +
 +
/* Personal links at top right */
 +
#p-personal .pBody ul {
 +
  background: black;
 +
  border-bottom: 1px solid black;
 +
  border-left: 1px solid black;
 +
  float: right;
 +
  padding-left: 0;
 +
  -moz-border-radius-bottomleft: 1em;
 +
  height: 1.45em;
 +
    }
 +
#p-personal li {
 +
  margin: 0;
 +
    }
 +
#p-personal li a {
 +
  padding: 0.5em; color:#91BCFF;
 +
    }
 +
#p-personal li a.new {
 +
  color:#FF6868;
 +
    }
 +
#p-personal li a:hover {
 +
  background: #000077; color:white
 +
    }
 +
#p-personal li a:hover.new {
 +
  background: #c30000; color:white
 +
    }
 +
#pt-userpage,
 +
#pt-login,
 +
#pt-logout{font-weight:bold}
 +
 +
 +
/* navigation and other left-menu boxes */
 +
#p-navigation,
 +
#p-external_links,
 +
#p-search,
 +
#p-tb,
 +
#p-lang {
 +
  margin: 1em 0.5em;
 +
  width: 11.2em;
 +
    }
 +
#p-navigation h5,
 +
#p-external_links h5,
 +
#p-search h5,
 +
#p-tb h5,
 +
#p-lang h5 {
 +
  background: black;
 +
//  background: #000077;
 +
//  border: 1px solid #000077;
 +
  color: #FFFFFF;
 +
  font-family:Gill Sans,Verdana,Helvetica Neue,Helvetica,Helv;sans-serif;
 +
//  font-weight:bold;
 +
//  font-size:9pt;
 +
  text-transform: uppercase;
 +
  padding: 5px 4px;
 +
  text-indent: 7px;
 +
  width: 95%;
 +
  display: block;
 +
  -moz-border-radius-topleft: 1em;
 +
    }
 +
#p-navigation .pBody,
 +
#p-external_links .pBody,
 +
#p-search .pBody,
 +
#p-tb .pBody,
 +
#p-lang .pBody {
 +
  display: block;
 +
  border: 1px solid black;
 +
  background: #FFFFFF;
 +
  -moz-border-radius-bottomright: 1em;
 +
    }
 +
#p-navigation .pBody a,
 +
#p-external_links .pBody a,
 +
#p-search .pBody a,
 +
#p-tb .pBody a,
 +
#p-lang .pBody a {
 +
  color: #000;
 +
  text-decoration: none;
 +
    }
 +
#p-navigation .pBody a:hover,
 +
#p-external_links .pBody a:hover,
 +
#p-search .pBody a:hover,
 +
#p-tb .pBody a:hover,
 +
#p-lang .pBody a:hover {
 +
  color: #3F61AD !important;
 +
    }
 +
/* search box */
 +
#searchInput {
 +
  background: #fff;
 +
  border: 1px solid black;
 +
  margin-bottom: 3px;
 +
  padding: 2px;
 +
    }
 +
 +
/* the icon in front of the user name, single quotes
 +
in bg url to hide it from iemac */
 +
li#pt-userpage,
 +
li#pt-anonuserpage,
 +
li#pt-login {
 +
background: url(http://legionwiki.com/wiki/images/7/7a/UserL.png) top left no-repeat;
 +
padding-left: 20px;
 +
margin-left: 5px;
 +
text-transform: none;
 +
}

Revision as of 04:31, 11 June 2010

/* edit this file to customize the monobook skin for the entire site */
body.page-Main_Page h1.firstHeading { display: none; }

/* lw wiki-specific */

body{background:black url(http://legionwiki.com/wiki/images/b/b6/LegionWikiBg.png) repeat-x }


/* background (edit/history/etc) tabs */
#p-cactions li {
	border: 1px solid black;
	border-bottom: none;
}

/*current tab */
#p-cactions li.selected {
	border-color: black;
}
#p-cactions li.selected a{
	color:black
}

/*red tab */
#p-cactions li.new{
	border-color: #c36666;
}

/* rounded corners in Firefox */
#p-cactions ul li, #p-cactions ul li a
{
    -moz-border-radius-topright: 0.5em;
    -moz-border-radius-topleft: 0.5em;
}
#content
{
    -moz-border-radius-topleft: 1em;
    -moz-border-radius-bottomleft: 1em;
    border-color:black;
}
.toc
{
    -moz-border-radius-topleft: 0.5em;
    -moz-border-radius-topright: 0.5em;
    -moz-border-radius-bottomleft: 0.5em;
    -moz-border-radius-bottomright: 0.5em;
}

/* Personal links at top right */
 #p-personal .pBody ul { 
   background: black;
   border-bottom: 1px solid black;
   border-left: 1px solid black;
   float: right;
   padding-left: 0;
   -moz-border-radius-bottomleft: 1em;
   height: 1.45em;
    } 
 #p-personal li { 
   margin: 0; 
    } 
 #p-personal li a { 
   padding: 0.5em; color:#91BCFF;
    }
 #p-personal li a.new { 
   color:#FF6868;
    } 
 #p-personal li a:hover { 
   background: #000077; color:white
    }
 #p-personal li a:hover.new {
   background: #c30000; color:white
    }
 #pt-userpage,
 #pt-login,
 #pt-logout{font-weight:bold}


/* navigation and other left-menu boxes */
 #p-navigation,
 #p-external_links,
 #p-search,
 #p-tb,
 #p-lang { 
   margin: 1em 0.5em;
   width: 11.2em;
    } 
 #p-navigation h5,
 #p-external_links h5,
 #p-search h5,
 #p-tb h5,
 #p-lang h5 { 
   background: black;
//   background: #000077;
//   border: 1px solid #000077;
   color: #FFFFFF;
   font-family:Gill Sans,Verdana,Helvetica Neue,Helvetica,Helv;sans-serif;
//   font-weight:bold;
//   font-size:9pt;
   text-transform: uppercase;
   padding: 5px 4px;
   text-indent: 7px;
   width: 95%;
   display: block;
   -moz-border-radius-topleft: 1em;
    } 
 #p-navigation .pBody,
 #p-external_links .pBody,
 #p-search .pBody,
 #p-tb .pBody,
 #p-lang .pBody { 
   display: block;
   border: 1px solid black;
   background: #FFFFFF;
   -moz-border-radius-bottomright: 1em;
    }
 #p-navigation .pBody a,
 #p-external_links .pBody a,
 #p-search .pBody a,
 #p-tb .pBody a,
 #p-lang .pBody a { 
   color: #000;
   text-decoration: none;
    }
 #p-navigation .pBody a:hover,
 #p-external_links .pBody a:hover,
 #p-search .pBody a:hover,
 #p-tb .pBody a:hover,
 #p-lang .pBody a:hover { 
   color: #3F61AD !important; 
    }
/* search box */
 #searchInput { 
   background: #fff;
   border: 1px solid black;
   margin-bottom: 3px;
   padding: 2px;
    }

/* the icon in front of the user name, single quotes
in bg url to hide it from iemac */
li#pt-userpage,
li#pt-anonuserpage,
li#pt-login {
	background: url(http://legionwiki.com/wiki/images/7/7a/UserL.png) top left no-repeat;
	padding-left: 20px;
	margin-left: 5px;
	text-transform: none;
}