Team:TU-Delft/Templates/Style
From 2013.igem.org
(Difference between revisions)
Line 41: | Line 41: | ||
/* Layout */ | /* Layout */ | ||
/**********/ | /**********/ | ||
+ | /* This template was created by Mantis-a [http://www.mantisa.cz/]. For more templates visit Free website templates [http://www.mantisatemplates.com/]. */ | ||
+ | |||
+ | |||
+ | |||
/* This template was created by Mantis-a [http://www.mantisa.cz/]. For more templates visit Free website templates [http://www.mantisatemplates.com/]. */ | /* This template was created by Mantis-a [http://www.mantisa.cz/]. For more templates visit Free website templates [http://www.mantisatemplates.com/]. */ | ||
Line 189: | Line 193: | ||
#menu { | #menu { | ||
- | + | width: 850px; | |
- | + | margin: 0 auto; | |
- | + | background: #4A4A4A url('../img/menu-bg.gif') repeat-x 0 0; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
#menu li { | #menu li { | ||
- | + | display: inline; | |
- | + | list-style-type: none; | |
- | + | ||
- | + | ||
} | } | ||
- | #menu a { | + | #menu li.first a { |
- | + | margin-left: 1.6em; | |
- | + | display: inline; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | #menu li | + | #menu li a { |
- | + | float: left; | |
+ | color: #FFFFFF; | ||
+ | font-weight: normal; | ||
+ | text-decoration: none; | ||
+ | font-size: 1.1em; | ||
+ | line-height: 33px; | ||
+ | margin: 0 0.5em; | ||
+ | padding: 0 1em; | ||
} | } | ||
- | + | #menu li a:hover { | |
- | + | text-decoration: underline; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | #menu li | + | #menu li a.active { |
- | + | font-weight: bold; | |
- | + | color: #B1EEFF; | |
- | + | ||
} | } | ||
- | + | .cleaning-box { | |
- | + | min-height: 1px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | .cleaning-box:after { | |
- | + | display: block; | |
- | + | clear: both; | |
- | + | visibility: hidden; | |
- | + | height: 0; | |
- | + | font-size: 0; | |
+ | content: ' '; | ||
} | } | ||
- | + | .hidden { /* Skip menu */ | |
- | + | position: absolute; | |
- | + | top: -10000px; | |
- | + | left: 0; | |
- | + | width: 1px; | |
- | + | height: 1px; | |
- | + | overflow: hidden; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
Revision as of 09:39, 19 April 2013