RandolphLiu (Talk | contribs) (minor on sponsor styles) |
|||
(14 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
margin-top: 70px; | margin-top: 70px; | ||
padding: 0; | padding: 0; | ||
− | width: 100; | + | width: 100%; |
} | } | ||
#globalWrapper { | #globalWrapper { | ||
Line 18: | Line 18: | ||
font-size: 100%; | font-size: 100%; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 163: | Line 40: | ||
padding: 0; | padding: 0; | ||
width: 100%; | width: 100%; | ||
− | height: | + | height: 600px; |
} | } | ||
.banner-pic { | .banner-pic { | ||
Line 232: | Line 109: | ||
margin-top: 76.8px; | margin-top: 76.8px; | ||
} | } | ||
+ | |||
/* CONTENT */ | /* CONTENT */ | ||
.content-wrapper { | .content-wrapper { | ||
width: 100%; | width: 100%; | ||
− | padding :0; | + | padding: 0; |
margin: 0; | margin: 0; | ||
} | } | ||
Line 241: | Line 119: | ||
width:100%; | width:100%; | ||
height: 400px; | height: 400px; | ||
+ | /*background-color: #542426;*/ | ||
background-color: white; | background-color: white; | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
− | |||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
Line 256: | Line 134: | ||
font-family: "Helvetica Neue",Arial; | font-family: "Helvetica Neue",Arial; | ||
text-align: center; | text-align: center; | ||
− | color: # | + | color: #c23616; |
} | } | ||
.content-text { | .content-text { | ||
Line 268: | Line 146: | ||
line-height: 2.4rem; | line-height: 2.4rem; | ||
text-align: left; | text-align: left; | ||
+ | /*color: #dbba84;*/ | ||
} | } | ||
.content-text-wrapper { | .content-text-wrapper { | ||
Line 282: | Line 161: | ||
float: left; | float: left; | ||
text-align: center; | text-align: center; | ||
+ | } | ||
+ | #content-block-1 { | ||
+ | background-color: #f7f7f7; | ||
} | } | ||
#content-block-1 video { | #content-block-1 video { | ||
Line 287: | Line 169: | ||
display: inline-block; | display: inline-block; | ||
margin-top: 40px; | margin-top: 40px; | ||
− | |||
− | |||
− | |||
} | } | ||
#content-block-2 .content-text-wrapper { | #content-block-2 .content-text-wrapper { | ||
Line 304: | Line 183: | ||
} | } | ||
#content-block-3 { | #content-block-3 { | ||
+ | position: relative; | ||
background-color: #f7f7f7; | background-color: #f7f7f7; | ||
height: 450px; | height: 450px; | ||
+ | } | ||
+ | #content-block-3 > .content-text-wrapper { | ||
+ | position: absolute; | ||
+ | } | ||
+ | #content-block-3 img { | ||
+ | height: 100%; | ||
+ | float: right; | ||
} | } | ||
#content-block-4 { | #content-block-4 { | ||
Line 343: | Line 230: | ||
} | } | ||
#content-block-5 { | #content-block-5 { | ||
− | height: | + | height: 220px; |
+ | text-align: center; | ||
+ | background: #ffffff; | ||
} | } | ||
#content-block-5 .content-title:before { | #content-block-5 .content-title:before { | ||
display: none; | display: none; | ||
} | } | ||
− | + | .sponsor-img { | |
− | + | display: inline-block; | |
− | + | position: relative; | |
− | + | top: -20px; | |
− | . | + | /*opacity: 0;*/ |
+ | padding: 0 5.0rem 0 5.0rem; | ||
margin: 0; | margin: 0; | ||
− | + | height: 75px; | |
− | + | vertical-align: top; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } |
Latest revision as of 01:10, 18 October 2018
- universal-wrapper {
margin-top: 70px; padding: 0; width: 100%;
}
- globalWrapper {
padding: 0;
}
- mw-content-text p {
margin: 0;
} body {
margin: 0; padding: 0; min-width: 1200px;
} html {
font-size: 100%;
}
/* BANNER */
.banner-pic-wrapper {
margin: 0; padding: 0; width: 100%; height: 700px; overflow: hidden; position: fixed; /*margin-top: 74px;*/ /* igem menu bar 20px, navigation bar 54px */ top: 0; z-index: -100;
} .banner-dummy {
margin: 0; position: relative; /* igem menu bar 20px, navigation bar 54px */ margin-top: 74px; padding: 0; width: 100%; height: 600px;
} .banner-pic {
margin: 0; padding: 0; width: 100%; position: absolute;
} .banner-pic:not(.active) {
display: none;
} .banner-text {
position: absolute; border: none; top: 20%; width: 100%; left: 0; right: 0; margin: 0 auto 0 auto; padding: 0; min-height: 160px; font-size: 120px; letter-spacing: 0.4em; font-family: Ubuntu,"Helvetica Neue", Arial; font-weight: bolder; text-align: center;
} .banner-text span {
opacity: 0; margin: 0; padding: 0;
}
- text-d {
color: #d35400;
}
- text-e {
color: #f1c40f;
}
- text-cose {
color: white;
} .banner-sub-text {
opacity: 0; position: absolute; padding: 0; top: 45%; width: 60%; margin: 0 20% 0 20%; font-size: 32px; line-height: 1.4em; letter-spacing: 0.1em; font-family: Lato,"Helvetica Neue",Arial; font-weight: bolder; text-align: center; color: white;
} .banner-up-arrow {
display: none; position: absolute; left: 0; right: 0; margin: 0 auto 0 auto; width: 120px; height: 80px; opacity: 0.8; bottom: 3%; z-index: 50;
} header + div.container {
margin-top: 76.8px;
}
/* CONTENT */ .content-wrapper {
width: 100%; padding: 0; margin: 0;
} .content-block {
width:100%; height: 400px; /*background-color: #542426;*/ background-color: white; margin: 0; padding: 0; overflow: hidden;
} .content-title {
opacity: 0; position: relative; top: -40px; margin: 0; padding: 0.8em 0 0.8em 0; font-size: 2.6rem; font-family: "Helvetica Neue",Arial; text-align: center; color: #c23616;
} .content-text {
opacity: 0; position: relative; left: -100px; margin: 0; padding: 0.8em 0 0.8em 0; font-family: Ubuntu,"Helvetica Neue",Arial; font-size: 1.2rem; line-height: 2.4rem; text-align: left; /*color: #dbba84;*/
} .content-text-wrapper {
width: 55%; height: 100%; margin: 0; padding: 0 7% 0 7%; float: left;
} .content-pic-wrapper {
width: 45%; height: 100%; margin: 0; float: left; text-align: center;
}
- content-block-1 {
background-color: #f7f7f7;
}
- content-block-1 video {
width: 600px; display: inline-block; margin-top: 40px;
}
- content-block-2 .content-text-wrapper {
float: right;
}
- content-block-2 img {
height: 100%;
}
- content-block-2 {
height: 450px;
}
- content-block-2 .content-text {
left: 100px;
}
- content-block-3 {
position: relative; background-color: #f7f7f7; height: 450px;
}
- content-block-3 > .content-text-wrapper {
position: absolute;
}
- content-block-3 img {
height: 100%; float: right;
}
- content-block-4 {
height: 140px;
}
- content-block-4 .content-title {
margin: 0; width: 40%; text-align: center; float: right;
}
- content-block-4 .content-title:before {
display: none;
}
- content-block-4 .content-text {
margin: 0; width: 60%; text-align: center; float: right; font-size: 1.7rem;
}
- content-block-dummy {
overflow: hidden; background: transparent;
}
- content-block-4-pic {
display: none; height: 650px; position: fixed; z-index: -1; bottom: 0;
}
- content-pic-team {
width: 100%; margin: 0; padding: 0;
}
- content-block-5 {
height: 220px; text-align: center; background: #ffffff;
}
- content-block-5 .content-title:before {
display: none;
} .sponsor-img {
display: inline-block; position: relative; top: -20px; /*opacity: 0;*/ padding: 0 5.0rem 0 5.0rem; margin: 0; height: 75px; vertical-align: top;
}