Template:Team:Edinburgh/css/header-style.css
From 2012.igem.org
(Difference between revisions)
(Adding an img bg in the header) |
m |
||
(22 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<style type="text/css"> | <style type="text/css"> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
a, | a, | ||
a:hover, | a:hover, | ||
Line 29: | Line 10: | ||
} | } | ||
#header{ | #header{ | ||
- | background: url(" | + | background: url("https://static.igem.org/mediawiki/2012/1/1a/Edi-uni.png") no-repeat; |
background-position: top right; | background-position: top right; | ||
background-color:#25476c; | background-color:#25476c; | ||
Line 36: | Line 17: | ||
#banner{ | #banner{ | ||
background-color:rgba(37,71,108, 0.5); | background-color:rgba(37,71,108, 0.5); | ||
- | |||
- | |||
- | |||
- | |||
} | } | ||
#team-name p{ | #team-name p{ | ||
font: normal bold 34px/50px calibri, "lucida sans", helvetica, arial, sans-serif; | font: normal bold 34px/50px calibri, "lucida sans", helvetica, arial, sans-serif; | ||
+ | text-shadow: 2px 2px #182e46; | ||
} | } | ||
#team-name a, | #team-name a, | ||
Line 48: | Line 26: | ||
#team-name a:visited{ | #team-name a:visited{ | ||
color:#fff; | color:#fff; | ||
+ | } | ||
+ | .follow-links:hover p{ | ||
+ | background-color: rgba(37,71,108,0.5); /*rgba(242,242,242, 0.5);*/ | ||
+ | border-radius: 5px; | ||
+ | } | ||
+ | .follow-links:hover p, | ||
+ | .follow-links:hover p:active, | ||
+ | .follow-links:hover p:hover{ | ||
+ | color: #fff; | ||
+ | text-decoration:none; | ||
+ | text-shadow: 1px 1px #000; | ||
} | } | ||
#main-menu{ | #main-menu{ | ||
Line 62: | Line 51: | ||
} | } | ||
#main-menu a p{ | #main-menu a p{ | ||
- | font: normal bold | + | font: normal bold 14px/30px tahoma, verdana, sans-serif; |
+ | } | ||
+ | #human-practices-page a p{ | ||
+ | font: normal bold 14px/16px tahoma, verdana, sans-serif; | ||
+ | } | ||
+ | .tab-sub-menu{ | ||
+ | font: normal bold 12px/16px tahoma, verdana, sans-serif; | ||
} | } | ||
#main-menu a, | #main-menu a, | ||
Line 72: | Line 67: | ||
#main-menu a:hover{ | #main-menu a:hover{ | ||
color:#fff; | color:#fff; | ||
+ | } | ||
+ | #main-menu ul li ul li.tab-description, | ||
+ | #main-menu ul li ul li.tab-sub-menu:nth-last-child(2){ | ||
+ | border-bottom-right-radius:10px; | ||
+ | border-bottom-left-radius:10px; | ||
+ | } | ||
+ | #main-menu ul li ul li.tab-img, | ||
+ | #main-menu ul li ul li.tab-img img{ | ||
+ | border-top-right-radius:10px; | ||
+ | border-top-left-radius:10px; | ||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Latest revision as of 16:53, 24 October 2012