Template:ETHZ Basel10 css

From 2010.igem.org

(Difference between revisions)
 
(217 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
</p>
+
<head>
-
<img src="https://2010.igem.org/wiki/skins/common/images/wiki.png" width=975 height=250 border="0"/>
+
<script type="text/javascript">
-
<style type="text/css">
+
-
body
+
var _gaq = _gaq || [];
-
{
+
_gaq.push(['_setAccount', 'UA-19289516-1']);
-
}
+
_gaq.push(['_trackPageview']);
 +
 +
(function() {
 +
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
 +
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
 +
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
 +
})();
 +
 
 +
function getURL(subhrefString)
 +
{
 +
var arr_sub = subhrefString.split('#');
 +
var hrefString = arr_sub[0];
 +
var arr = hrefString[0].split('/');
 +
return  (arr.length<2) ? hrefString : arr[arr.length-2].toLowerCase() + arr[arr.length-1].toLowerCase();             
 +
}
 +
 +
function setCurrentLink(arr, crtPage)
 +
{
 +
for (var i=0; i<arr.length; i++)
 +
{
 +
if(getURL(arr[i].href) == crtPage)
 +
{
 +
if (arr[i].parentNode.tagName != "DIV")
 +
{
 +
arr[i].className = "current";
 +
arr[i].parentNode.className = "current";
 +
}
 +
}
 +
}
 +
}
 +
 +
function setPage()
 +
{
 +
hrefString = document.location.href ? document.location.href : document.location;
 +
 +
if (document.getElementById("subnavigation")!=null)
 +
setCurrentLink(document.getElementById("subnavigation").getElementsByTagName("a"), getURL(hrefString));
 +
}
-
.firstHeading
+
</script>
-
{
+
<style type="text/css">
-
display: none;
+
/*
-
}
+
Start Format iGEM base
 +
*/
 +
body {
 +
/* format main-background C0C5CA*/
 +
background-color: #7297BA;
 +
}
 +
#bodyContent a{
 +
/* format link color*/
 +
}
 +
#content {
 +
/* format global document body */
 +
font-family:"Verdana",Arial,sans-serif;
 +
background-color: #FFFFFF;
 +
}
-
#content
+
.firstHeading {
-
{
+
/* removes pagename */
-
background-color: #D8D5D0;
+
display: none;
-
border: 1px solid black;
+
}
-
margin-bottom: 10px;
+
#top-section {
-
padding: 0;
+
/* formats iGEM header div */
-
padding-bottom: 20px;
+
border: 0px;
-
width: 975px;
+
height: 0px;
-
}
+
}
-
#contentSub
+
#p-logo {
-
{
+
/* removes iGEM logo */
-
margin: 0;
+
display: none;
-
}
+
}
-
#menubar
+
#menubar {
-
{
+
/* format top menubar */
-
top: 0px;
+
top: 0px;
-
float: left;
+
float: left;
-
border: none;
+
border: none;
-
font-size:85%;
+
font-family:"Trebuchet MS","Verdana",Arial,sans-serif;
-
height: 18px;
+
font-size:85%;
-
}
+
height: 22px;
-
#menubar li a
+
}
-
{
+
#menubar li a {
-
color: #868686;
+
color: #7297BA;
-
}
+
}
 +
#menubar li a:hover {
 +
text-decoration: underline;
 +
}
 +
#menubar.right-menu {
 +
/* format right part of top menubar and add iGEM mini logo */
 +
text-align: right;
 +
right: auto;
 +
background-color: #336699;
 +
width: 975px;
 +
z-index: 7;
 +
}
 +
#menubar.left-menu {
 +
/* format left part of top menubar */
 +
text-align: left;
 +
width: auto;
 +
z-index: 8;
 +
}
 +
 +
#search-controls {
 +
/* format searchbar */
 +
top: 24px;
 +
overflow :visible;
 +
display:block;
 +
background: none;
 +
width: 965px;
 +
border: 0;
 +
margin: 0;
 +
height: auto;
 +
text-align: right;
 +
right: auto;
 +
}
 +
#searchInput {
 +
/* format search input field */
-
#menubar.right-menu
+
font-size:85%;
-
{
+
width: 100px;
-
text-align: right;
+
background-color: #336699;
-
right: auto;
+
color: #FFFFFF;
-
background-color: #494D51;
+
border-width: thin;
-
border-bottom: black 1px solid;
+
padding-right: 2px;
-
width: 977px;
+
padding-left: 2px;
-
z-index: 7;
+
}
-
}
+
#searchform {
-
#menubar.left-menu
+
margin: 1px;
-
{
+
}
-
text-align: left;
+
input.searchButton {
-
left: auto;
+
/* format search input buttons */
-
width: auto;
+
font-family:"Trebuchet MS",Arial,sans-serif;
-
z-index: 8;
+
font-size: 85%;
-
}
+
margin: 0;
-
#p-logo
+
color: #FFFFFF;
-
{
+
font-weight: normal;
-
display: none;
+
cursor: hand;
-
}
+
cursor:pointer;
 +
