Template:Freiburg2013 Template

From 2013.igem.org

(Difference between revisions)
m
m
Line 2: Line 2:
<head>
<head>
-
<style type="text/css">
+
<style type="text/css"> /* damit alles, was bisher angezeigt wird verschwindet */
   .firstHeading {                                                    /* Gets rid of the default iGEM picture*/
   .firstHeading {                                                    /* Gets rid of the default iGEM picture*/
     height:2px;
     height:2px;
Line 17: Line 17:
     border-right-width:0px;
     border-right-width:0px;
     padding: 0px 5px 0px 5px;
     padding: 0px 5px 0px 5px;
-
                                                 
+
                                                    /* Content width*/
}
}
#footer-box {
#footer-box {
-
+
color:black;
background:none;
background:none;
border:none;
border:none;
Line 29: Line 29:
display: table-cell;
display: table-cell;
background: transparent;
background: transparent;
-
margin-top:90px;
+
         margin-left: 230px;
-
         margin-left: 200px;
+
         margin-right: 230px;
         margin-right: 230px;
}
}
Line 50: Line 49:
#top-section  
#top-section  
{
{
-
heigth:0px;
+
heigth:10px;
width: 100%;
width: 100%;
margin:0px;
margin:0px;
Line 65: Line 64:
display:none;
display:none;
}
}
-
#search-controls {                                                 
+
#search-controls {                                                /* gets rid of the search bar (it was ugly) */
display:none;
display:none;
margin-top:0px;
margin-top:0px;
Line 76: Line 75:
body {
body {
width:100%;
width:100%;
-
     background:  #FFFFFF ;                         
+
     background:  #FFFFFF ;                        /* Background (on side color)*/
padding: 0;
padding: 0;
-
   margin-top:-80px;
+
   margin:0;
}   
}   
#navbar img {  
#navbar img {  
Line 88: Line 87:
#bild span {visibility:visible;}
#bild span {visibility:visible;}
 +
#navbar li:hover img{
 +
visibility:visible;
 +
    }
#menu {  
#menu {  
Line 131: Line 133:
     #menu a:hover {
     #menu a:hover {
     background: #C0C0C0;
     background: #C0C0C0;
-
 
     }
     }
Line 139: Line 140:
     }  
     }  
-
  #navbar ul {  
+
    #menu ul ul {  
     position: absolute;  
     position: absolute;  
     z-index: 500;  
     z-index: 500;  
     }
     }
-
     #navbar ul ul { position: absolute; top: 10px; left: 50%; }  
+
     #menu ul ul ul { position: absolute; top: 10px; left: 50%; }  
-
     #navbar ul,
+
     div#menu ul ul,
-
     #navbar li:hover ul ul,
+
     div#menu ul li:hover ul ul,
-
     #navbar ul li:hover ul ul
+
     div#menu ul ul li:hover ul ul
       {display: none;
       {display: none;
        
        
       }  
       }  
-
     #navbar  li:hover ul,
+
     div#menu ul li:hover ul,
-
     #navbar ul li:hover ul,
+
     div#menu ul ul li:hover ul,
-
     #navbar ul ul li:hover ul,
+
     div#menu ul ul ul li:hover ul
-
#navbar li:hover img
+
       {display: block;}
-
       {display: block;
+
 
-
visibility:visible;
+
-
margin: 0;
+
-
  padding: 0; }
+
Line 178: Line 176:
#header {padding-top:0px;}
#header {padding-top:0px;}
 +
Line 183: Line 182:
-
#Fusszeile {
+
 
-
    clear: both;
+
-
    font-size: 0.9em;
+
-
    margin: 0; padding: 0.1em;
+
-
    text-align: center;
+
-
   
+
-
  }
+
    
    
#right {float:right;
#right {float:right;
Line 197: Line 190:
width:70%;}
width:70%;}
    
    
 +
 +
 +
</style>
</style>
-
<script>
+
 
-
sfHover = function()
+
-
{
+
-
  var sfEls = document.getElementById("navbar").getElementsByTagName("li");
+
-
  for (var i=0; i<sfEls.length; i++)
+
-
      {
+
-
          sfEls[i].onmouseover=function()
+
-
          {
+
-
              this.className+=" hover";
+
-
          }
+
-
          sfEls[i].onmouseout=function()
+
-
          {
+
-
              this.className=this.className.replace(new RegExp(" hover\\b"), "");
+
-
          }
+
-
      }
+
-
}
+
-
if (window.attachEvent) window.attachEvent("onload", sfHover);
+
-
</script>
+
Line 225: Line 204:
<div id="logo"><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%";/></div>
<div id="logo"><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%";/></div>
-
     <div id="offwiki"><a href="https://2013.igem.org/Main_Page"></a><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%"/></div>
+
     <div id="offwiki"><a href="https://2013.igem.org/Main_Page"><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%"/></a></div>
    
    
     </div>
     </div>
Line 233: Line 212:
         <li><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%";/><a href="https://2013.igem.org/Team:Freiburg">Home</a>
         <li><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%";/><a href="https://2013.igem.org/Team:Freiburg">Home</a>
         </li>
         </li>
-
         <li><a href="https://2013.igem.org/Team:Freiburg/Team">Team</a><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%";/>
+
         <li><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="100%";/><a href="https://2013.igem.org/Team:Freiburg/Team">Team</a>
         <ul>
         <ul>
               <li><a href="https://2013.igem.org/Team:Freiburg/Team2">Members</a></li>
               <li><a href="https://2013.igem.org/Team:Freiburg/Team2">Members</a></li>
Line 298: Line 277:
       </ul>   
       </ul>   
     </div>
     </div>
-
 
 
-
 
-
<div id="Text">
 
-
 
-
 
-
 
-
 
-
</div>   
 
-
 
-
 
-
 
</body>
</body>

Revision as of 19:20, 27 June 2013