Template:Fudan/css.css

/*****

  • Font Styles
          • /
  1. FudanBody h1,
  2. FudanBody h2,
  3. FudanBody h3,
  4. FudanBody h4,
  5. FudanBody h5,
  6. FudanBody h6,
  7. nav-mobile{
   font-family: Helvetica,sans-serif;

}

  1. FudanBody h3,
  2. FudanBody h4,
  3. FudanBody h5,
  4. FudanBody h6,
  5. nav-mobile{
   color: rgba(0,0,0,0.87);

}

  1. FudanBody p,
  2. FudanBody div{
   font-family: Calibri,sans-serif;
   color: rgba(0,0,0,0.87);

}

  1. FudanBody .slides h3{
   color: #F78E41;
   font-size: 40px;

}

  1. FudanBody .slides h5{
   color: #F78E41;
   font-size: 20px;

}

  1. FudanBody nav ul a{
   color: #60A9C2;

}

  1. FudanBody .dropdown-content li a{
   color: #60A9C2;

}

  1. FudanBody a{
   text-decoration: none;
   outline: none;
   color: #60A9C2;

}

  1. FudanBody.orangeBg nav ul a{
   color: #F78E41;

}

  1. FudanBody.orangeBg .dropdown-content li a{
   color: #F78E41;

}

  1. FudanBody.orangeBg a{
   color: #F78E41;

}

  1. FudanBody .floatingBtn .btn{
   position: fixed;
   bottom: 40px;
   width: 50px;
   height: 50px;
   padding: 0;
   text-align: center;
   color: white;
   opacity: 0.8;
   z-index: 998;

}

  1. FudanBody .floatingBtn .btn:first-child{
   right: 100px;
   background: #FFE600;

}

  1. FudanBody .floatingBtn .btn:last-child{
   right: 40px;
   background: #60A9C2;

}

  1. FudanBody #nav-mobile li a{
   color: rgba(0,0,0,0.87);
   text-align: center;

}

  1. FudanBody #nav-mobile>li>a{
   font-size: 18px;
   font-weight: 400;
   letter-spacing: 1px;

}

  1. FudanBody #nav-mobile>li>ul a{
   font-size: 14px;
   font-weight: 300;

}

  1. contentBanner div.col{
   color: white;
   padding: 0;

}

  1. contentBanner div.col>h1{
   font-size: 40px;
   text-align: center;
   font-weight: 900;
   border: none;
   color: #FFF;

}

  1. contentBanner div.col>span{
   font-size: 19px;
   margin-right: 20%;
   text-align: justify;
   color: #FFF;

}

  1. contentBanner div.col>h1,
  2. contentBanner div.col>span{
   z-index: 10;

}

  1. figureBannerTitle h1,
  2. figureBannerTitle span{
   color: #fff;

}

  1. figureBannerTitle h1{
   border: none;
   font-size: 80px;
   line-height: 100px;
   font-weight: 900;
   margin-bottom: 10%;

}

  1. figureBannerTitle span{
   font-size: 2rem;
   line-height: 3rem;

} @media only screen and (max-width: 991px){

   #figureBannerTitle h1{
       font-size: 40px;
       font-weight: 900;
       line-height: 60px;
       margin-bottom: 4%;
   }
   #figureBannerTitle span{
       font-size: 1.5rem;
       line-height: 2rem;
   }

}

  1. contentBanner div.col:first-child{
   height: 40%;
   vertical-align: bottom;
   padding: 10% 10% 0 10%;

}

  1. contentBanner div.col:last-child{
   height: 60%;
   vertical-align: top;
   padding: 5% 10%;

}

  1. pageContent .section:first-child h2{
   margin: 40px 0 30px 0;

}

  1. pageContent h2{
    color: #60A9C2;
    font-size: 36px;
    margin: 30px 0 40px 0;
    text-align: center;
}
  1. FudanBody.orangeBg #pageContent h2{
   color: #F78E41;

}

  1. pageContent h3{
   font-size: 28px;
   margin: 30px 0 10px 0;

}

  1. pageContent .section > h3:before{
   content: "▪ ";

}

  1. pageContent #FudanFooter h3:before{
   content: normal;

}

  1. pageContent h4{
   font-size: 24px;
   margin: 50px 0 0 10px;

}

  1. pageContent p,
  2. pageContent .section ul{
   font-size: 19px;
   margin: 23px 0 0 0;
   line-height: 27px;

}

  1. pageContent .section div{
   font-size: 19px;
   line-height: 27px;

}

  1. pageContent p{
   text-align: justify;

}

  1. pageContent #FudanFooter h3{
   margin: 10px 0 10px 0;

}

  1. acknowledgementPhoto span{
   position: absolute;
   bottom: 5%;
   z-index: 10;
   display: none;
   color: #fff;
   background: rgba(0,0,0,0.87);
   font-size: 20px;
   line-height: 24px;

}

  1. FudanFooter #usefulLinks{
   color: #cacaca;
   padding-left: 1rem;

}

  1. FudanFooter #usefulLinks ul{
   font-size: 13px;
   line-height: 14px;
   border-top: solid 2px;
   color: inherit;
   text-decoration: none;
   padding-top: 5px;

}

  1. FudanFooter #usefulLinks div{
   color: #cacaca;

}

  1. FudanFooter #usefulLinks div:hover{
   color: white;

}

  1. FudanFooter #usefulLinks a{
   color: inherit;

}

  1. FudanFooter #usefulLinks a:hover{
   text-decoration: underline;

}

  1. FudanFooter #usefulLinks div.active,
  2. FudanFooter #usefulLinks div.active a{
   color: white;

}

  1. FudanFooter #usefulLinks div.active ul{
   border-top: solid white 2px;

}

  1. FudanFooter #usefulLinks li{
   padding: 3px 0 6px 3px;

}

  1. usefulLinks span{
   font-size: 20px;

}

  1. usefulLinks>div>div{
   padding-left: 1.2rem;

}

  1. FudanFooter div.footer-copyright{
   font-size: 13px;
   line-height: 15px;

}

  1. FudanBody .tableHolder caption{
   font-size: 19px;
   margin-bottom: 2px;

}

  1. FudanBody .tableHolder {
   font-size: 15px;
   line-height: 23px;

}

  1. pageContent .section ul li{
   list-style-type: disc;
   margin: 0 0 0 16px;
   font-size: 19px;
   text-align: justify;

}

  1. pageContent .section ul{
   font-size: 19px;
   margin-top: 23px;

}

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

   #pageContent h2{
       font-size: 26px;
       margin: 20px 0 30px 0;
   }
   #pageContent h3{
       font-size: 20px;
       margin: 20px 0 5px 0;
       list-style-type: disc;
   }
   #pageContent h4{
       font-size: 17px;
       margin: 17px 0 0 10px;
   }
   #pageContent p{
       font-size: 16px;
       margin: 20px 0 0 0;
       line-height: 20px;
   }
   #pageContent .section div{
       font-size: 16px;
       line-height: 20px;
   }
   #pageContent .section ul li{
       font-size: 16px;
   }
   #pageContent .section ul{
       font-size: 16px;
       margin-top: 20px;
   }

}

  1. FudanBody .nameCard h3{
   margin-top: 0;

}

  1. bodyContent #FudanBody a[href^="https://"]{
   padding-right: 0;

}

/*****

  • Structure Styles
          • /
  1. FudanBody img{
   background: rgba(0,0,0,0);

}

  1. content{
   z-index: auto; /* #slide-out is not on the top of all elements when using default z-index number(2) */

} div{

   box-sizing: content-box; /* Solve the conflict between Materialize(inherit) and igem.org default setting */

}

  1. FudanBody div{
   box-sizing: border-box;

}

  1. top_menu_14{
   z-index: 996;

}

  1. globalWrapper{ /* Solve the overflow of login */
   overflow: hidden;
   padding: 0;

}

  1. FudanWrapper {
   position: relative;
   width: 100%;

}

  1. FudanBody {
   position: relative;
   width: 100%;
   overflow: hidden;

}

  1. FudanBody ul{
   margin: 0;
   line-height: inherit;

}

  1. FudanBody img{
   vertical-align: inherit;

}

  1. FudanBody .fa{
   height: inherit;
   line-height: inherit;
   font-size: inherit;

}

  1. FudanBody .container{
   width: 90%;

} @media only screen and (max-width: 600px) {

   #emptyBar{
       height: 56px;
   }

} @media only screen and (min-width: 601px) {

   #emptyBar{
       height: 75px;
   }

}

  1. topNav{
   position: fixed;
   z-index: 995;
   top: 18px;

}

