Team:UCLondon/Templates/Header
From 2012e.igem.org
(Difference between revisions)
(20 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | {{:Team:UCLondon/Templates/ | + | {{:Team:UCLondon/Templates/Navigationv4}} |
<html> | <html> | ||
Line 27: | Line 27: | ||
background-color: rgb(242, 242, 242); | background-color: rgb(242, 242, 242); | ||
background-image: url(http://db.tt/A6rAg7D9); | background-image: url(http://db.tt/A6rAg7D9); | ||
- | background-image: url(http://db.tt/A6rAg7D9), -webkit-gradient(linear, 0% 0%, 0% 100%, from( rgb(242, 242, 242) ), to( rgb( | + | background-image: url(http://db.tt/A6rAg7D9), -webkit-gradient(linear, 0% 0%, 0% 100%, from( rgb(242, 242, 242) ), to( rgb(242, 242, 242) ) ); |
- | background-image: url(http://db.tt/A6rAg7D9), -webkit-linear-gradient(top, rgb(242, 242, 242), rgb( | + | background-image: url(http://db.tt/A6rAg7D9), -webkit-linear-gradient(top, rgb(242, 242, 242), rgb(242, 242, 242)),; |
- | background-image: url(http://db.tt/A6rAg7D9), -moz-linear-gradient(top, rgb(242, 242, 242), rgb( | + | background-image: url(http://db.tt/A6rAg7D9), -moz-linear-gradient(top, rgb(242, 242, 242), rgb(242, 242, 242) ); |
- | background-image: url(http://db.tt/A6rAg7D9), -ms-linear-gradient(top, rgb(242, 242, 242), rgb( | + | background-image: url(http://db.tt/A6rAg7D9), -ms-linear-gradient(top, rgb(242, 242, 242), rgb(242, 242, 242) ); |
- | background-image: url(http://db.tt/A6rAg7D9), -o-linear-gradient(top, rgb(242, 242, 242), rgb( | + | background-image: url(http://db.tt/A6rAg7D9), -o-linear-gradient(top, rgb(242, 242, 242), rgb(242, 242, 242) ); |
- | background-image: url(http://db.tt/A6rAg7D9), linear-gradient(top, rgb(242, 242, 242), rgb( | + | background-image: url(http://db.tt/A6rAg7D9), linear-gradient(top, rgb(242, 242, 242), rgb(242, 242, 242) ); |
Line 80: | Line 80: | ||
} | } | ||
- | .MBWikiStyle * { border: none !important; } | + | .MBWikiStyle *:not(table), .MBWikiStyle #toc { border: none !important; } |
.MBWikiStyle #toc, .MBWikiStyle #toc a:hover { background-color: rgba(0, 0, 0, 0); text-decoration:none; width:98%; margin:auto; } | .MBWikiStyle #toc, .MBWikiStyle #toc a:hover { background-color: rgba(0, 0, 0, 0); text-decoration:none; width:98%; margin:auto; } | ||
.MBWikiStyle .sidebar { width:20% !important; float: left !important; height: 100%; background-color: rgba(0, 0, 0, 0); } | .MBWikiStyle .sidebar { width:20% !important; float: left !important; height: 100%; background-color: rgba(0, 0, 0, 0); } | ||
Line 91: | Line 91: | ||
#toctitle { display: none; } | #toctitle { display: none; } | ||
.MBWikiStyle .MBContent { | .MBWikiStyle .MBContent { | ||
- | float:right; width: | + | float:right; width: 75%; margin:auto; |
border-left-color: rgb(231, 230, 230) !important; border-left-width: 1px !important; border-left-style:solid !important; | border-left-color: rgb(231, 230, 230) !important; border-left-width: 1px !important; border-left-style:solid !important; | ||
padding-left: 20px; padding-right: 20px; | padding-left: 20px; padding-right: 20px; | ||
Line 127: | Line 127: | ||
</style> | </style> | ||
- | + | <script src="https://dl.dropbox.com/u/3703109/igeme/js/mb-additions.js"></script> | |
<script type="text/javascript"> | <script type="text/javascript"> | ||
Line 133: | Line 133: | ||
var nHeight = $('.MBContent').height(); | var nHeight = $('.MBContent').height(); | ||
$('.MBWikiStyle').css('height', nHeight); | $('.MBWikiStyle').css('height', nHeight); | ||
+ | |||
+ | setTimeout(function(){ | ||
+ | var nHeight = $('.MBContent').height(); | ||
+ | $('.MBWikiStyle').css('height', nHeight); | ||
+ | },2000); | ||
Latest revision as of 00:02, 28 October 2012