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

 
(33 intermediate revisions by 2 users not shown)
Line 1: Line 1:
.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;}
+
body{ min-width: 1024px; min-height: 489px; position: relative;}
  
/*自定义header*/
+
.SSTi-SZGD img{ width: 100%;}
.header .nav .Home{ margin-right: 20px;}
+
 
 +
/*custom header*/
 +
.header{ position: absolute; margin-top: 15px;}
 
.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 p{ width: 785px; padding: 30px; border-top: 5px solid white; border-bottom: 5px solid white; word-break: break-word; margin: auto;}
+
/*--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;}
 +
}

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;} }