Difference between revisions of "Team:XMU-China/css/safety"

 
Line 5: Line 5:
 
     position: center;   
 
     position: center;   
 
     overflow-x:hidden;
 
     overflow-x:hidden;
 +
}
 +
#globalWrapper {
 +
    background-color: white;
 
}
 
}
 
.main {
 
.main {

Latest revision as of 13:27, 19 October 2019

.igem_2019_team_menu{

    display:none;

} html{

   position: center;   
   overflow-x:hidden;

}

  1. globalWrapper {
   background-color: white;

} .main {

   margin: 0 15vw 5rem;
   width: 70vw;
   text-align: left;

} body{

   margin: 0 auto;

} a{

   text-decoration: none !important;

}

  1. content {
   width: 100%;
   margin-left:0;
   padding: 0;
   border: none;
   background-color: #ffffff;
   position: relative;

}

  1. top_title {
   display: none;

} p{

   font-weight:normal;

}

  1. HQ_page p {
   font-family: unset;
   font-size: 1rem;
   text-align: justify;

} .igem_2019_team_content .igem_2019_team_column_wrapper ul, .igem_2019_team_content .igem_2019_team_column_wrapper ol {

   padding:0px 0px !important;

}

.igem_top_bar {

   height: 3.5rem;
   width: 100%;
   margin:18px 0px;
   background:rgb(255, 255, 255);
   position: fixed; 
   top: 0%;
   margin-bottom: 5px;
   display:block !important;
   z-index: 111;
   box-shadow: 0px 3px 6px #888888;
   font-size: 127%;

}

.igem_top_bar img {

   position:relative;
   height: 50px;
   margin-left: 10px;
   float: left;

}

.nav ul li{

   float:right;
   margin:0 10px;
   list-style-type:none;
   display:inline;
   position:relative;
   text-align: center;

} .nav ul li a{

   color:#3e4548;
   font-family:Arial;
   display:block;
   padding-top:10px;
   padding-bottom:10px;
   padding-left:18px;
   padding-right:18px;

} .nav ul li a:hover{

   color: #FFFFFF !important;
   background-color: #1c5a5a !important;

} .nav ul li span{

   display:block;

} .nav ul li ul{

   background:rgb(255, 255, 255);
   position: relative;
   display:none;
   padding-left:0;
   margin-left:0;
   line-height: 0em !important;

} .nav ul li ul li{

   float:none;
   text-align: center;
   padding-left:0;
   padding-right:0;

} .nav ul li ul li a{

   padding-top:20px;
   padding-bottom:20px;

} .nav ul li:hover ul{

   display: block;

}

.Quick-navigation {

   position: fixed;
   z-index: 1;
   margin: 0;
   top: 20%;
   left: 86vw;
   -webkit-transform: translateY(-50%);
   transform: translateY(-50%);

}

.Quick-navigation_word {

   float: left;

}


  1. Quick_A {
   top: 10vw;
   position: relative;

}

  1. Quick_B {
   top: 14.5vw;
   position: relative;

}

  1. Quick_C {
   top: 19vw;
   position: relative;

}

  1. Quick_A,
  2. Quick_B,
  3. Quick_C {
   text-align: left;
   padding-left: 2vw;
   color: #1c5a5a !important;
   text-decoration: none;
   font-size: 1vw;
   line-height: 1vw;
   -webkit-transition: color 0.3s;
   transition: color 0.3s;
   display: block;
   position: absolute;
   z-index: 1;
   white-space: nowrap;

}

  1. Quick_A:hover,
  2. Quick_B:hover,
  3. Quick_C:hover{
   font-weight: bolder;

} .current+a {

   font-weight: bolder;

}

.Quick-navigation-item>img {

   display: none;

}

.Quick-navigation-item.current>img {

   display: block;
   position: absolute;

}

.js-scroll-step {

   margin-bottom: 3.5rem;

}

.Quick-navigation-item img {

   top: 10vw;
   height: 10vw;
   margin: 0;
   float: left;
   position: relative;

}

.Quick-navigation_word>img {

   top: 10vw;
   height: 10vw;
   margin: 0;
   float: left;
   position: relative;

}

@media screen and (max-width: 769px) {

   .Quick-navigation {
       display: none;
   }

}

@media screen and (min-width: 769px) and (max-width: 89.9375rem) {

   #Quick_A,
   #Quick_B,
   #Quick_C{
   padding-left: 1.5vw;
   font-size: 0.9rem;
   }

}

@media screen and (min-width: 90rem) {} .F1, .F3{

   text-align: center!important;

}