padding-right: 2px;
 +
padding-left: 2px;
 +
}
 +
input.searchButton:hover {
 +
color: #FFFFFF;
 +
text-decoration: underline;
 +
}
-
#search-controls
+
#footer-box {
-
{
+
/* format footer to match top menubar */
-
top: 24px;
+
font-family:"Trebuchet MS",Arial,sans-serif;
-
overflow :visible;
+
font-size: 12px;
-
display:block;
+
color:#FFFFFF;
-
background: none;
+
background:#336699;
-
width: 975px;
+
border-top: #000000 1px solid;
-
border: 0;
+
border-bottom: #000000 1px solid;
-
margin: 0;
+
}
-
height: auto;
+
#footer-box li a {
-
text-align: right;
+
color:#7297BA;
-
right: auto;
+
}
-
}
+
#footer-box li a:hover {
-
#searchInput
+
color:#FFFFFF;
-
{
+
}
-
font-size:85%;
+
-
width: 100px;
+
-
color: #555555;
+
-
border: 0;
+
-
padding-right: 2px;
+
-
padding-left: 2px;
+
-
}
+
-
#searchform
+
-
{
+
-
margin: 1px;
+
-
}
+
-
input.searchButton
+
-
{
+
-
font-size:80%;
+
-
margin: 0;
+
-
color: #FFFFFF;
+
-
font-weight: normal;
+
-
cursor: hand;
+
-
cursor:pointer;
+
-
padding-right: 2px;
+
-
padding-left: 2px;
+
-
}
+
 +
/*
 +
End Format iGEM base
 +
*/
-
.editsection
+
/*
-
{
+
Start Format ETHZ_Basel
-
color: #555555;
+
*/
-
font-family:"Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
+
-
font-size: 12.5px;
+
-
font-weight: normal;
+
-
text-decoration: none;
+
-
}
+
-
.editsection a
+
-
{
+
-
color: #555555;
+
-
}
+
-
.editsection a:hover
+
-
{
+
-
color: #000000;
+
-
}
+
-
.editsection a:visited
+
-
{
+
-
color: #555555;
+
-
}
+
-
.editsection a:active
+
-
{
+
-
color: #555555;
+
-
}
+
 +
#header{
 +
/* position logo */
 +
width: 975px;
 +
position: relative;
 +
left: -5px;
 +
background-color: #336699;
 +
}
-
div.thumb, div.tright, div.tleft, div.center
+
#navigation{
-
{
+
/* main div for navigation */
-
background: none;
+
width: 945px;
-
border: 0;
+
position: relative;
-
margin: 3px;
+
left: -5px;
-
}
+
padding: 5px 15px 0 15px;
-
 
+
background:#336699;
-
 
+
border-bottom: #000000 1px solid;
-
a[name]
+
}
-
{
+
ul#simple-menu{
-
position: relative;
+
list-style-type:none;
-
top: -300px;
+
width:100%;
-
display:block;
+
position:relative;
-
}
+
height:28px;
-
 
+
font-family:"Trebuchet MS",Arial,sans-serif;
-
 
+
font-size:13px;
-
.toclevel-1
+
font-weight:bold;
-
{
+
margin:0;
-
float: left;
+
padding:11px 0 0 0;
-
list-style-type: none;
+
}
-
margin-left: 0px;
+
ul#simple-menu li{
-
margin-right: 20px;
+
display:block;
-
}
+
float:left;
-
#toctitle
+
margin:0 0 0 4px;
-
{
+
height:27px;
-
display: none;
+
}
-
}
+
ul#simple-menu li.left{
-
#toc
+
margin:0;
-
{
+
}
-
border: 0;
+
ul#simple-menu li a{
-
padding: 0;
+
display:block;
-
background: transparent;
+
float:left;
-
}
+
color:#fff;
-
#toc ul
+
background:#073515;
-
{
+
line-height:27px;
-
margin: 0;
+
text-decoration:none;
-
}
+
padding:0 17px 0 18px;
-
#toctable p
+
height:27px;
-
{
+
border: #000000 1px solid;
-
margin: 0;
+
border-bottom: #000000 1px solid;
-
}
+
}
-
.toclevel-1 a span
+
ul#simple-menu li a.current, ul#simple-menu li a.current:hover{
-
{
+
color: #FFFFFF;
-
color: #000000;
+
background:#073515;
-
text-decoration: none;
+
border-bottom: #073515 1px solid;
-
}
+
}
-
.toclevel-1 a:active span
+
ul#simple-menu li a.introduction{
-
{
+
background:#6BD37A;
-
color: #000000;
+
}
-
text-decoration: none;
+
ul#simple-menu li a.introduction_current, ul#simple-menu li a.introduction_current:hover{
-
}
+
color: #FFFFFF;
-
.toclevel-1 a:hover span
+
background:#6BD37A;
-
{
+
border-bottom: #6BD37A 1px solid;
-
color: #000000;
+
}
-
text-decoration: underline;
+
ul#simple-menu li a.biology{
-
}
+
background:#41BD54;
-
.toclevel-2
+
}
-
{
+
ul#simple-menu li a.biology_current, ul#simple-menu li a.biology_current:hover{
-
display: none;
+
color: #FFFFFF;
-
}
+
background:#41BD54;
-
.toclevel-3
+
border-bottom: #41BD54 1px solid;
-
{
+
}
-
display: none;
+
ul#simple-menu li a.modeling{
-
}
+
background:#26913B;
-
.tocnumber
+
}
-
{
+
ul#simple-menu li a.modeling_current, ul#simple-menu li a.modeling_current:hover{
-
display: none;
+
color: #FFFFFF;
-
}
+
background:#26913B;
-
 
