Difference between revisions of "Team:SSTi-SZGD/css/Home"

Line 1: Line 1:
body{ min-width: 1366px; min-height: 465px; position: relative;}
+
body{ min-width: 1347px; min-height: 465px; position: relative;}
  
 
.SSTi-SZGD{ background: url(https://static.igem.org/mediawiki/2017/3/3d/SSTi-SZGD_banner.jpeg) no-repeat 0px 0px; min-height: 465px; background-size: cover; padding-top: 15px;}
 
.SSTi-SZGD{ background: url(https://static.igem.org/mediawiki/2017/3/3d/SSTi-SZGD_banner.jpeg) no-repeat 0px 0px; min-height: 465px; background-size: cover; padding-top: 15px;}
Line 7: Line 7:
  
 
.topic{ position: absolute; margin: auto; left: 0; right: 0; text-align: center; font-size: 5rem; color: white;}
 
.topic{ position: absolute; margin: auto; left: 0; right: 0; text-align: center; font-size: 5rem; color: white;}
.topic p{ width: 785px; padding: 30px; border-top: 5px solid white; border-bottom: 5px solid white; word-break: break-word; margin: auto;}
+
.topic p{ width: 58.28%; padding: 30px; border-top: 5px solid white; border-bottom: 5px solid white; margin: auto;}
  
 
/*Abstract*/
 
/*Abstract*/

Revision as of 09:03, 2 August 2017

body{ min-width: 1347px; min-height: 465px; position: relative;}

.SSTi-SZGD{ background: url(SSTi-SZGD_banner.jpeg) no-repeat 0px 0px; min-height: 465px; background-size: cover; padding-top: 15px;}

/*自定义header*/ .header .nav .Home span{ color: #FAEE0D;}

.topic{ position: absolute; margin: auto; left: 0; right: 0; text-align: center; font-size: 5rem; color: white;} .topic p{ width: 58.28%; padding: 30px; border-top: 5px solid white; border-bottom: 5px solid white; margin: auto;}

/*Abstract*/ .Content{ width: 100%; height: 500px; background: #333333; display: block;} .Abstract{ background: url(SSTi-SZGD_background_Abstract.png) no-repeat 0px 0px; background-size: cover; padding: 50px 0; display: none;} .Abstract p{ width: 80%; font-size: 3rem; margin: auto; background: rgba(0,0,0,0.3); color: white; padding: 20px 2%; text-align: justify;}