@media only screen and (min-width: 992px){

   #FudanBody.orangeBg #nav-mobile{
       border-top: solid 13px #F78E41;
   }
   #FudanBody #nav-mobile{
       border-top: solid 13px #60A9C2;
       margin-right: 20px;
   }

}

  1. nav-mobile>li>a{
   cursor:default;
   width: 135px;

}

  1. FudanBody #nav-mobile>li:last-child>a{
   width: 50px;
   color: #888;

}

  1. nav-mobile li ul{
   top: 1px;

} @media only screen and (min-width: 600px){

   #nav-mobile li:last-child{
       line-height: 75px;
   }

}

  1. teamLogo{
   padding: 0 40px 0 40px;

}

  1. teamLogo img{
   height: 100%;

}

  1. teamLogo {
   margin: 5px 0;
   height: 46px;

} @media only screen and (min-width: 601px) {

   #teamLogo {
       margin: 5px 0;
       height: 65px;
   }

}

  1. navList{
   line-height: inherit;

}

  1. navList.sidenav-trigger {
   margin: 0 10px;

}

  1. FudanBody .slider .indicators{
   bottom: 60px;
   z-index: 100;

}

  1. homepageDivider{
   width: 100%;
   height: 20px;
   position: relative;
   top: -40px;

}

  1. homepageContent{
   position: relative;
   top: -20px;

}

  1. contentBanner{
   position: relative;
   min-height: 300px;
   background: #60A9C2;
   width: 100%;

}

  1. FudanBody.orangeBg #contentBanner,
  2. FudanBody.orangeBg #slide-out .background{
   background-color: #F78E41;

}

  1. contentBanner div.row{
   height: 100%;

}

  1. figureBannerTitle{
   position: absolute;
   left: 4%;
   bottom: 15%;
   right: 37%;
   background: rgba(0,0,0,0);
   z-index: 10;
   padding: 3%;

} @media only screen and (min-width: 601px){

   #contentBanner.figureBanner{
       min-height: 0;
       background: rgba(0,0,0,0);
   }
   #contentBanner.figureBanner > div:last-child{
       position: absolute;
       width: 100%;
       height: 100%;
       top: 0;
       right: 0;
       overflow: hidden;
       z-index: 9;
   }
   #contentBanner.figureBanner > div:last-child img{
       width: 100%;
   }
   #contentBanner div.col{
       height: 100%;
   }

}

  1. FudanFooter .contactUS{
   display: block;

}

  1. FudanFooter .contactUS > div{
   margin: 5px 0;
   color: rgba(255,255,255,0.8);

}

  1. pageContentNav,
  2. FudanBody .sidenav{
   overflow-y: auto;

}

  1. FudanBody .sidenav{
   height: auto;
   bottom: 0;

} ul#pageContentNav{

   background-color: #fff;
   border: 0;
   position: fixed;
   width: 190px;
   right: 10%;

}

  1. pageContentNav li,
  2. FudanBody .sidenav li{
   float: none;
   line-height: 34px;
   font-size: 19px;
   padding: 0 10px;
   color: #60A9C2;

}

  1. FudanBody.orangeBg #pageContentNav li,
  2. FudanBody.orangeBg .sidenav li{
   color: #F78E41;

}

  1. FudanBody .sidenav .collapsible-header,
  2. FudanBody .sidenav .collapsible-body,
  3. FudanBody .sidenav .collapsible-body li a{
   height: auto;
   line-height: 28px;

}

  1. FudanBody .sidenav li.active .collapsible-header{
   background: #FFE600;

}

  1. FudanBody #pageContent li.onThisPageNav a,
  2. FudanBody.orangeBg #pageContent li.onThisPageNav a,
  3. FudanBody .sidenav li.onThisPageNav > a,
  4. FudanBody.orangeBg .sidenav li.onThisPageNav > a{
   font-size: 15px;
   padding: 0 10px;
   line-height: 24px;
   color: rgba(0,0,0,0.87);
   height: auto;

}

  1. FudanBody #nav-mobile li >a.thisPageLink,
  2. pageContentNav li > a.thisPageLink,
  3. FudanBody .sidenav li > a.thisPageLink {
   background-color: #FFE600;

}

  1. pageContentNav li.onThisPageNav.active,
  2. FudanBody .sidenav li.onThisPageNav.active {
   background-color: rgba(96, 169, 194, 0.05);

}

  1. pageContentNav li > a,
  2. FudanBody .sidenav li > a{
   color: #60A9C2;
   display: block;
   font-size: 19px;
   line-height: 30px;

}

  1. FudanBody.orangeBg #pageContentNav li > a,
  2. FudanBody.orangeBg .sidenav li > a{
   color: #F78E41;

}

  1. pageContentNav li.onThisPageNav > a:hover,
  2. FudanBody .sidenav li.onThisPageNav > a:hover{
   background-color: rgba(96, 169, 194, 0.05);
   border-left: solid #60A9C2 2px;
   transition-duration: 0ms;

}

  1. FudanBody.orangeBg #pageContentNav li.onThisPageNav > a:hover,
  2. FudanBody.orangeBg .sidenav li.onThisPageNav > a:hover{
   background-color: rgba(247, 142, 65, 0.05);
   border-left: solid #F78E41 2px;

}

  1. pageContentNav li.onThisPageNav > a.active,
  2. FudanBody .sidenav li.onThisPageNav > a.active{
   border-left: solid #60A9C2 4px;
   background-color: rgba(96, 169, 194, 0.05);

}

  1. FudanBody.orangeBg #pageContentNav li.onThisPageNav > a.active,
  2. FudanBody.orangeBg .sidenav li.onThisPageNav > a.active{
   border-left: solid #F78E41 4px;
   background-color: rgba(247, 142, 65, 0.05);

} @media only screen and (min-width: 992px) {

   #pageContent main{
       margin: 0 270px 0 0;
   }

}

  1. pageContent{
   display: flex;
   min-height: 100vh;
   flex-direction: column;

}

  1. FudanBody main{
   flex: 1 0 auto;

}

  1. FudanBody .sidenavBanner{
   position: relative;
   padding: 32px 32px 0;
   margin-bottom: 8px;

}

  1. FudanBody .sidenavBanner > a{
   height: auto;
   padding: 0;
   display: block;
   line-height: 48px;

}

  1. FudanBody .sidenavBanner .background{
   overflow: hidden;
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   z-index: -1;

}

  1. slide-out{
   overflow-y: scroll;

}

  1. slide-out .background{
   background: #60A9C2;

}

  1. FudanBody.orangeBg #slide-out .background{
   background: #F78E41;

}

  1. figDescription{
   position: fixed;
   top: 64px;
   width: 100%;
   height: 600px;
   z-index: 900;
   display: none;
   background: white;

}

  1. figDescription .card{
   position: fixed;
   top: 450px;
   left: 50px;
   width: 30%;
   border-radius: 10px;
   overflow: hidden;
   opacity: 0.95;

}

  1. FudanBody .section{
   margin-top: 50px;

}

  1. FudanBody .section:first-child{
   margin-top: 70px;

}

  1. FudanBody .section:last-child{
   margin-bottom: 150px;

}

  1. FudanBody #abstractContent{
   width: 300px;
   height: 300px;
   position: fixed;
   background: #fff;
   left:50%;
   top:50%;
   margin: -150px 0 0 -150px;
   overflow-y: scroll;
   border-radius: 10px;
   padding: 30px 0 20px 0;
   display: none;
   z-index: 998;

}

  1. FudanBody #abstractContent > a{
   height: 30px;
   width: 30px;
   position: absolute;
   right:10px;
   top:10px;

} @media only screen and (min-width: 601px) and (min-height: 501px) {

   #FudanBody #abstractContent{
       width: 700px;
       height: 500px;
       margin: -250px 0 0 -350px;
   }
   #FudanBody #abstractContent > a{
       font-size: 40px;
       line-height: 40px;
       position: absolute;
       right:20px;
       top:20px;
   }

}

  1. acknowledgementPhoto{
   width: 100%;
   position: relative;

}

  1. acknowledgementPhoto > div{
   width: 100%;
   position: relative;
   vertical-align: top;

}

  1. acknowledgementPhoto div.row >div{
   position: relative;
   padding: 0 10px;
   margin: 10px 0;
   overflow: hidden;
   text-align: center;
   bottom: 0;

}

  1. acknowledgementPhoto img{
   width: 100%;

}

  1. FudanBody .z-depth-0_5{
   -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 2px 0 -1px rgba(0, 0, 0, 0.16), 0 1px 3px 0 rgba(0, 0, 0, 0.22);
   box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 2px 0 -1px rgba(0, 0, 0, 0.16), 0 1px 3px 0 rgba(0, 0, 0, 0.22);

}

  1. FudanFooter img{
   margin: 5px 0;

}

  1. FudanFooter div.row{
   margin: 5px 0;
   padding: 0;

}

  1. FudanFooter div.row > img{
   padding: 0 2%;

}

  1. FudanFooter #sponsor{
   margin-top: 35px;

}

  1. pageContent p>img{
   width: 100%;
   margin: 0;

} @media only screen and (min-width: 601px) {

   #pageContent .left-on-med-and-up{
       float: left;
       margin: 1% 3% 1% 0;
   }
   #pageContent .right-on-med-and-up{
       float: right;
       margin: 1% 0 1% 3%;
   }
   #pageContent .width20{
       width: 20%;
   }
   #pageContent .width30{
       width: 30%;
   }
   #pageContent .width40{
       width: 40%;
   }
   #pageContent .width45{
       width: 45%;
   }

}

  1. pageContent .section .row {
   margin: 25px 0 0 0;

}

  1. FudanBody .FudanGallery{
   position: relative;
   width: 70%;

}

  1. FudanBody .FudanGallery > .galleryActive{
   width: 100%;

}

  1. FudanBody .FudanGallery > .galleryActive img{
   width: 100%;

}

  1. FudanBody .FudanGallery > .galleryThumbnail{
   position: relative;
   width: 100%;
   margin: 0;
   overflow-x: scroll;
   overflow-y: hidden;
   white-space: nowrap;

}

  1. FudanBody .FudanGallery > .galleryThumbnail::-webkit-scrollbar{
   display: none;

}

  1. FudanBody .FudanGallery > .galleryThumbnail img{
   width: 15%;
   display: inline-block;
   opacity: 0.7;
   cursor: pointer;

} @media only screen and (max-width: 991px){

   #FudanBody .FudanGallery > .galleryThumbnail img{
       width: 22%;
   }

}

  1. FudanBody .FudanGallery > .galleryBtnLeft,
  2. FudanBody .FudanGallery > .galleryBtnRight{
   position: absolute;
   width: 40px;
   height: 40px;
   border-radius: 50%;
   background: rgba(0,0,0,0.7);
   color: white;
   font-size: 30px;
   line-height: 35px;
   text-align: center;
   bottom: 3%;
   cursor: pointer;

}

  1. FudanBody .FudanGallery > .galleryBtnLeft{
   left: 2%;

}

  1. FudanBody .FudanGallery > .galleryBtnRight{
   right: 2%;

}

  1. FudanBody .tableHolder{
   width: 100%;
   margin: 20px 0 30px 0;

} @media only screen and (max-width: 991px) {

   #FudanBody .tableHolder{
       overflow-x: scroll;
       overflow-y: hidden;
   }

}

  1. FudanBody .tableHolder td,
  2. FudanBody .tableHolder th{
   padding: 0 5px;

}

  1. FudanBody .tableHolder th{
   text-align: center;

}

  1. FudanBody .figureHolder{
   margin: 20px auto 30px auto;

}

  1. FudanBody #pageContent .nameCard{
   margin-top: 80px;
   overflow: hidden;

} @media only screen and (min-width: 991px){

   #FudanBody #pageContent .nameCard{
       max-height: 300px;
   }

}

  1. FudanBody #pageContent .nameCard h3,
  2. FudanBody #pageContent .nameCard p,
  3. FudanBody #pageContent .nameCard{

}

  1. FudanBody #pageContent .nameCard img{
   width: 100%;

}

/*****

  • print media
          • /

@media print{

   #topNav{display: none}
   #pageContentNav{display: none}
   #FudanFooter{display: none}
   #pageContent{margin: 100px}
   #top_menu_14{display: none}
   #emptyBar{display: none}
   #FudanBody .fixed-action-btn{display: none}
   #FudanBody .switch{display: none}

}