+
border-bottom: #26913B 1px solid;
 +
}
 +
ul#simple-menu li a.information{
 +
background:#306B3C;
 +
}
 +
ul#simple-menu li a.information_current, ul#simple-menu li a.information_current:hover{
 +
color: #FFFFFF;
 +
background:#306B3C;
 +
border-bottom: #306B3C 1px solid;
 +
}
 +
ul#simple-menu li a.achievements{
 +
background:#0E491F;
 +
}
 +
ul#simple-menu li a.achievements_current, ul#simple-menu li a.achievements_current:hover{
 +
color: #FFFFFF;
 +
background:#0E491F;
 +
border-bottom: #0E491F 1px solid;
 +
}
 +
ul#simple-menu li a.team{
 +
background:#073515;
 +
}
 +
ul#simple-menu li a.team_current, ul#simple-menu li a.team_current:hover{
 +
color: #FFFFFF;
 +
background:#073515;
 +
border-bottom: #073515 1px solid;
 +
}
 +
ul#simple-menu li a.right{
 +
padding-right:19px;
 +
}
 +
ul#simple-menu li a:hover{
 +
color: #000000;
 +
text-decoration: underline;
 +
background:#B6F3BF;
 +
}
 +
 +
#subnavigation{
 +
/* main div for subnavigation */
 +
width: 945px;
 +
position: relative;
 +
left: -5px;
 +
padding: 0px 15px 0 15px;
 +
background:#073515;
 +
border-bottom: #000000 1px solid;
 +
}
 +
#subnavigation.introduction{
 +
background:#6BD37A;
 +
}
 +
#subnavigation.biology{
 +
background:#41BD54;
 +
}
 +
#subnavigation.modeling{
 +
background:#26913B;
 +
}
 +
#subnavigation.information{
 +
background:#306B3C;
 +
}
 +
#subnavigation.achievements{
 +
background:#0E491F;
 +
}
 +
#subnavigation.team{
 +
background:#073515;
 +
}
 +
ul#sub-menu{
 +
list-style-type:none;
 +
width:100%;
 +
position:relative;
 +
height:28px;
 +
font-family:"Trebuchet MS",Arial,sans-serif;
 +
font-size:13px;
 +
font-weight:bold;
 +
margin:0;
 +
padding:11px 0 0 0;
 +
}
 +
ul#sub-menu li{
 +
display:block;
 +
float:left;
 +
margin:0 0 0 4px;
 +
height:27px;
 +
}
 +
ul#sub-menu li.left{
 +
margin:0;
 +
}
 +
ul#sub-menu li a{
 +
display:block;
 +
float:left;
 +
color:#fff;
 +
line-height:27px;
 +
text-decoration:none;
 +
padding:0 17px 0 18px;
 +
height:27px;
 +
border: #fff 1px solid;
 +
border-bottom: none;
 +
}
 +
ul#sub-menu li a.right{
 +
padding-right:19px;
 +
}
 +
ul#sub-menu li a:hover{
 +
color:#000000;
 +
text-decoration: underline;
 +
background:#FFFFFF;
 +
border: #000000 1px solid;
 +
border-bottom: none;
 +
}
 +
ul#sub-menu li a.current{
 +
color:#000000;
 +
background:#FFFFFF;
 +
border: #000000 1px solid;
 +
border-bottom: #FFFFFF 1px solid;
 +
}
 +
/*
 +
End Format ETHZ_Basel
 +
*/
</style>
</style>
-
 
+
</head>
-
 
+
</html>
</html>

Latest revision as of 12:40, 24 October 2010