|
|
(43 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | body{ min-width: 1200px !important;} | + | body{ min-width: 1024px; min-height: 489px; position: relative;} |
− |
| + | |
− | #HQ_page .SSTi-SZGD{ background: url(https://static.igem.org/mediawiki/2017/3/3d/SSTi-SZGD_banner.jpeg) no-repeat 0px 0px; background-size: cover; min-height: 790px; padding-top: 15px;}
| + | |
| | | |
− | /*自定义header*/
| + | .SSTi-SZGD img{ width: 100%;} |
− | #HQ_page .header .nav .Home{ margin-right: 20px;}
| + | |
− | #HQ_page .header .nav .Home span{ border-top: 4px solid #FAEE0D; color: #FAEE0D;}
| + | |
| | | |
− | #HQ_page .Project_Introduction{ background: #EEEEEE; width: 100%; height: 1000px; padding: 60px 100px 0 100px !important; text-align: justify;}
| + | /*custom header*/ |
− | #HQ_page .Project_Introduction .title{ font-size: 2.8rem !important; color: black; margin-bottom: 25px !important; font-weight: bold;}
| + | .header{ position: absolute; margin-top: 15px;} |
− | #HQ_page .Project_Introduction .top{ width: 100%; margin-bottom: 20px !important; display: block;}
| + | .header .nav .Home span{ color: #FAEE0D;} |
− | #HQ_page .Project_Introduction .top .img{ width: 530px; height: 340px; float: left; margin-right: 50px !important; background: url(https://static.igem.org/mediawiki/2017/5/59/SSTi-SZGD_background_Project_Introduction.png) no-repeat center;}
| + | |
− | #HQ_page .Project_Introduction .top .content{ width: 565px; float: left; line-height: 2.5rem;}
| + | |
− | #HQ_page .Project_Introduction .top .content p{ color: #555; margin-top: 35px !important; font-size: 1.8rem !important;}
| + | |
| | | |
− | #HQ_page .Project_Introduction .bottom{ width: 100%; margin-bottom: 20px !important;}
| + | |
− | #HQ_page .Project_Introduction .bottom .img{ width: 565px; height: 350px; float: left; background: url(https://static.igem.org/mediawiki/2017/0/02/SSTi-SZGD_background_Project_Introduction2.png) no-repeat center; margin-top: 85px !important;}
| + | /*--1190--*/ |
− | #HQ_page .Project_Introduction .bottom .content{ width: 530px; float: left; line-height: 2.5rem; margin-right: 50px !important;}
| + | @media only screen and (max-width: 1190px) { |
− | #HQ_page .Project_Introduction .bottom .content p{ color: #555; font-size: 1.8rem !important; margin-top: 35px !important;}
| + | html{ font-size: 50%;} |
| + | .header .logo span{ margin: 15px 0;} |
| + | .header .nav .Project{ width: 100px;} |
| + | .header .nav .Application{ width: 100px;} |
| + | .header .nav .Human_Practices{ width: 140px;} |
| + | .header .nav .Achievement{ width: 120px;} |
| + | .header .nav .Team{ width: 95px;} |
| + | .header .nav .mainnav span{ padding-top: 8.5px; margin-bottom: 21px;} |
| + | } |
Latest revision as of 10:53, 29 October 2017
body{ min-width: 1024px; min-height: 489px; position: relative;}
.SSTi-SZGD img{ width: 100%;}
/*custom header*/
.header{ position: absolute; margin-top: 15px;}
.header .nav .Home span{ color: #FAEE0D;}
/*--1190--*/
@media only screen and (max-width: 1190px) {
html{ font-size: 50%;}
.header .logo span{ margin: 15px 0;}
.header .nav .Project{ width: 100px;}
.header .nav .Application{ width: 100px;}
.header .nav .Human_Practices{ width: 140px;}
.header .nav .Achievement{ width: 120px;}
.header .nav .Team{ width: 95px;}
.header .nav .mainnav span{ padding-top: 8.5px; margin-bottom: 21px;}
}