Difference between revisions of "Team:CityU HK/Template/parallax css"

Line 12: Line 12:
 
       /* top:100px;*/
 
       /* top:100px;*/
 
padding: 0;
 
padding: 0;
 +
        padding-bottom:-100px;
 
width: 100%;
 
width: 100%;
 
}
 
}
Line 44: Line 45:
 
z-index: 1;
 
z-index: 1;
 
position: relative;
 
position: relative;
}
+
}
 
+
  
 +
.p-white {color:#ffffff;}
 +
.p-grey {  color:#585757;} 
  
 
.center { margin: 0 auto; }
 
.center { margin: 0 auto; }
Line 69: Line 71:
 
}
 
}
  
.p-white {color:#ffffff;}
 
.p-grey {  color:#585757;}
 
 
 
 
  .author_name_white { font-family:"Alegreya Sans";  margin: 70px 0 0 70px; color: #fff; font-size: 4em; }   
 
  .author_name_white { font-family:"Alegreya Sans";  margin: 70px 0 0 70px; color: #fff; font-size: 4em; }   
 
  .author_name_black { font-family:"Alegreya Sans";  margin: 70px 0 0 70px; color: #222222; font-size: 4em;}   
 
  .author_name_black { font-family:"Alegreya Sans";  margin: 70px 0 0 70px; color: #222222; font-size: 4em;}   
 
  .quotes_container { width: 800px; margin: 0 auto;}
 
  .quotes_container { width: 800px; margin: 0 auto;}
 
 
 
 
/*= BUTTONS
 
--------------------------------------------------------*/
 
 
button.btn-know {
 
padding: 15px 47px;
 
margin: 40px 38.8%;
 
text-align: center;
 
border: 4px solid #fff;
 
color: #fff;
 
background: transparent;
 
font-size: 19px;
 
cursor: pointer;
 
text-shadow: -1px 2px 0px rgba(90, 90, 90, 0.56);
 
-webkit-border-radius: 4px;
 
border-radius: 4px;
 
}
 
 
.btn-know:hover { background: #fff; color: transparent; }
 
ul.built { list-style: none; margin: 0 auto; width: 730px; }
 
.built li img{ float: left; padding-right: 34px; }
 
 
  
  
Line 161: Line 135:
 
         width:150px;
 
         width:150px;
 
       /* background:url('https://static.igem.org/mediawiki/2015/a/ac/2015CityU_HK_homepic.jpeg');
 
       /* background:url('https://static.igem.org/mediawiki/2015/a/ac/2015CityU_HK_homepic.jpeg');
         background-size: 150px 150px;
+
         background-size: 180px 180px;
 
         background-repeat: no-repeat;*/
 
         background-repeat: no-repeat;*/
 
}
 
}
Line 168: Line 142:
 
#student {
 
#student {
 
         background:url('https://static.igem.org/mediawiki/2015/a/ac/2015CityU_HK_homepic.jpeg');
 
         background:url('https://static.igem.org/mediawiki/2015/a/ac/2015CityU_HK_homepic.jpeg');
         background-size: 150px 150px;
+
         background-size: 180px 180px;
 
         background-repeat: no-repeat;
 
         background-repeat: no-repeat;
 
}
 
}
 
#instructor {
 
#instructor {
 
         background:url('https://static.igem.org/mediawiki/2015/a/ac/2015CityU_HK_homepic.jpeg');
 
         background:url('https://static.igem.org/mediawiki/2015/a/ac/2015CityU_HK_homepic.jpeg');
         background-size: 150px 150px;
+
         background-size: 180px 180px;
 
         background-repeat: no-repeat;
 
         background-repeat: no-repeat;
 
}
 
}
 
#advisor {
 
#advisor {
 
         background:url('https://static.igem.org/mediawiki/2015/a/ac/2015CityU_HK_homepic.jpeg');
 
         background:url('https://static.igem.org/mediawiki/2015/a/ac/2015CityU_HK_homepic.jpeg');
         background-size: 150px 150px;
+
         background-size: 180px 180px;
 
         background-repeat: no-repeat;
 
         background-repeat: no-repeat;
 
}
 
}

Revision as of 14:17, 16 September 2015

