Difference between revisions of "Template:Fudan/CSS"

Line 16: Line 16:
 
div{
 
div{
 
     box-sizing: content-box; /* Solve the conflict between Materialize(inherit) and igem.org default setting */
 
     box-sizing: content-box; /* Solve the conflict between Materialize(inherit) and igem.org default setting */
 +
    position: relative;
 
}
 
}
 
#FudanBody div{
 
#FudanBody div{

Revision as of 11:18, 29 July 2018

/*****

  • Font Styles
          • /
  1. FudanBody .slides h3{
   color: #ff8c28;
   font: 40px Futura;

}

  1. FudanBody .slides h5{
   color: #ff7617;
   font: 20px Futura;

}

/*****

  • Structure Styles
          • /

div{

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

}

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

} .sponsorsImg img{

   width: 100%;

}

  1. top_menu_14{
   position: absolute; /* Override the default fixed login bar */
   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 a{
   text-decoration: none;
   outline: none;

}

  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. teamLogo{
   padding: 0 40px 0 40px;

}

  1. FudanBody header {
   position: relative;
   width:100%;
   z-index: 999;

}

  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. toolBoxBtn ul li a{
   font-size: 20px;

}

  1. toolBoxBtn_large{
   position: absolute;
   right: 23px;
   bottom: 23px;

}

  1. contactUS li{
   display: block;
   margin: 5px 0;

}