Difference between revisions of "MediaWiki:Monobook.css"

From Legion Wiki
Jump to navigationJump to search
(Turns out Chrome bumps the navbar on the left below the content for NO REASON. Trying to fix...)
 
(22 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
/* lw wiki-specific */
 
/* lw wiki-specific */
  
body{background:black url(http://legionwiki.com/wiki/images/b/b6/LegionWikiBg.png) repeat-x }
+
body{background:black url(/wiki/images/b/b6/LegionWikiBg.png) repeat-x }
  
  
Line 10: Line 10:
 
#p-cactions li {
 
#p-cactions li {
 
border: 1px solid black;
 
border: 1px solid black;
border-bottom: none;
+
border-bottom: none;border-top:2px solid;
 
}
 
}
  
Line 29: Line 29:
 
#p-cactions ul li, #p-cactions ul li a
 
#p-cactions ul li, #p-cactions ul li a
 
{
 
{
    -moz-border-radius-topright: 0.5em; -webkit-border-top-left-radius:0.5em;
 
    -moz-border-radius-topleft: 0.5em; -webkit-border-bottom-right-radius:0.5em;
 
 
     border-radius:0.5em 0 0 0;
 
     border-radius:0.5em 0 0 0;
 
}
 
}
  
  
 
+
#p-cactions li a{background:white}
 +
#p-cactions li a:hover {background:#ffffcf}
 +
#p-cactions li a #ca-addsection{border-radius:0}
  
 
#content
 
#content
 
{
 
{
     -moz-border-radius-topleft: 1em; -webkit-border-top-left-radius:1em;
+
     border-radius:1em 0 ;
    -moz-border-radius-bottomleft: 1em; -webkit-border-bottom-left-radius:1em;
 
    border-radius:1em 0 0 1em;
 
 
     border-color:black;
 
     border-color:black;
 +
    border-top:0.35em solid black;
 +
margin: 2.6em 0 0 12.2em;
 +
z-index: 0;
 
}
 
}
 
.toc
 
.toc
 
{
 
{
    -moz-border-radius-topleft: 0.5em; -webkit-border-top-left-radius:0.5em;
 
    -moz-border-radius-bottomright: 0.5em; -webkit-border-bottom-right-radius:0.5em;
 
 
     border-radius:0.5em 0;
 
     border-radius:0.5em 0;
 
}
 
}
Line 58: Line 57:
 
   float: right;
 
   float: right;
 
   padding-left: 0;
 
   padding-left: 0;
   -moz-border-radius-bottomleft: 1em; -webkit-border-bottom-left-radius:1em;  border-radius: 0 0 0 1em;
+
   border-radius: 0 0 0 1em;
 
   height: 1.45em;
 
   height: 1.45em;
 
     }  
 
     }  
Line 87: Line 86:
 
  #p-tb,
 
  #p-tb,
 
  #p-lang {  
 
  #p-lang {  
   margin: 0.25em 0.1em 0.60em 0.45em;
+
   margin: 0.25em 0.5em 0.75em 0.5em;
 
   width: 11.2em;
 
   width: 11.2em;
 
     }  
 
     }  
  #p-navigation h5,
+
  #p-navigation h3,
  #p-external_links h5,
+
  #p-external_links h3,
  #p-search h5,
+
  #p-search h3,
  #p-tb h5,
+
  #p-tb h3,
  #p-lang h5 {  
+
  #p-lang h3 {  
 
   background: black;
 
   background: black;
 
   color: #FFFFFF;
 
   color: #FFFFFF;
Line 103: Line 102:
 
   width: 95%;
 
   width: 95%;
 
   display: block;
 
   display: block;
   -moz-border-radius-topleft: 1em; -webkit-border-top-left-radius:1em;  border-radius: 1em 0 0 0;
+
   border-radius: 1em 0 0 0;
 +
  margin-bottom:0;
 
     }  
 
     }  
 
  #p-navigation .pBody,
 
  #p-navigation .pBody,
Line 113: Line 113:
 
   border: 1px solid black;
 
   border: 1px solid black;
 
   background: #FFFFFF;
 
   background: #FFFFFF;
   -moz-border-radius-bottomright: 1em; -webkit-border-bottom-right-radius:1em;  border-radius: 0 0 1em 0;
+
   border-radius: 0 0 1em 0;
 
     }
 
     }
 
  #p-navigation .pBody a,
 
  #p-navigation .pBody a,
Line 143: Line 143:
 
li#pt-anonuserpage,
 
li#pt-anonuserpage,
 
li#pt-login {
 
li#pt-login {
background: url(http://legionwiki.com/wiki/images/7/7a/UserL.png) top left no-repeat;
+
background: url(/wiki/images/7/7a/UserL.png) top left no-repeat;
 
padding-left: 20px;
 
padding-left: 20px;
 
margin-left: 5px;
 
margin-left: 5px;
 
text-transform: none;
 
text-transform: none;
 
}
 
}
 +
 +
table.gallery{border:none}
 +
table.gallery td{background:none}
 +
div.gallerybox{background:none;border:1px solid black;border-top:5px solid black;border-radius:2em 0;background:#FFFFcF}
 +
div.gallerybox div.thumb{border:none}
 +
div.gallerytext{text-align:center;margin-top:-10px}
 +
 +
#p-cactions li {padding:0 0 0.2em}

Latest revision as of 08:05, 15 August 2015

/* 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(/wiki/images/b/b6/LegionWikiBg.png) repeat-x }


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

/*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
{
    border-radius:0.5em 0 0 0;
}


#p-cactions li a{background:white}
#p-cactions li a:hover {background:#ffffcf}
#p-cactions li a #ca-addsection{border-radius:0}

#content
{
    border-radius:1em 0 ;
    border-color:black;
    border-top:0.35em solid black;
	margin: 2.6em 0 0 12.2em;
	z-index: 0;
}
.toc
{
    border-radius:0.5em 0;
}

/* 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;
   border-radius: 0 0 0 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: 0.25em 0.5em 0.75em 0.5em;
   width: 11.2em;
    } 
 #p-navigation h3,
 #p-external_links h3,
 #p-search h3,
 #p-tb h3,
 #p-lang h3 { 
   background: black;
   color: #FFFFFF;
   font-family:Gill Sans,Helvetica Neue,Helvetica,Helv,Arial,sans-serif;
   text-transform: uppercase;
   padding: 5px 4px;
   text-indent: 7px;
   width: 95%;
   display: block;
   border-radius: 1em 0 0 0;
   margin-bottom:0;
    } 
 #p-navigation .pBody,
 #p-external_links .pBody,
 #p-search .pBody,
 #p-tb .pBody,
 #p-lang .pBody { 
   display: block;
   border: 1px solid black;
   background: #FFFFFF;
   border-radius: 0 0 1em 0;
    }
 #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(/wiki/images/7/7a/UserL.png) top left no-repeat;
	padding-left: 20px;
	margin-left: 5px;
	text-transform: none;
}

table.gallery{border:none}
table.gallery td{background:none}
div.gallerybox{background:none;border:1px solid black;border-top:5px solid black;border-radius:2em 0;background:#FFFFcF}
div.gallerybox div.thumb{border:none}
div.gallerytext{text-align:center;margin-top:-10px}

#p-cactions li {padding:0 0 0.2em}