Template:Style
From 2013.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
- | + | <html> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
<style type="text/css"> | <style type="text/css"> | ||
Line 36: | Line 21: | ||
- | |||
+ | h1 { | ||
+ | color: #0089d1; | ||
+ | } | ||
+ | |||
+ | p { | ||
+ | color: #22409a; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | section { | ||
+ | min-height: 1300px; | ||
+ | padding: 20px; | ||
+ | } | ||
+ | |||
+ | header { | ||
+ | display: inline-block; | ||
+ | position: relative; | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
*{ | *{ | ||
margin: 0px; | margin: 0px; | ||
padding: 0px; | padding: 0px; | ||
+ | padding-top: 0px; | ||
border: none; | border: none; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
+ | |||
body{ | body{ | ||
Line 72: | Line 74: | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
#logo_img{ | #logo_img{ | ||
Line 100: | Line 97: | ||
#navbar { | #navbar { | ||
- | background-image: url(../ | + | background-image: url(https://static.igem.org/mediawiki/2013/e/e5/Menubar.png); |
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: center right; | background-position: center right; | ||
Line 106: | Line 103: | ||
height: 55px; | height: 55px; | ||
} | } | ||
- | + | ||
- | + | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
footer | footer | ||
{ | { | ||
Line 123: | Line 113: | ||
.home-knapp | .home-knapp | ||
{ | { | ||
- | position: relative;left:15px;top:- | + | position: relative;left:15px;top:-70px; |
width: 15%; | width: 15%; | ||
float: left; | float: left; | ||
Line 138: | Line 128: | ||
#list_type1{width: 110px;}#list_type2{width: 80px;}#list_type3{width: 120px;}#list_type4{width: 150px;} | #list_type1{width: 110px;}#list_type2{width: 80px;}#list_type3{width: 120px;}#list_type4{width: 150px;} | ||
- | |||
- | |||
- | |||
- | |||
nav ul li:hover > ul { | nav ul li:hover > ul { | ||
Line 159: | Line 145: | ||
nav ul li | nav ul li | ||
{ | { | ||
- | padding-top: | + | padding-top: 0.6%; |
float: left; | float: left; | ||
- | height: | + | height: 50px; |
} | } | ||
Line 168: | Line 154: | ||
text-align: center; | text-align: center; | ||
display: block; | display: block; | ||
- | text-decoration: none; | + | text-decoration: none; |
} | } | ||
.nav-text2{ | .nav-text2{ | ||
Line 196: | Line 182: | ||
border-radius: 0px; | border-radius: 0px; | ||
padding: 0px; | padding: 0px; | ||
- | position: | + | position: relative; |
- | top: | + | top: -5px |
+ | left: -10px; | ||
+ | display: none; | ||
+ | z-index: 1; | ||
} | } | ||
nav ul ul li { | nav ul ul li { |
Revision as of 13:17, 16 August 2013