Team:TU Delft/Header
From 2010.igem.org
(Difference between revisions)
(css add menuItem:hover) |
|||
Line 37: | Line 37: | ||
display:none; | display:none; | ||
} | } | ||
- | + | #header { | |
- | + | ||
- | # | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
width: 965px; | width: 965px; | ||
- | height: | + | height: 222px; |
- | background-color: #001d1d | + | background-color: #001d1d |
- | + | ||
color: #8bce9e; | color: #8bce9e; | ||
font-family: Verdana, Sans-Serif; | font-family: Verdana, Sans-Serif; | ||
Line 55: | Line 46: | ||
text-align: justify; | text-align: justify; | ||
margin: 0 auto; | margin: 0 auto; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
- | + | #banner { | |
- | + | width: 965px; | |
- | + | height: 222px; | |
- | + | background-image: url("https://static.igem.org/mediawiki/2010/9/96/Banner1.jpg"); | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ||
- | .menuItemLink:visited { | + | #menu { |
- | + | width: 965px; | |
- | + | height: 24px; | |
- | + | text-align: center; | |
- | . | + | margin-top:-32px; |
- | text-decoration:none; | + | padding-left:5px; |
- | + | } | |
- | + | ||
- | .submenuItemLink:visited { | + | .menuItem { |
+ | width: auto; | ||
+ | height: 20px; | ||
+ | padding: 2px 11px; | ||
+ | border-right: 1px solid #032725; | ||
+ | float: left; | ||
+ | background-color: #8bce9e; | ||
+ | color: #032725; | ||
+ | text-align: center; | ||
+ | font-family: Verdana, Sans-Serif; | ||
+ | font-size: 16px; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | .menuItemLink { | ||
+ | color: #032725; | ||
+ | font-family: Verdana, Sans-Serif; | ||
+ | font-size: 16px; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | .menuItemLink:hover { | ||
+ | color: #8bce9e; | ||
+ | } | ||
+ | |||
+ | .menuItemLink:visited { | ||
+ | color: #032725; | ||
+ | } | ||
+ | |||
+ | .submenu { | ||
+ | width: 200px; | ||
+ | height: auto; | ||
+ | position: absolute; | ||
+ | top: 31px; | ||
+ | left: 0px; | ||
+ | margin: -7px 0px 0px -1px; | ||
+ | background-color: #8bce9e; | ||
+ | border: 1px solid #032725; | ||
+ | display: none; | ||
+ | text-align: left; | ||
+ | } | ||
+ | |||
+ | .submenuItem { | ||
+ | width: 196px; | ||
+ | height: 20px; | ||
+ | background-color: #032725; | ||
+ | border: 1px Solid #032725; | ||
+ | font-weight: normal; | ||
+ | margin: 1px 2px 1px 1px; | ||
+ | } | ||
+ | |||
+ | .submenuItem:hover { | ||
+ | background-color: #8bce9e; | ||
+ | color: #032725; | ||
+ | } | ||
+ | |||
+ | .submenuItemLink { | ||
+ | text-align:left; | ||
+ | font-weight: normal; | ||
+ | text-decoration: none; | ||
+ | color: #8bce9e; | ||
+ | margin: 1px 2px 1px 2px; | ||
+ | } | ||
+ | |||
+ | .submenuItemLink:visited { | ||
+ | color: #8bce9e; | ||
+ | } | ||
+ | |||
+ | .submenuItemLink:hover { | ||
+ | color: #032725; | ||
+ | } | ||
+ | |||
+ | #mainContent { | ||
+ | width: 965px; | ||
+ | height: 880px; | ||
color: #8bce9e; | color: #8bce9e; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
font-family: Verdana, Sans-Serif; | font-family: Verdana, Sans-Serif; | ||
font-size: 12px; | font-size: 12px; | ||
text-align: justify; | text-align: justify; | ||
+ | margin: 0 auto; | ||
+ | } | ||
+ | |||
+ | .SmallPic { | ||
+ | height: 120px; | ||
+ | width: 180px; | ||
+ | margin: 5px 6px 2px 5px; | ||
+ | float: left; | ||
+ | border: 1px solid #001d1d; | ||
+ | link: url("https://2010.igem.org/Team:TU_Delft/Gallery"); | ||
} | } | ||
- | + | ||
- | # | + | #small_1 { |
- | + | background-image: url("images/small_1.png"); | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ||
- | + | #small_2 { | |
- | + | background-image: url("images/small_2.png"); | |
- | + | ||
- | + | ||
} | } | ||
- | + | ||
- | # | + | #small_3 { |
- | + | background-image: url("images/small_3.png"); | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ||
- | # | + | #small_4 { |
- | + | background-image: url("images/small_4.png"); | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ||
- | # | + | #small_5 { |
- | + | background-image: url("images/small_5.png"); | |
- | + | ||
- | + | ||
} | } | ||
- | + | ||
- | # | + | #small_6 { |
- | + | background-image: url("images/small_6.png"); | |
- | + | ||
- | + | ||
} | } | ||
- | # | + | #small_7 { |
- | + | background-image: url("images/small_7.png"); | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ||
- | # | + | #HomeCenter { |
- | + | width: 747px; | |
- | + | height: auto; | |
- | + | background-color: #001d1d; | |
- | + | margin: 10px 5px 0px 1px; | |
- | + | float: left; | |
+ | color: white; | ||
+ | font-family: Verdana, Sans-Serif; | ||
+ | font-size: 12px; | ||
+ | text-align: justify; | ||
} | } | ||
- | + | ||
- | # | + | #HomeCenterBox1 { |
- | + | Width: 731px; | |
- | + | height: 170px; | |
- | + | margin: 0px 0px 2px 4px; | |
- | + | padding: 5px; | |
- | + | background-color: #0d3a3f; | |
- | + | border: 1px solid #001d1d; | |
- | + | } | |
- | # | + | |
- | + | #HomeCenterBox2 { | |
- | + | Width: 731px; | |
- | + | height: 170px; | |
- | + | margin: 0px 0px 2px 4px; | |
- | + | padding: 5px; | |
- | + | background-color: #001d1d; | |
- | + | border: 1px solid #0d3a3f; | |
- | + | } | |
- | + | ||
- | + | #CenterbodyText1 { | |
- | + | width: 465px; | |
- | # | + | height: auto; |
- | + | padding-right: 4px; | |
- | + | margin: 0px 5px 0px 4px; | |
- | + | font-family: Verdana, Sans-Serif; | |
- | + | font-size: 12px; | |
- | + | text-align: justify; | |
- | + | float: left; | |
- | + | color: white; | |
- | + | text-decoration: none; | |
- | # | + | } |
- | + | ||
- | + | #CenterbodyText2 { | |
- | + | width: 470px; | |
- | + | height: auto; | |
- | + | margin: 0px 0px 0px 4px; | |
- | + | font-family: Verdana, Sans-Serif; | |
- | + | font-size: 12px; | |
- | + | text-align: justify; | |
- | # | + | float: left; |
- | + | color: white; | |
- | + | text-decoration: none; | |
- | + | } | |
- | + | ||
- | + | #GroupphotoSmall { | |
- | + | width: 245px; | |
- | + | height: 166px; | |
- | + | float: left; | |
- | + | padding-left: 5px; | |
- | + | margin-top: 1px; | |
+ | background-image: url("images/groupphoto_small.jpg"); | ||
+ | border: 1px solid #001d1d; | ||
+ | color: #8bce9e; | ||
+ | } | ||
+ | |||
+ | #ProjectPic { | ||
+ | width: 240px; | ||
+ | height: 150px; | ||
+ | color: white; | ||
+ | font-size: 12px; | ||
+ | font-weight: bold; | ||
+ | float: left; | ||
+ | padding: 5px; | ||
+ | border: 1px solid #0d3a3f; | ||
+ | background-image: url("images/ProjectPic.jpg"); | ||
+ | margin: 4px 0px 4px 4px; | ||
+ | } | ||
+ | |||
+ | #newslogo { | ||
+ | width: 245px; | ||
+ | height: 160px; | ||
+ | float: left; | ||
+ | padding-right: 0px; | ||
+ | margin-top: 1px; | ||
+ | background-image: url("images/news.png"); | ||
+ | border: 1px solid #001d1d; | ||
+ | color: #8bce9e; | ||
+ | } | ||
+ | |||
+ | #iJAM { | ||
+ | width: 230px; | ||
+ | height: 150px; | ||
+ | color: white; | ||
+ | font-size: 12px; | ||
+ | font-weight: bold; | ||
+ | float: left; | ||
+ | padding: 5px; | ||
+ | margin: 4px 0px 4px 4px; | ||
+ | border: 1px solid #0d3a3f; | ||
+ | background-image: url("images/iJAM.png"); | ||
+ | } | ||
+ | |||
+ | #HomeRight { | ||
+ | width: 195px; | ||
+ | height: 723px; | ||
+ | background-color: #2c5983; | ||
+ | margin: 10px 5px 0px 0px; | ||
+ | padding: 5px; | ||
+ | float: left; | ||
+ | color: #e0fea0; | ||
+ | font-family: Verdana, Sans-Serif; | ||
+ | font-size: 12px; | ||
+ | text-align: justify; | ||
} | } | ||
- | # | + | #Countdown { |
- | + | width: 189px; | |
- | + | height: auto; | |
- | + | background-color: #001d1d; | |
- | + | border: 1px solid #8bce9e; | |
- | + | color: white; | |
- | + | text-align: center; | |
- | + | padding: 2px; | |
- | + | } | |
- | + | ||
- | + | #Upcoming { | |
- | + | width: 195px; | |
- | + | height: auto; | |
- | + | color: white; | |
- | + | } | |
- | + | ||
- | + | #Sponsors { | |
- | + | width: 200px; | |
- | + | height: auto; | |
- | + | color: white; | |
- | + | } | |
- | + | ||
- | + | #Sponsor1 { | |
- | + | width: 180px; | |
- | + | height: 131px; | |
- | # | + | background-image: url("images/suitsupply.png");; |
- | + | margin: 0 auto; | |
- | + | } | |
- | + | ||
- | + | #Sponsor2 { | |
- | + | width: 200px; | |
- | + | height: 65px; | |
- | + | background-image: url("images/DSM.png"); | |
- | + | background-color: white; | |
- | + | margin: 0 auto; | |
- | + | } | |
- | # | + | |
- | + | #Sponsor3 { | |
- | + | width: 120px; | |
- | + | height: 80px; | |
- | + | margin: 0 auto; | |
- | + | background-image: url("images/NGI_logo.png"); | |
- | + | background-repeat: no-repeat; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | # | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | # | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | h3 { | |
- | + | margin-top: 3px; | |
- | + | ||
- | + | ||
} | } | ||
- | + | h4 { | |
- | + | margin-bottom: 3px; | |
- | + | ||
} | } | ||
- | |||
<div id="header"> | <div id="header"> | ||
Line 445: | Line 366: | ||
</div> | </div> | ||
- | <div class="menuItem" onmouseover="showMenu(this)" onmouseout="hideMenu(this)"> | + | <div class="menuItem" onmouseover="showMenu(this)" onmouseout="hideMenu(this)"> |
<a class="menuItemLink" href="https://2010.igem.org/Team:TU_Delft/Team">Team</a> | <a class="menuItemLink" href="https://2010.igem.org/Team:TU_Delft/Team">Team</a> | ||
+ | <div class="submenu"> | ||
+ | <div class="submenuItem"> | ||
+ | <a class="submenuItemLink" href="https://2010.igem.org/Team:TU_Delft/Team">Who we are</a> | ||
+ | </div> | ||
+ | <div class="submenuItem"> | ||
+ | <a class="submenuItemLink" href="https://2010.igem.org/Team:TU_Delft/Team/Students">Students</a> | ||
+ | </div> | ||
+ | <div class="submenuItem"> | ||
+ | <a class="submenuItemLink" href="https://2010.igem.org/Team:TU_Delft/Team/TUDelft">Where we're from</a> | ||
+ | </div> | ||
+ | <div class="submenuItem"> | ||
+ | <a class="submenuItemLink" href="https://2010.igem.org/Team:TU_Delft/Team/Advisors">Advisors/Supporters</a> | ||
+ | </div> | ||
+ | <div class="submenuItem"> | ||
+ | <a class="submenuItemLink" href="https://igem.org/Team.cgi?year=2010">Official team profile</a> | ||
+ | </div> | ||
+ | </div> | ||
</div> | </div> | ||
<div class="menuItem" onmouseover="showMenu(this)" onmouseout="hideMenu(this)"> | <div class="menuItem" onmouseover="showMenu(this)" onmouseout="hideMenu(this)"> | ||
<a class="menuItemLink" href="https://2010.igem.org/Team:TU_Delft/Project">Project</a> | <a class="menuItemLink" href="https://2010.igem.org/Team:TU_Delft/Project">Project</a> | ||
+ | <div class="submenu"> | ||
+ | <div class="submenuItem"> | ||
+ | <a class="submenuItemLink" href="https://2010.igem.org/Team:TU_Delft/Project">In short</a> | ||
+ | </div> | ||
+ | <div class="submenuItem"> | ||
+ | <a class="submenuItemLink" href="https://2010.igem.org/Team:TU_Delft/Project/Part1">Part 1</a> | ||
+ | </div> | ||
+ | <div class="submenuItem"> | ||
+ | <a class="submenuItemLink" href="https://2010.igem.org/Team:TU_Delft/Project/Part2">Part 2</a> | ||
+ | </div> | ||
+ | <div class="submenuItem"> | ||
+ | <a class="submenuItemLink" href="https://2010.igem.org/Team:TU_Delft/Project/Part3">Part 3</a> | ||
+ | </div> | ||
+ | <div class="submenuItem"> | ||
+ | <a class="submenuItemLink" href="https://2010.igem.org/Team:TU_Delft/Project/Part4">Part 4</a> | ||
+ | </div> | ||
+ | </div> | ||
</div> | </div> | ||
Line 520: | Line 475: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | <!-- End of header --> | ||
</div> | </div> | ||
- | |||
- | |||
- | |||
- | |||
- |
Revision as of 16:08, 18 May 2010