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

Line 1: Line 1:
.header {
+
.Quick-navigation {
     -moz-box-shadow: 0px 3px 10px #24366D;
+
     position: fixed;
     -webkit-box-shadow: 0px 3px 10px #24366D;
+
    z-index: 1;
     box-shadow: 0px 3px 10px #24366D;
+
    margin: 0;
 +
    top: 20%;
 +
    left: 85vw;
 +
     -webkit-transform: translateY(-50%);
 +
     transform: translateY(-50%);
 
}
 
}
 
+
.Quick-navigation_word {
.description_banner {
+
    float: left;
     margin: 0 25vw;
+
}
 +
#Quick_A {
 +
     top: 10vw;
 
     position: relative;
 
     position: relative;
    width: 50vw;
 
    margin-top: 6rem;
 
    height: 100%;
 
    background-size: 100%;
 
    background-repeat: no-repeat;
 
    text-align: center;
 
    background-image: url(https://static.igem.org/mediawiki/2018/c/c0/T--XMU-China--description_headline.png);
 
 
 
}
 
}
 
+
#Quick_B {
.description_banner>.word {
+
     top: 12.25vw;
     font-size: 3vw;
+
     position: relative;
     padding: 4vw 0vw;
+
    line-height: 3vw;
+
    color: white;
+
    font-weight: bolder;
+
    font-family: "Arial";
+
 
+
 
}
 
}
 
+
#Quick_C {
@media screen and (max-width: 768px) {
+
     top: 14.5vw;
     .description_banner>.word {
+
     position: relative;
        font-size: 5vw;
+
 
+
    }
+
 
+
    .description_banner {
+
        width: 90VW;
+
        margin: 5rem 5vw 0;
+
     }
+
 
+
    .description_banner>.word {
+
        padding: 8vw 0vw;
+
    }
+
 
}
 
}
 
+
#Quick_D {
@media screen and (min-width: 768px) and (max-width: 89.9375rem) {
+
     top: 16.75vw;
     .description_banner {
+
    position: relative;
        width: 60vw;
+
}
        margin: 6rem 20vw 0;
+
#Quick_F {
    }
+
     top: 19vw;
 
+
     position: relative;
     .description_banner>.word {
+
        padding: 5vw 0vw;
+
     }
+
 
}
 
}
 
+
#Quick_A,
@media screen and (min-width: 90rem) {}
+
#Quick_B,
 
+
#Quick_C,
.main {
+
#Quick_D,
    margin: 0 15vw 5rem;
+
#Quick_F {
    width: 70vw;
+
 
     text-align: left;
 
     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;
 
}
 
}
 
+
#Quick_A:hover,
.headline {
+
#Quick_B:hover,
    font-size: 2vw;
+
#Quick_C:hover,
    color: #1d2087;
+
#Quick_D:hover,
    margin-bottom: 1vw;
+
#Quick_F:hover {
    padding-top: 5rem;
+
     font-weight: bolder;
}
+
 
+
.main p {
+
    color: #000;
+
    font-size: 1.2rem;
+
    text-indent: 2.4rem;
+
    font-weight: normal;
+
    font-family: Arial, Helvetica, sans-serif;
+
    line-height: 2rem;
+
    margin-bottom: 0.8vw;
+
}
+
.main h1,
+
.main h2,
+
.main h3{
+
     font-family:"Microsoft YaHei";
+
 
+
}
+
.main h1{
+
    margin: 0.8vw 0 0.3vw;
+
 
}
 
}
.main h2{
+
.current+a {
    font-size: 1.2rem;
+
 
     font-weight: bolder;
 
     font-weight: bolder;
 
}
 
}
.main h3{
+
.Quick-navigation-item>img {
     font-size: 1.1rem;
+
     display: none;
   
+
 
}
 
}
.main h4{
+
.Quick-navigation-item.current>img {
     font-size: 1.05rem;
+
     display: block;
      
+
     position: absolute;
 
}
 
}
.F1>img {
+
.js-scroll-step {
    width: 60vw;
+
     margin-bottom: 3.5rem;
     margin: 1vw 5vw 0;
+
 
}
 
}
 
+
.Quick-navigation-item img {
.F2>img {
+
     top: 10vw;
     width: 50vw;
+
     height: 10vw;
     margin: 1vw 10vw 0;
+
    margin: 0;
 +
    float: left;
 +
    position: relative;
 
}
 
}
 
+
.Quick-navigation_word>img {
.F3>img {
+
     top: 10vw;
     width: 40vw;
+
    height: 10vw;
     margin: 1vw 15vw 0;
+
     margin: 0;
 +
    float: left;
 +
    position: relative;
 
}
 
}
 
.F4>img {
 
    width: 30vw;
 
    margin: 1vw 20vw 0
 
}
 
 
.F1,
 
.F2,
 
.F3,
 
.F4 {
 
    text-indent: 0 !important;
 
    margin-bottom: 0!important;
 
}
 
 
.Figure_word {
 
    font-size: 1rem !important;
 
    text-align: center !important;
 
    text-indent: 0 !important;
 
}
 
 
.reference+p,
 
.headline+p,
 
h2+p,
 
h3+p {
 
    text-indent: 0 !important;
 
}
 
 
 
@media screen and (max-width: 769px) {
 
@media screen and (max-width: 769px) {
     .headline {
+
     .Quick-navigation {
        font-size: 1.4rem;
+
         display: none;
        margin: 1rem 0 0;
+
        padding: 0;
+
    }
+
 
+
    .main p {
+
         font-size: 0.9rem;
+
        text-indent: 1.8rem;
+
        line-height: 1.5rem;
+
    }
+
 
+
    .F1>img {
+
        width: 85vw;
+
        margin: 1vw 0vw;
+
    }
+
 
+
    .F2>img {
+
        width: 95vw;
+
        margin: 1vw -5vw;
+
    }
+
 
+
    .F3>img {
+
        width: 85vw;
+
        margin: 1vw 0vw;
+
    }
+
 
+
    .F4>img {
+
        width: 50vw;
+
        margin: 1vw 17.5vw;
+
    }
+
 
+
    .main {
+
        width: 85vw;
+
        margin: 0 7.5vw 5rem;
+
    }
+
    .main h1{
+
        font-size: 1.15rem;
+
        margin: 0.8vw 0 0;
+
        font-weight: bold;
+
        white-space: nowrap;
+
 
     }
 
     }
     .main h2{
+
     .main p{
         margin: 0;
+
         word-wrap:break-word;;
        padding: 0;
+
        font-size: 1.1rem;
+
        font-weight: normal;
+
 
     }
 
     }
 
}
 
}
 
 
@media screen and (min-width: 769px) and (max-width: 89.9375rem) {
 
@media screen and (min-width: 769px) and (max-width: 89.9375rem) {
     .headline {
+
     .Quick-navigation {
        font-size: 1.6rem;
+
    left: 85vw;
        margin-bottom: 1vw;
+
}
    }
+
#Quick_A,
 
+
#Quick_B,
     .main p {}
+
#Quick_C,
 +
#Quick_D,
 +
#Quick_F {
 +
     font-size: 0.8vw;
 +
}
 
}
 
}
 
 
@media screen and (min-width: 90rem) {}
 
@media screen and (min-width: 90rem) {}

Revision as of 10:37, 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;
   }
   .main p{
       word-wrap:break-word;;
   }

} @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) {}