Team:USTC-Software/css/header style
From 2012.igem.org
(Difference between revisions)
Line 42: | Line 42: | ||
#hp_button { width: 210px; height: 35px; background: url("https://static.igem.org/mediawiki/2012/e/e1/USTC-Software-images-hp_normal.png"); } | #hp_button { width: 210px; height: 35px; background: url("https://static.igem.org/mediawiki/2012/e/e1/USTC-Software-images-hp_normal.png"); } | ||
#hp_button:active { background: url("https://static.igem.org/mediawiki/2012/8/86/USTC-Software-images-hp_active.png"); } | #hp_button:active { background: url("https://static.igem.org/mediawiki/2012/8/86/USTC-Software-images-hp_active.png"); } | ||
+ | |||
+ | #header_wrapper img{ | ||
+ | position:absolute; | ||
+ | top:0px; | ||
+ | right:0px; | ||
+ | } |
Revision as of 03:15, 27 September 2012
- header_wrapper { width: 980px; position: relative; margin: 0px auto; float: none; }
- navs { margin-bottom:30px;}
- navs div { margin-right: 5px; float:left;}
- navs div a{
display:block; height:100%; width:100%; text-decoration:none; color:white;
}
- team_logo { width: 442px; height: 74px;
background: url("") no-repeat; float: none; margin-top: 30px; -webkit-transition: background .5s ease-out; -moz-transition: background .5s ease-out; -o-transition: background .5s ease-out; -ms-transition: background .5s ease-out; transition: background .5s ease-out; }
- team_logo:hover{ background:url('https://static.igem.org/mediawiki/2012/4/4e/USTC-Software-images-team-logo-changed.png');}
- team_logo a{ display:block; height:100%; width:100%;}
- home_button { width: 147px; height: 35px; background: url(""); }
- home_button:active { background: url(""); }
- project_button { width: 104px; height: 35px; background: url(""); }
- project_button:active { background: url(""); }
- software_button { width: 125px; height: 35px; background: url(""); position: relative; top: -5px !important; /* because the photo has some problem */ }
- software_button:active { background: url(""); }
- team_button { width: 137px; height: 35px; background: url(""); position: relative; top: -2px !important; /* because the photo has some problem */ }
- team_button:active { background: url(""); }
- notes_button { width: 135px; height: 35px; background: url(""); }
- notes_button:active { background: url(""); }
- hp_button { width: 210px; height: 35px; background: url(""); }
- hp_button:active { background: url(""); }
- header_wrapper img{
position:absolute; top:0px; right:0px;
}