Team:USTC-Software/css/header style
From 2012.igem.org
(Difference between revisions)
Line 18: | Line 18: | ||
#team_logo { width: 442px; height: 74px; | #team_logo { width: 442px; height: 74px; | ||
- | |||
float: none; margin-top: 30px; | float: none; margin-top: 30px; | ||
-webkit-transition: background .5s ease-out; | -webkit-transition: background .5s ease-out; | ||
Line 26: | Line 25: | ||
transition: background .5s ease-out; | transition: background .5s ease-out; | ||
} | } | ||
- | #team_logo:hover{ | + | #team_logo:hover{ } |
#team_logo a{ display:block; height:100%; width:100%;} | #team_logo a{ display:block; height:100%; width:100%;} | ||
- | #home_button { width: 147px; height: 35px | + | #home_button { width: 147px; height: 35px; } |
- | #home_button:active { | + | #home_button:active {} |
- | #project_button { width: 104px; height: 35px | + | #project_button { width: 104px; height: 35px;} |
- | #project_button:active { | + | #project_button:active {} |
- | #software_button { width: 125px; height: 35px | + | #software_button { width: 125px; height: 35px; position: relative; top: -5px !important; /* because the photo has some problem */ } |
- | #software_button:active { | + | #software_button:active {} |
- | #team_button { width: 137px; height: 35px | + | #team_button { width: 137px; height: 35px; position: relative; top: -2px !important; /* because the photo has some problem */ } |
- | #team_button:active { | + | #team_button:active {} |
- | #notes_button { width: 135px; height: 35px; | + | #notes_button { width: 135px; height: 35px; } |
- | #notes_button:active { | + | #notes_button:active { } |
- | #hp_button { width: 210px; height: 35px | + | #hp_button { width: 210px; height: 35px; } |
- | #hp_button:active { | + | #hp_button:active { } |
#header_wrapper a{ | #header_wrapper a{ |
Revision as of 15:33, 23 October 2012
- header_wrapper { width: 980px; position: relative; margin: 0px auto; float: none; }
- header_wrapper a{
display:block; text-decoration:none; color:white;
}
- 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;
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{ }
- team_logo a{ display:block; height:100%; width:100%;}
- home_button { width: 147px; height: 35px; }
- home_button:active {}
- project_button { width: 104px; height: 35px;}
- project_button:active {}
- software_button { width: 125px; height: 35px; position: relative; top: -5px !important; /* because the photo has some problem */ }
- software_button:active {}
- team_button { width: 137px; height: 35px; position: relative; top: -2px !important; /* because the photo has some problem */ }
- team_button:active {}
- notes_button { width: 135px; height: 35px; }
- notes_button:active { }
- hp_button { width: 210px; height: 35px; }
- hp_button:active { }
- header_wrapper a{
position:absolute; top:0px; right:0px;
}