Template:ETHZ Basel10 css

From 2010.igem.org

(Difference between revisions)
 
(220 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;
-
}
+
}
-
#footer-box
+
-
{
+
-
background-color: #D8D5D0;
+
-
}
+
-
p
+
-
{
+
-
text-align: justify;
+
-
}
+
-
table
+
-
{
+
-
background: none;
+
-
}
+
-
h2, h3, h4, h5, h6
+
#menubar {
-
{
+
/* format top menubar */
-
border: 0;
+
top: 0px;
-
font-weight: bold;
+
float: left;
-
}
+
border: none;
-
h1, h2, h3, h4, h5, h6
+
font-family:"Trebuchet MS","Verdana",Arial,sans-serif;
-
{
+
font-size:85%;
-
font-family: Tahoma;
+
height: 22px;
-
padding-bottom: 0px;
+
}
-
}
+
#menubar li a {
-
h1
+
color: #7297BA;
-
{
+
}
-
font-size: 140%
+
#menubar li a:hover {
-
}
+
text-decoration: underline;
-
h2
+
}
-
{
+
#menubar.right-menu {
-
font-size: 110%
+
/* format right part of top menubar and add iGEM mini logo */
-
}
+
text-align: right;
-
h3
+
right: auto;
-
{
+
background-color: #336699;
-
font-size: 100%
+
width: 975px;
-
}
+
z-index: 7;
-
h4, h5, h6
+
}
-
{
+
#menubar.left-menu {
-
font-size: 100%
+
/* format left part of top menubar */
-
font-weight: normal;
+
text-align: left;
-
font-style: italic;
+
width: auto;
-
}
+
z-index: 8;
-
#top-section
+
}
-
{
+
-
border: 0px;
+
#search-controls {
-
height: 18px;
+
/* 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
+
font-size:85%;
-
{
+
width: 100px;
-
position: fixed;
+
background-color: #336699;
-
top: 0px;
+
color: #FFFFFF;
-
float: left;
+
border-width: thin;
-
border: none;
+
padding-right: 2px;
-
font-size:85%;
+
padding-left: 2px;
-
height: 18px;
+
}
-
}
+
#searchform {
-
#menubar li a
+
margin: 1px;
-
{
+
}
-
color: #868686;
+
input.searchButton {
-
}
+
/* format search input buttons */
 +
font-family:"Trebuchet MS",Arial,sans-serif;
 +
font-size: 85%;
 +
margin: 0;
 +
color: #FFFFFF;
 +
font-weight: normal;
 +
cursor: hand;
 +
cursor:pointer;
 +
padding-right: 2px;
 +
padding-left: 2px;
 +
}
 +
input.searchButton:hover {
 +
color: #FFFFFF;
 +
text-decoration: underline;
 +
}
-
#menubar.right-menu
+
#footer-box {
-
{
+
/* format footer to match top menubar */
-
text-align: right;
+
font-family:"Trebuchet MS",Arial,sans-serif;
-
right: auto;
+
font-size: 12px;
-
background-color: #494D51;
+
color:#FFFFFF;
-
border-bottom: black 1px solid;
+
background:#336699;
-
width: 977px;
+
border-top: #000000 1px solid;
-
z-index: 7;
+
border-bottom: #000000 1px solid;
-
}
+
}
-
#menubar.left-menu
+
#footer-box li a {
-
{
+
color:#7297BA;
-
text-align: left;
+
}
-
left: auto;
+
#footer-box li a:hover {
-
width: auto;
+
color:#FFFFFF;
-
z-index: 8;
+
}
-
}
+
-
#p-logo
+
-
{
+
-
display: none;
+
-
}
+
-
#search-controls
+
/*
-
{
+
End Format iGEM base
-
position: fixed;
+
*/
-
top: 24px;
+
-
overflow :visible;
+
-
display:block;
+
-
background: none;
+
-
width: 975px;
+
-
border: 0;
+
-
margin: 0;
+
-
height: auto;
+
-
text-align: right;
+
-
right: auto;
+
-
}
+
-
#searchInput
+
-
{
+
-
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;
+
-
}
+
 +
