Team:St Andrews/Template:StyleOverride
From 2012.igem.org
(Hopefully fixes the menubar.) |
(testing margin) |
||
Line 4: | Line 4: | ||
position: relative; | position: relative; | ||
width: 95%; | width: 95%; | ||
- | margin: | + | margin: 60%; |
padding:0; | padding:0; | ||
background: transparent; | background: transparent; |
Revision as of 10:54, 5 June 2012
/*iGEM override. By http://www.jasonfweb.com/*/
- content{
position: relative; width: 95%; margin: 60%; padding:0; background: transparent; color: #353535; border-left: none; border-right: none; line-height: inherit; z-index: 2; }
- globalWrapper {
position: relative; font-size: 100%; width: 100%; margin: 0; padding: 0; }
a:visited { color: grey; text-decoration: none; }
a:hover { text-decoration: none; }
- bodyContent a[href^="https://"], .link-https {
background-image: none; padding-right: 0; }
- bodyContent a[href^="https://"] .facebook:hover, .link-https .facebook:hover {
background-color: rgba(19,84,238,0.5); color: white;
}
h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; border-bottom: none;}
hr { margin: 0; border: 0; border-top: 0px solid #EEE; border-bottom: 0px solid white; background-color: #FFFFFF; }
- bodyContent h1, #bodyContent h2 {
margin-bottom: 0; font-weight: bold; }
- bodyContent h2 {
margin-bottom: 10px; }
- bodyContent h3 {
margin-bottom: 0px; }
.firstHeading, #catlinks { display: none; }
/* Many thanks to DTU-Denmark 2011! */
/* Removes "teams" from the menubar */
- menubar > ul > li:last-child {
display: none;}
/* Resizes the menubar to fik the links (default is 400px) */
- menubar {
width: auto;}
- top-section {
width: 965px; height: 0; margin: 0 auto; padding: 0; border: none;}
- menubar {
font-size: 65%; top: -14px;}
.left-menu:hover {
background-color: transparent;}
- menubar li a {
background-color: transparent;}
- menubar:hover {
color: white;}
- menubar li a {
color: transparent;}
- menubar:hover li a {
color: white;}
- footer-box{
display: none; }
.originaltopbar { position: absolute; top: -20px; text-align: center; font-size: 11px; z-index: 100; display: none; }
.originaltopbar ul li { list-style: none; display: inline; margin-right: 8px; }
hr.soften {
height: 1px; margin: 54px 0; background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0)); background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0)); background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0)); background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0)); border: 0;
}