Difference between revisions of "Template:Fudan/CSS"

Line 14: Line 14:
 
*Structure Styles
 
*Structure Styles
 
*****/
 
*****/
 +
div{
 +
    box-sizing: content-box; /* Solve the conflict between Materialize(inherit) and igem.org default setting */
 +
}
 +
#FudanBody div{
 +
    box-sizing: border-box;
 +
}
 +
.sponsorsImg img{
 +
    width: 100%;
 +
}
 +
#top_menu_14{
 +
    position: absolute; /* Override the default fixed login bar */
 +
}
 +
#globalWrapper{ /* Solve the overflow of login */
 +
    overflow: hidden;
 +
    padding: 0;
 +
}
 
#FudanWrapper {
 
#FudanWrapper {
     position: relative;
+
     position: absolute;
 
     width: 100%;
 
     width: 100%;
 
}
 
}
 
#FudanBody {
 
#FudanBody {
     position: relative;
+
     position: absolute;
 
     width: 100%;
 
     width: 100%;
 
     overflow: hidden;
 
     overflow: hidden;
Line 26: Line 42:
 
     text-decoration: none;
 
     text-decoration: none;
 
     outline: none;
 
     outline: none;
 +
}
 +
#FudanBody ul{
 +
    margin: 0;
 +
}
 +
#FudanBody img{
 +
    vertical-align: inherit;
 
}
 
}
 
#FudanBody .fa{
 
#FudanBody .fa{
Line 63: Line 85:
 
     right: 23px;
 
     right: 23px;
 
     bottom: 23px;
 
     bottom: 23px;
}
 
div{
 
    box-sizing: content-box;
 
}
 
#FudanBody ul{
 
    margin: 0;
 
    line-height: inherit;
 
}
 
#FudanBody img{
 
    vertical-align: inherit;
 
}
 
#top_menu_14{
 
    position: absolute; /* Override the default fixed login bar */
 
}
 
#globalWrapper{ /* Solve the overflow of login */
 
    overflow: hidden;
 
    padding: 0;
 
 
}
 
}

Revision as of 09:52, 29 July 2018

/*****

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

}

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

}

/*****

  • Structure Styles
          • /

div{

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

}

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

} .sponsorsImg img{

   width: 100%;

}

  1. top_menu_14{
   position: absolute; /* Override the default fixed login bar */

}

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

}

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

}

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

}

  1. FudanBody a{
   text-decoration: none;
   outline: none;

}

  1. FudanBody ul{
   margin: 0;

}

  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. 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;

}