/*
 +
Start Format ETHZ_Basel
 +
*/
-
.editsection
+
#header{
-
{
+
/* position logo */
-
color: #555555;
+
width: 975px;
-
font-family:"Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
+
position: relative;
-
font-size: 12.5px;
+
left: -5px;
-
font-weight: normal;
+
background-color: #336699;
-
text-decoration: none;
+
}
-
}
+
-
.editsection a
+
-
{
+
-
color: #555555;
+
-
}
+
-
.editsection a:hover
+
-
{
+
-
color: #000000;
+
-
}
+
-
.editsection a:visited
+
-
{
+
-
color: #555555;
+
-
}
+
-
.editsection a:active
+
-
{
+
-
color: #555555;
+
-
}
+
-
 
+
-
 
+
-
div.thumb, div.tright, div.tleft, div.center
+
-
{
+
-
background: none;
+
-
border: 0;
+
-
margin: 3px;
+
-
}
+
-
 
+
-
 
+
-
a[name]
+
-
{
+
-
position: relative;
+
-
top: -300px;
+
-
display:block;
+
-
}
+
-
 
+
-
 
+
-
.toclevel-1
+
-
{
+
-
float: left;
+
-
list-style-type: none;
+
-
margin-left: 0px;
+
-
margin-right: 20px;
+
-
}
+
-
#toctitle
+
-
{
+
-
display: none;
+
-
}
+
-
#toc
+
-
{
+
-
border: 0;
+
-
padding: 0;
+
-
background: transparent;
+
-
}
+
-
#toc ul
+
-
{
+
-
margin: 0;
+
-
}
+
-
#toctable p
+
-
{
+
-
margin: 0;
+
-
}
+
-
.toclevel-1 a span
+
-
{
+
-
color: #000000;
+
-
text-decoration: none;
+
-
}
+
-
.toclevel-1 a:active span
+
-
{
+
-
color: #000000;
+
-
text-decoration: none;
+
-
}
+
-
.toclevel-1 a:hover span
+
-
{
+
-
color: #000000;
+
-
text-decoration: underline;
+
-
}
+
-
.toclevel-2
+
-
{
+
-
display: none;
+
-
}
+
-
.toclevel-3
+
-
{
+
-
display: none;
+
-
}
+
-
.tocnumber
+
-
{
+
-
display: none;
+
-
}
+
 +
#navigation{
 +
/* main div for navigation */
 +
width: 945px;
 +
position: relative;
 +
left: -5px;
 +
padding: 5px 15px 0 15px;
 +
background:#336699;
 +
border-bottom: #000000 1px solid;
 +
}
 +
ul#simple-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#simple-menu li{
 +
display:block;
 +
float:left;
 +
margin:0 0 0 4px;
 +
height:27px;
 +
}
 +
ul#simple-menu li.left{
 +
margin:0;
 +
}
 +
ul#simple-menu li a{
 +
display:block;
 +
float:left;
 +
color:#fff;
 +
background:#073515;
 +
line-height:27px;
 +
text-decoration:none;
 +
padding:0 17px 0 18px;
 +
height:27px;
 +
border: #000000 1px solid;
 +
border-bottom: #000000 1px solid;
 +
}
 +
ul#simple-menu li a.current, ul#simple-menu li a.current:hover{
 +
color: #FFFFFF;
 +
background:#073515;
 +
border-bottom: #073515 1px solid;
 +
}
 +
ul#simple-menu li a.introduction{
 +
background:#6BD37A;
 +
}
 +
ul#simple-menu li a.introduction_current, ul#simple-menu li a.introduction_current:hover{
 +
color: #FFFFFF;
 +
background:#6BD37A;
 +
border-bottom: #6BD37A 1px solid;
 +
}
 +
ul#simple-menu li a.biology{
 +
background:#41BD54;
 +
}
 +
ul#simple-menu li a.biology_current, ul#simple-menu li a.biology_current:hover{
 +
color: #FFFFFF;
 +
background:#41BD54;
 +
border-bottom: #41BD54 1px solid;
 +
}
 +
ul#simple-menu li a.modeling{
 +
background:#26913B;
 +
}
 +
ul#simple-menu li a.modeling_current, ul#simple-menu li a.modeling_current:hover{
 +
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