Difference between revisions of "Team:NYMU-Taipei/css-test"

Line 62: Line 62:
 
}
 
}
  
.dropdown-content a .submenu_item{
+
.igem_2018_team_content .igem_2018_team_column_wrapper a
text-decoration:none;
+
}
+
 
+
 
.dropdown:hover .dropdown-content {
 
.dropdown:hover .dropdown-content {
     display: block;
+
     text-decoration:none;
 
}
 
}

Revision as of 05:50, 29 May 2018

.extra_space{ display:none; }

.igem_2018_team_content .igem_2018_team_column_wrapper {

   margin: auto;
   max-width:none;
    width: 100%; 

}

.igem_2018_team_content { background-color:white; display:block; width: 100%; } .igem_2018_team_menu.displaying_menu{ display:none; }

/*styling the menu*/ .nymu_menu{ height: 80px; background-color: white; box-shadow: 0 10px 20px -5px gray; position:fixed; width:1309px; top:20px; }

/*style title*/

  1. title{

text-align:center; color:#5bc7d8; font-size:30px; height:30px; padding-top:10px; }

/*style image*/ img.cover {

   width: 1309px;

}

/*for drop down function*/

.dropdown {

   position: relative;
   display: inline-block;

width:150px; text-align:center; padding-top:10px; }

.dropdown-content {

   display: none;
   position: absolute;
   background-color: #f9f9f9;
   min-width: 160px;
   box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
   padding: 12px 16px;
   z-index: 1;

}

.igem_2018_team_content .igem_2018_team_column_wrapper a .dropdown:hover .dropdown-content {

   text-decoration:none;

}