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

Line 8: Line 8:
 
     transform: translateY(-50%);
 
     transform: translateY(-50%);
 
}
 
}
 
 
.Quick-navigation_word {
 
.Quick-navigation_word {
 
     float: left;
 
     float: left;
 
}
 
}
 
 
 
 
#Quick_A {
 
#Quick_A {
 
     top: 10vw;
 
     top: 10vw;
 
     position: relative;
 
     position: relative;
 
}
 
}
 
 
#Quick_B {
 
#Quick_B {
 
     top: 12.25vw;
 
     top: 12.25vw;
 
     position: relative;
 
     position: relative;
 
 
}
 
}
 
 
#Quick_C {
 
#Quick_C {
 
     top: 14.5vw;
 
     top: 14.5vw;
 
     position: relative;
 
     position: relative;
 
}
 
}
 
 
#Quick_D {
 
#Quick_D {
 
     top: 16.75vw;
 
     top: 16.75vw;
 
     position: relative;
 
     position: relative;
 
}
 
}
 
 
#Quick_F {
 
#Quick_F {
 
     top: 19vw;
 
     top: 19vw;
 
     position: relative;
 
     position: relative;
 
}
 
}
 
 
#Quick_A,
 
#Quick_A,
 
#Quick_B,
 
#Quick_B,
Line 58: Line 48:
 
     z-index: 1;
 
     z-index: 1;
 
     white-space: nowrap;
 
     white-space: nowrap;
 
 
}
 
}
 
 
#Quick_A:hover,
 
#Quick_A:hover,
 
#Quick_B:hover,
 
#Quick_B:hover,
Line 68: Line 56:
 
     font-weight: bolder;
 
     font-weight: bolder;
 
}
 
}
 
 
.current+a {
 
.current+a {
 
     font-weight: bolder;
 
     font-weight: bolder;
 
}
 
}
 
 
.Quick-navigation-item>img {
 
.Quick-navigation-item>img {
 
     display: none;
 
     display: none;
 
}
 
}
 
 
.Quick-navigation-item.current>img {
 
.Quick-navigation-item.current>img {
 
     display: block;
 
     display: block;
 
     position: absolute;
 
     position: absolute;
 
}
 
}
 
 
.js-scroll-step {
 
.js-scroll-step {
 
     margin-bottom: 3.5rem;
 
     margin-bottom: 3.5rem;
 
}
 
}
 
 
.Quick-navigation-item img {
 
.Quick-navigation-item img {
 
     top: 10vw;
 
     top: 10vw;
Line 93: Line 76:
 
     position: relative;
 
     position: relative;
 
}
 
}
 
 
.Quick-navigation_word>img {
 
.Quick-navigation_word>img {
 
     top: 10vw;
 
     top: 10vw;
Line 101: Line 83:
 
     position: relative;
 
     position: relative;
 
}
 
}
 
 
@media screen and (max-width: 769px) {
 
@media screen and (max-width: 769px) {
 
     .Quick-navigation {
 
     .Quick-navigation {
Line 114: Line 95:
 
     }
 
     }
 
}
 
}
 
 
@media screen and (min-width: 769px) and (max-width: 89.9375rem) {
 
@media screen and (min-width: 769px) and (max-width: 89.9375rem) {
 
     .Quick-navigation {
 
     .Quick-navigation {
        left: 85vw;
+
    left: 85vw;
    }
+
}
 
+
#Quick_A,
    #Quick_A,
+
#Quick_B,
    #Quick_B,
+
#Quick_C,
    #Quick_C,
+
#Quick_D,
    #Quick_D,
+
#Quick_F {
    #Quick_F {
+
    font-size: 0.8vw;
        font-size: 0.8vw;
+
}
    }
+
 
}
 
}
 
 
@media screen and (min-width: 90rem) {}
 
@media screen and (min-width: 90rem) {}

Revision as of 09:47, 8 October 2018

.Quick-navigation {

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

} .Quick-navigation_word {

   float: left;

}

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

}

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

}

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

}

  1. Quick_D {
   top: 16.75vw;
   position: relative;

}

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

}

  1. Quick_A,
  2. Quick_B,
  3. Quick_C,
  4. Quick_D,
  5. Quick_F {
   text-align: left;
   padding-left: 1vw;
   color: #1d2087 !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,
  4. Quick_D:hover,
  5. Quick_F: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;
   }
   #Cell_Measurement h1,
   #Colony_Forming_Units h1,
   #Experience_and_Discussion h1,
   #Provenance h1,
   #Reference h1 {
       font-size: 1rem;
   }

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

   .Quick-navigation {
   left: 85vw;

}

  1. Quick_A,
  2. Quick_B,
  3. Quick_C,
  4. Quick_D,
  5. Quick_F {
   font-size: 0.8vw;

} } @media screen and (min-width: 90rem) {}