Team:Glendale CC AZ/main.css
From 2013.igem.org
(Difference between revisions)
Line 18: | Line 18: | ||
<head> | <head> | ||
<style> | <style> | ||
- | + | body | |
- | body { background:url( | + | { |
- | + | background:#ffffff url('img_tree.png') no-repeat right top; | |
- | + | margin-right:200px; | |
- | + | } | |
</style> | </style> | ||
Line 34: | Line 34: | ||
- | #contentSub, #search-controls, .firstHeading, #catlinks, #p-logo { | + | #contentSub, #search-controls, #footer-box, .firstHeading, #catlinks, #p-logo { |
display:none;} | display:none;} | ||
#top-section { | #top-section { | ||
Line 46: | Line 46: | ||
#menubar > ul > li:last-child { | #menubar > ul > li:last-child { | ||
display: none;} | display: none;} | ||
- | /* Resizes the menubar to | + | /* Resizes the menubar to fik the links (default is 400px) */ |
#menubar { | #menubar { | ||
width: auto;} | width: auto;} | ||
Line 113: | Line 113: | ||
- | #cssmenu ul { | + | #cssmenu ul, |
+ | #cssmenu li, | ||
+ | #cssmenu span, | ||
+ | #cssmenu a { | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
+ | position: relative; | ||
} | } | ||
- | #cssmenu | + | #cssmenu { |
- | + | height: 49px; | |
- | + | border-radius: 5px 5px 0 0; | |
+ | -moz-border-radius: 5px 5px 0 0; | ||
+ | -webkit-border-radius: 5px 5px 0 0; | ||
+ | background: #141414; | ||
+ | background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAxCAIAAACUDVRzAAAAA3NCSVQICAjb4U/gAAAALElEQVQImWMwMrJi+v//PxMDw3+m//8ZoPR/qBgDEhuXGLoeYswhXg8R5gAAdVpfoJ3dB5oAAAAASUVORK5CYII=) 100% 100%; | ||
+ | background: -moz-linear-gradient(top, #32323a 0%, #141414 100%); | ||
+ | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #32323a), color-stop(100%, #141414)); | ||
+ | background: -webkit-linear-gradient(top, #32323a 0%, #141414 100%); | ||
+ | background: -o-linear-gradient(top, #32323a 0%, #141414 100%); | ||
+ | background: -ms-linear-gradient(top, #32323a 0%, #141414 100%); | ||
+ | background: linear-gradient(to bottom, #32323a 0%, #141414 100%); | ||
+ | border-bottom: 2px solid #e00f16; | ||
+ | } | ||
+ | #cssmenu:after, | ||
+ | #cssmenu ul:after { | ||
+ | content: ''; | ||
+ | display: block; | ||
+ | clear: both; | ||
} | } | ||
#cssmenu a { | #cssmenu a { | ||
- | + | background: #141414; | |
- | padding: 0; | + | background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAxCAIAAACUDVRzAAAAA3NCSVQICAjb4U/gAAAALElEQVQImWMwMrJi+v//PxMDw3+m//8ZoPR/qBgDEhuXGLoeYswhXg8R5gAAdVpfoJ3dB5oAAAAASUVORK5CYII=) 100% 100%; |
+ | background: -moz-linear-gradient(top, #32323a 0%, #141414 100%); | ||
+ | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #32323a), color-stop(100%, #141414)); | ||
+ | background: -webkit-linear-gradient(top, #32323a 0%, #141414 100%); | ||
+ | background: -o-linear-gradient(top, #32323a 0%, #141414 100%); | ||
+ | background: -ms-linear-gradient(top, #32323a 0%, #141414 100%); | ||
+ | background: linear-gradient(to bottom, #32323a 0%, #141414 100%); | ||
+ | color: #ffffff; | ||
+ | display: inline-block; | ||
+ | font-family: Helvetica, Arial, Verdana, sans-serif; | ||
+ | font-size: 12px; | ||
+ | line-height: 49px; | ||
+ | padding: 0 20px; | ||
+ | text-decoration: none; | ||
} | } | ||
#cssmenu ul { | #cssmenu ul { | ||
list-style: none; | list-style: none; | ||
} | } | ||
- | #cssmenu | + | #cssmenu > ul { |
- | + | float: left; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
#cssmenu > ul > li { | #cssmenu > ul > li { | ||
float: left; | float: left; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
- | #cssmenu > ul > li | + | #cssmenu > ul > li:hover:after { |
- | + | content: ''; | |
- | + | display: block; | |
- | + | width: 0; | |
- | + | height: 0; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
position: absolute; | position: absolute; | ||
- | |||
left: 50%; | left: 50%; | ||
- | + | bottom: 0; | |
- | + | border-left: 10px solid transparent; | |
- | + | border-right: 10px solid transparent; | |
- | + | border-bottom: 10px solid #e00f16; | |
- | + | margin-left: -10px; | |
- | + | ||
- | + | ||
- | + | ||
- | border- | + | |
- | - | + | |
- | + | ||
- | + | ||
} | } | ||
- | #cssmenu > ul > li: | + | #cssmenu > ul > li:first-child > a { |
- | + | border-radius: 5px 0 0 0; | |
- | + | -moz-border-radius: 5px 0 0 0; | |
- | + | -webkit-border-radius: 5px 0 0 0; | |
} | } | ||
- | #cssmenu > ul > li > ul: | + | #cssmenu > ul > li:last-child > a { |
- | + | border-radius: 0 5px 0 0; | |
+ | -moz-border-radius: 0 5px 0 0; | ||
+ | -webkit-border-radius: 0 5px 0 0; | ||
+ | } | ||
+ | #cssmenu > ul > li.active > a { | ||
+ | box-shadow: inset 0 0 3px #000000; | ||
+ | -moz-box-shadow: inset 0 0 3px #000000; | ||
+ | -webkit-box-shadow: inset 0 0 3px #000000; | ||
+ | background: #070707; | ||
+ | background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAxCAIAAACUDVRzAAAAA3NCSVQICAjb4U/gAAAALklEQVQImWNQU9Nh+v//PxMDw3+m//8ZkNj/mRgYIHxy5f//Z0BSi18e2TwS5QG4MGB54HL+mAAAAABJRU5ErkJggg==) 100% 100%; | ||
+ | background: -moz-linear-gradient(top, #26262c 0%, #070707 100%); | ||
+ | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #26262c), color-stop(100%, #070707)); | ||
+ | background: -webkit-linear-gradient(top, #26262c 0%, #070707 100%); | ||
+ | background: -o-linear-gradient(top, #26262c 0%, #070707 100%); | ||
+ | background: -ms-linear-gradient(top, #26262c 0%, #070707 100%); | ||
+ | background: linear-gradient(to bottom, #26262c 0%, #070707 100%); | ||
+ | } | ||
+ | #cssmenu > ul > li:hover > a { | ||
+ | background: #070707; | ||
+ | background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAxCAIAAACUDVRzAAAAA3NCSVQICAjb4U/gAAAALklEQVQImWNQU9Nh+v//PxMDw3+m//8ZkNj/mRgYIHxy5f//Z0BSi18e2TwS5QG4MGB54HL+mAAAAABJRU5ErkJggg==) 100% 100%; | ||
+ | background: -moz-linear-gradient(top, #26262c 0%, #070707 100%); | ||
+ | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #26262c), color-stop(100%, #070707)); | ||
+ | background: -webkit-linear-gradient(top, #26262c 0%, #070707 100%); | ||
+ | background: -o-linear-gradient(top, #26262c 0%, #070707 100%); | ||
+ | background: -ms-linear-gradient(top, #26262c 0%, #070707 100%); | ||
+ | background: linear-gradient(to bottom, #26262c 0%, #070707 100%); | ||
+ | box-shadow: inset 0 0 3px #000000; | ||
+ | -moz-box-shadow: inset 0 0 3px #000000; | ||
+ | -webkit-box-shadow: inset 0 0 3px #000000; | ||
+ | } | ||
+ | #cssmenu .has-sub { | ||
+ | z-index: 1; | ||
+ | } | ||
+ | #cssmenu .has-sub:hover > ul { | ||
display: block; | display: block; | ||
- | + | } | |
- | + | #cssmenu .has-sub ul { | |
- | + | display: none; | |
position: absolute; | position: absolute; | ||
- | + | width: 200px; | |
- | + | top: 100%; | |
- | + | left: 0; | |
} | } | ||
- | #cssmenu | + | #cssmenu .has-sub ul li { |
- | + | *margin-bottom: -1px; | |
} | } | ||
- | #cssmenu ul | + | #cssmenu .has-sub ul li a { |
- | + | background: #e00f16; | |
- | + | border-bottom: 1px dotted #ec6f73; | |
- | + | filter: none; | |
- | + | font-size: 11px; | |
- | + | ||
display: block; | display: block; | ||
- | - | + | line-height: 120%; |
- | + | padding: 10px; | |
- | + | ||
- | + | ||
} | } | ||
- | #cssmenu ul | + | #cssmenu .has-sub ul li:hover a { |
- | background | + | background: #b00c11; |
+ | } | ||
+ | #cssmenu .has-sub .has-sub:hover > ul { | ||
+ | display: block; | ||
} | } | ||
- | #cssmenu | + | #cssmenu .has-sub .has-sub ul { |
- | + | display: none; | |
- | + | ||
position: absolute; | position: absolute; | ||
- | + | left: 100%; | |
- | left: | + | top: 0; |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | #cssmenu ul | + | #cssmenu .has-sub .has-sub ul li a { |
- | + | background: #b00c11; | |
- | + | border-bottom: 1px dotted #d06d70; | |
- | + | ||
} | } | ||
- | #cssmenu ul | + | #cssmenu .has-sub .has-sub ul li a:hover { |
- | background | + | background: #80090d; |
- | + | ||
} | } | ||
Revision as of 02:16, 17 August 2013