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;  
-
            background: url("https://static.igem.org/mediawiki/2012/f/f2/USTC-Software-images-team-logo-2.png") no-repeat;
 
             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{ background:url('https://static.igem.org/mediawiki/2012/4/4e/USTC-Software-images-team-logo-changed.png');}
+
#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; background: url("https://static.igem.org/mediawiki/2012/d/d1/USTC-Software-images-home_normal.png"); }
+
#home_button { width: 147px; height: 35px; }
-
#home_button:active { background: url("https://static.igem.org/mediawiki/2012/6/68/USTC-Software-images-home_active.png"); }
+
#home_button:active {}
-
#project_button { width: 104px; height: 35px; background: url("https://static.igem.org/mediawiki/2012/d/dd/USTC-Software-images-project_normal.png"); }
+
#project_button { width: 104px; height: 35px;}
-
#project_button:active { background: url("https://static.igem.org/mediawiki/2012/2/24/USTC-Software-images-project_active.png"); }
+
#project_button:active {}
-
#software_button { width: 125px; height: 35px; background: url("https://static.igem.org/mediawiki/2012/f/f2/USTC-Software-images-software_normal.png"); position: relative; top: -5px !important; /* because the photo has some problem */  }
+
#software_button { width: 125px; height: 35px; position: relative; top: -5px !important; /* because the photo has some problem */  }
-
#software_button:active { background: url("https://static.igem.org/mediawiki/2012/6/68/USTC-Software-images-software_active.png"); }
+
#software_button:active {}
-
#team_button { width: 137px; height: 35px; background: url("https://static.igem.org/mediawiki/2012/6/6e/USTC-Software-images-team_normal.png"); position: relative; top: -2px !important; /* because the photo has some problem */ }
+
#team_button { width: 137px; height: 35px; position: relative; top: -2px !important; /* because the photo has some problem */ }
-
#team_button:active { background: url("https://static.igem.org/mediawiki/2012/1/19/USTC-Software-images-team_active.png"); }
+
#team_button:active {}
-
#notes_button { width: 135px; height: 35px; background: url("https://static.igem.org/mediawiki/2012/9/9a/USTC-Software-images-notes_normal.png"); }
+
#notes_button { width: 135px; height: 35px; }
-
#notes_button:active { background: url("https://static.igem.org/mediawiki/2012/f/f7/USTC-Software-images-notes_active.png"); }
+
#notes_button:active { }
-
#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; }
-
#hp_button:active { background: url("https://static.igem.org/mediawiki/2012/8/86/USTC-Software-images-hp_active.png"); }
+
#hp_button:active { }
#header_wrapper a{
#header_wrapper a{

Revision as of 15:33, 23 October 2012

  1. header_wrapper { width: 980px; position: relative; margin: 0px auto; float: none; }
  1. header_wrapper a{
   display:block;
   text-decoration:none;
   color:white;

}

  1. navs { margin-bottom:30px;}
  2. navs div { margin-right: 5px; float:left;}
  3. navs div a{
   display:block;
   height:100%;
   width:100%;
   text-decoration:none;
   color:white;

}

  1. 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;
           }
  1. team_logo:hover{ }
  2. team_logo a{ display:block; height:100%; width:100%;}


  1. home_button { width: 147px; height: 35px; }
  2. home_button:active {}
  1. project_button { width: 104px; height: 35px;}
  2. project_button:active {}
  1. software_button { width: 125px; height: 35px; position: relative; top: -5px !important; /* because the photo has some problem */ }
  2. software_button:active {}
  1. team_button { width: 137px; height: 35px; position: relative; top: -2px !important; /* because the photo has some problem */ }
  2. team_button:active {}
  1. notes_button { width: 135px; height: 35px; }
  2. notes_button:active { }
  1. hp_button { width: 210px; height: 35px; }
  2. hp_button:active { }
  1. header_wrapper a{
   position:absolute;
   top:0px;
   right:0px;

}