/* Theme Name: Simple Parallax Website Description: Simple Parallax Scrolling Effect Author: Samuel Dalusung

  • /

/*= GENERAL STYLING


*/

body{ margin: 0;

      /* top:100px;*/

padding: 0;

       padding-bottom:-100px;

width: 100%; }

.content h1 {

   font-family:"Arvo";

font-weight:normal; font-size: 55px; text-align: center; color: #fff; margin: 0; padding: 0; }

.content h2 {

  font-family:"Arvo";
  font-weight: normal;
  font-size: 40px;
  text-align: center;
  color: #fff;
  margin: 0;
  padding: 0;

}

.content p {

  font-family: 'Alegreya Sans', sans-serif;
  font-weight: normal;
  font-size: 1.5em;
  text-align: left;
  margin: 5px 0;

padding: 0; z-index: 1; position: relative; }

.p-white {color:#ffffff;} .p-grey { color:#585757;}

.center { margin: 0 auto; } .content{ margin: 0 auto; width: 980px; } .clear { clear: both; } a.lpanel { float: left; color: #e1e1e1; font-size: 12px; font-family:"Wellfleet"; text-decoration: none; margin: 7px 11px; } a.rpanel { float: right; color: #e1e1e1; font-size: 12px; font-family:"Wellfleet"; text-decoration: none; margin: 7px 11px; }

a.lpanel:hover{ color: #fff; } a.rpanel:hover{ color: #fff; }


/*= QUOTES AND SOME ELEMENTS


*/

.quotes {

font-family: 'Goudy Bookletter 1911', serif;
  font-weight: normal;
  font-size: 1em;
 text-align: left;
 margin: 50px auto;

}

.author_name_white { font-family:"Alegreya Sans";  margin: 70px 0 0 70px; color: #fff; font-size: 4em; }  
.author_name_black { font-family:"Alegreya Sans";  margin: 70px 0 0 70px; color: #222222; font-size: 4em;}  
.quotes_container { width: 800px; margin: 0 auto;}


/*= SLIDES STYLING


*/
  1. slide1, #slide2{ width: 100%;}
  2. slide1{

background:url('https://static.igem.org/mediawiki/2015/a/ac/2015CityU_HK_homepic.jpeg') 50% 0 no-repeat fixed; color: #fff; height:800px; margin: 0; padding: 200px 0 260px 0; background-size: cover; }

  1. slide2{

background-color: #ecf0f1; color: #333333;

       text-align:left;

height: 600px; margin: 0 auto; overflow: hidden; padding: 50px 0; }

  1. slide3{

background: url('https://static.igem.org/mediawiki/2015/8/89/2015CityU_HK_schoolvisit_slide.jpeg') 50% 0 no-repeat fixed; color: #fff; height: 600px; padding: 170px 0 0 0; background-size: cover; }

  1. slide4{

background-color:#ecf0f1; color: #333333; height: 600px; padding: 50px 0; }

  1. slide5{

background: url('https://static.igem.org/mediawiki/2015/5/5a/2015CityU_HK_result.png') 50% 0 no-repeat fixed; height: 600px; margin: 0; padding-top: 70px; color: #fff; background-size: cover; }

/********************** CIRCULAR PIC ***********************/

  1. circle-container {
       text-align:center;

}

.circle {

       border-radius:50%;
       float:left;
       margin:50px;
       height:150px;
       width:150px;
      /* background:url('https://static.igem.org/mediawiki/2015/a/ac/2015CityU_HK_homepic.jpeg');
       background-size: 180px 180px;
       background-repeat: no-repeat;*/

} .circle:hover {opacity: 0.4;ilter: alpha(opacity=40);}

  1. student {
       background:url('https://static.igem.org/mediawiki/2015/a/ac/2015CityU_HK_homepic.jpeg');
       background-size: 180px 180px;
       background-repeat: no-repeat;

}

  1. instructor {
       background:url('https://static.igem.org/mediawiki/2015/a/ac/2015CityU_HK_homepic.jpeg');
       background-size: 180px 180px;
       background-repeat: no-repeat;

}

  1. advisor {
       background:url('https://static.igem.org/mediawiki/2015/a/ac/2015CityU_HK_homepic.jpeg');
       background-size: 180px 180px;
       background-repeat: no-repeat;

}