Team:USTC-Software/css/header style
From 2012.igem.org
Revision as of 11:19, 22 September 2012 by Myfavouritekk (Talk | contribs)
- header_wrapper { width: 980px; position: relative; margin: 0px auto; float: none; }
- navs { margin-bottom:30px;}
- navs a div { margin-right: 5px; float:left;}
- team_logo { width: 442px; height: 74px;
background: url("../images/team-logo-2.png") 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('../images/team-logo-changed.png');}
- team_logo a{ display:block; height:100%; width:100%;}
- home_button { width: 147px; height: 35px; background: url("../images/home_normal.png"); }
- home_button:active { background: url("../images/home_active.png"); }
- project_button { width: 104px; height: 35px; background: url("../images/project_normal.png"); }
- project_button:active { background: url("../images/project_active.png"); }
- team_button { width: 137px; height: 35px; background: url("../images/team_normal.png"); position: relative; top: -2px !important; /* because the photo has some problem */ }
- team_button:active { background: url("../images/team_active.png"); }
- notes_button { width: 135px; height: 35px; background: url("../images/notes_normal.png"); }
- notes_button:active { background: url("../images/notes_active.png"); }
- hp_button { width: 210px; height: 35px; background: url("../images/hp_normal.png"); }
- hp_button:active { background: url("../images/hp_active.png"); }