Team:UCSF UCB/CSS
From 2014.igem.org
(Difference between revisions)
Line 2: | Line 2: | ||
<head> | <head> | ||
<style> /*! normalize.css v1.1.3 | MIT License | git.io/normalize */ | <style> /*! normalize.css v1.1.3 | MIT License | git.io/normalize */ | ||
+ | /*! normalize.css v1.1.3 | MIT License | git.io/normalize */ | ||
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { | article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { | ||
display: block; } | display: block; } | ||
Line 666: | Line 667: | ||
background: white; } | background: white; } | ||
+ | .title { | ||
+ | float: left; } | ||
+ | |||
+ | nav { | ||
+ | float: right; | ||
+ | width: 100%; } | ||
+ | |||
+ | nav a { | ||
+ | float: left; | ||
+ | width: 11.429%; | ||
+ | margin: 0 1% 0 0; | ||
+ | padding: 5px 1%; | ||
+ | margin-bottom: 0; } | ||
+ | |||
+ | nav li:first-child a { | ||
+ | margin-left: 0; } | ||
+ | |||
+ | nav li:last-child a { | ||
+ | margin-right: 0; } | ||
+ | |||
+ | /* ============ | ||
+ | WIDE: Main | ||
+ | ============ */ | ||
+ | .main article { | ||
+ | float: left; | ||
+ | width: 57%; } | ||
+ | |||
+ | .main aside { | ||
+ | float: right; | ||
+ | width: 28%; } | ||
+ | |||
+ | .wrapper { | ||
+ | width: 1000px; | ||
+ | /* 1140px - 10% for margins - 13px for padding */ | ||
+ | margin: 0 auto; | ||
+ | padding: 0 13px; } | ||
+ | |||
+ | @media only screen and (min-width: 1000px) { | ||
+ | /* =============== | ||
+ | Maximal Width | ||
+ | =============== */ | ||
+ | .header-container { | ||
+ | position: fixed; | ||
+ | top: 14px; | ||
+ | width: 100%; } } | ||
/* ========================================================================== | /* ========================================================================== | ||
Remove default iGEM styling | Remove default iGEM styling | ||
Line 738: | Line 784: | ||
background-color: transparent; | background-color: transparent; | ||
margin-top: 0px; } | margin-top: 0px; } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</style> | </style> | ||
</head> | </head> | ||
</html> | </html> |
Revision as of 19:13, 30 July 2014