Line 1: | Line 1: | ||
+ | body{ min-width: 1366px; min-height: 380px; position: relative;} | ||
+ | |||
.SSTi-SZGD{ background: url(https://static.igem.org/mediawiki/2017/3/3d/SSTi-SZGD_banner.jpeg) no-repeat 0px 0px; min-height: 380px; 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: 380px; background-size: cover; padding-top: 15px;} | ||
/*自定义header*/ | /*自定义header*/ | ||
− | |||
.header .nav .Home span{ color: #FAEE0D;} | .header .nav .Home span{ color: #FAEE0D;} | ||
.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: 785px; padding: 30px; border-top: 5px solid white; border-bottom: 5px solid white; word-break: break-word; margin: auto;} |
Revision as of 04:13, 31 July 2017
body{ min-width: 1366px; min-height: 380px; position: relative;}
.SSTi-SZGD{ background: url() no-repeat 0px 0px; min-height: 380px; 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: 785px; padding: 30px; border-top: 5px solid white; border-bottom: 5px solid white; word-break: break-word; margin: auto;}