Team:Calgary/Sandbox
From 2012.igem.org
(Difference between revisions)
Line 77: | Line 77: | ||
-ms-filter: | -ms-filter: | ||
"progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr='#202020', endColorstr='#333333')"; /* for IE 8*/ | "progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr='#202020', endColorstr='#333333')"; /* for IE 8*/ | ||
- | background: -webkit-gradient(linear, left top, right | + | background: -webkit-gradient(linear, left top, right top, from(#202020), to(#333333)); /* for webkit browsers */ |
background: -moz-linear-gradient(left, #202020, #333); /* for firefox 3.6+ */ | background: -moz-linear-gradient(left, #202020, #333); /* for firefox 3.6+ */ | ||
+ | background: linear-gradient(left, #202020 0%, #333333 100%); /*standard*/ | ||
} | } | ||
/*To be moved to JQ block*/ | /*To be moved to JQ block*/ | ||
Line 129: | Line 130: | ||
-ms-filter: | -ms-filter: | ||
"progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr='#333333', endColorstr='#424242')"; /* for IE 8*/ | "progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr='#333333', endColorstr='#424242')"; /* for IE 8*/ | ||
- | background: -webkit-gradient(linear, left top, right | + | background: -webkit-gradient(linear, left top, right top, from(#333333), to(#424242)); /* for webkit browsers */ |
- | background: -moz-linear-gradient(left, # | + | background: -moz-linear-gradient(left, #333333, #424242); /* for firefox 3.6+ */ |
+ | background: linear-gradient(left, #333333 0%, #424242 100%); /*standard*/ | ||
} | } | ||
/*1-column styles*/ | /*1-column styles*/ | ||
Line 139: | Line 141: | ||
} | } | ||
#nav li div.col_1 a{ | #nav li div.col_1 a{ | ||
+ | display: block; | ||
padding: 0 20px; | padding: 0 20px; | ||
} | } | ||
Line 154: | Line 157: | ||
-ms-filter: | -ms-filter: | ||
"progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr='#333333', endColorstr='#424242')"; /* for IE 8*/ | "progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr='#333333', endColorstr='#424242')"; /* for IE 8*/ | ||
- | background: -webkit-gradient(linear, left top, right | + | background: -webkit-gradient(linear, left top, right top, from(#333333), to(#424242)); /* for webkit browsers */ |
background: -moz-linear-gradient(left, #202020, #333); /* for firefox 3.6+ */ | background: -moz-linear-gradient(left, #202020, #333); /* for firefox 3.6+ */ | ||
} | } | ||
Line 162: | Line 165: | ||
float: left; | float: left; | ||
background: transparent; | background: transparent; | ||
- | + | padding-left: 20px; | |
} | } | ||
+ | #nav li div.col_l a, #nav li div.col_r a{ | ||
+ | display: block; | ||
+ | } | ||
#nav li div.col_r{ | #nav li div.col_r{ | ||
- | + | padding-right: 20px; | |
} | } | ||
#nav li:hover div.col_2{ | #nav li:hover div.col_2{ |
Revision as of 18:22, 25 June 2012