Difference between revisions of "Team:LZU-China/chz style2"

Line 13: Line 13:
  
 
p {
 
p {
   font-size:2em;
+
   font-size:1.2em;
 
   line-height: 2rem;
 
   line-height: 2rem;
 
}
 
}

Revision as of 09:30, 16 September 2015

/* Custom Stylesheet */ /**

* Use this file to override Materialize files so you can update
* the core Materialize files in the future
*
* Made By MaterializeCSS.com
*/

nav ul a, nav .brand-logo {

 color: #444;

}

p {

 font-size:1.2em;
 line-height: 2rem;

}

.button-collapse {

 color: #26a69a;

}

.parallax-container {

 min-height: 380px;
 line-height: 0;
 height: auto;
 color: rgba(255,255,255,.9);

}

 .parallax-container .section {
   width: 100%;
 }

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

 .parallax-container .section {
   position: absolute;
   top: 40%;
 }
 #index-banner .section {
   top: 10%;
 }

}

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

 #index-banner .section {
   top: 0;
 }

}


.icon-block {

 padding: 0 15px;

}

footer.page-footer {

 margin: 0;

}


/*** 下面开始修改万恶的CSS!

      • /

/*改造igem 中 main.css里面对ul的控制!!!!*/

ul {

 list-style-image:none !important;
 line-height: inherit !important;
 list-style-type: none !important; 

}


ul {

 padding: 0 !important; }
 ul li {
   list-style-type: none !important; }


/*修改main.css。i,对body字体的修改*/ body {

 font: none !important;
 font-family: "Roboto", sans-serif !important;

}

a:visited{

 color: #474646 !important;

} a:hover {

   text-decoration: none !important;

}

  1. globalWrapper {
 font-size: none !important;

}

h1, h2, h3, h4, h5, h6 {

 /*clear:both !important;*/
 color: none !important;
 border-bottom:none !important;

}


h1, h2, h3, h4, h5, h6 {

 font-weight: 400; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {

 font-weight: inherit; }

h1 {

 font-size: 4.2rem;
 line-height: 4.62rem;
 margin: 2.1rem 0 1.68rem 0; }

h2 {

 font-size: 3.56rem;
 line-height: 3.916rem;
 margin: 1.78rem 0 1.424rem 0; }

h3 {

 font-size: 2.92rem;
 line-height: 3.212rem;
 margin: 1.46rem 0 1.168rem 0; }

h4 {

 font-size: 2.28rem;
 line-height: 2.508rem;
 margin: 1.14rem 0 0.912rem 0; }

h5 {

 font-size: 1.64rem;
 line-height: 1.804rem;
 margin: 0.82rem 0 0.656rem 0; }

h6 {

 font-size: 1rem;
 line-height: 1.1rem;
 margin: 0.5rem 0 0.4rem 0; }


 /***
 开始由我自己的专属格式
 ***/
 .pure {
   color: #FFFFFF !important;
 }


 .bgbanner{
   background-color: #26A69A !important;
 }
 .sidelist{
   margin-left: 20px;
 }
 .bl {
   border-left-width: 5px;
   border-left-color: red;
 }
 .avat {
   margin-left: -21px;
 }
 .avatr {
     float: right;
     margin-right: -21px;
 }

.teamblock {

   height: 384px;
   background-color: antiquewhite;

} /***headroom的用法

      • /

.headroom {position: fixed;top: 0;left: 0;right: 0;transition: all .2s ease-in-out;}

   .headroom--unpinned {top: -100px;}
   .headroom--pinned {top: 0;}

.inorder { margin-top: 64px; }