Template:Team:Uppsala/styles
From 2013.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
<style type="text/css"> | <style type="text/css"> | ||
+ | |||
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo { | #contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo { | ||
- | display:none;} | + | display: none; |
+ | } | ||
#top-section { | #top-section { | ||
border: none; | border: none; | ||
- | height: 0px;} | + | height: 0px; |
+ | } | ||
+ | |||
#content { | #content { | ||
border: none; | border: none; | ||
- | width:99.5%; | + | width: 99.5%; |
- | height:99.5%; | + | height: 99.5%; |
- | background-image:url("https://static.igem.org/mediawiki/2013/2/26/Background.png"); | + | background-image: url("https://static.igem.org/mediawiki/2013/2/26/Background.png"); |
- | position:fixed; | + | position: fixed; |
- | overflow:auto; | + | overflow: auto; |
- | repeat-x; | + | repeat-x; |
} | } | ||
Line 23: | Line 27: | ||
*/ | */ | ||
- | + | *{ | |
- | + | margin: 0px; | |
- | + | padding: 0px; | |
- | + | } | |
- | + | body{ | |
- | + | width: 100%; | |
- | + | height: 100%; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | section, footer, nav{ | |
- | + | display: block; | |
- | + | } | |
- | + | #main_frame { | |
- | + | min-height: 1600px; | |
- | + | width: 950px; | |
- | + | margin: 20px auto; | |
- | + | border: 1px solid ligth gray; | |
- | + | border-radius: 15px; | |
- | + | box-shadow: 0px 0px 30px rgba(110,110,110, .8); | |
- | + | background: white; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | header { | |
- | + | display: inline-block; | |
- | + | position: relative; | |
- | + | width: 100%; | |
- | + | } | |
- | + | #logo_img{ | |
- | + | position: relative; | |
- | + | padding: 10px; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | #header img.logo{ | |
- | + | float: right; | |
- | + | width: 150px; | |
- | + | } | |
- | + | #igem_logo{ | |
- | + | position: relative; | |
- | + | padding: 10px; | |
- | + | ||
- | + | ||
} | } | ||
- | + | #header img.igem_logo{ | |
- | + | width: 400px; | |
- | + | float: left; | |
- | + | } | |
- | + | #navbar { | |
- | + | vertical-align: middle; | |
- | + | background-image: url("https://static.igem.org/mediawiki/2013/e/e5/Menubar.png"); | |
- | + | background-repeat: no-repeat; | |
- | + | background-position: bottom right; | |
- | + | background-size: 93% 45%; | |
- | + | } | |
- | + | ||
- | + | #nav ul{ | |
- | + | padding-top: 7.5%; | |
- | + | text-align: center; | |
- | + | } | |
- | + | ||
- | + | #nav li{ | |
+ | display: inline-block; | ||
+ | list-style: none; | ||
+ | padding: 0px; | ||
+ | } | ||
- | + | section{ | |
- | + | min-height: 1300px; | |
- | + | padding: 20px; | |
- | + | } | |
- | + | ||
- | + | footer{ | |
- | + | padding: 20px; | |
- | + | height: 100px; | |
- | + | } | |
- | + | .home-knapp { | |
- | + | position: relative;left:15px;top:-25px; | |
- | + | width: 15%; | |
- | + | float: left; | |
- | + | } | |
- | + | .nav-text { | |
- | + | padding-right: 8px; | |
- | + | background: #22409a; | |
- | + | } | |
- | + | .nav-text:hover { | |
- | + | background: #0089d1; | |
- | + | } | |
</style> | </style> | ||
</html> | </html> |
Revision as of 19:05, 25 July 2013