|
|
(4 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | body,
| |
− | html {
| |
− | width: 100%;
| |
− | height: 100%;
| |
− | }
| |
| | | |
− | body,
| |
− | h1,
| |
− | h2,
| |
− | h3,
| |
− | h4,
| |
− | h5,
| |
− | h6 {
| |
− | font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
| |
− | font-weight: 700;
| |
− | }
| |
− |
| |
− | .static-intro-header {
| |
− | height: 100%;
| |
− | }
| |
− |
| |
− | .intro-header {
| |
− | padding-top: 50px;
| |
− | padding-bottom: 50px;
| |
− | text-align: center;
| |
− | color: #f8f8f8;
| |
− | background: url(https://2017.igem.org/File:Ron-cook.jpg) no-repeat center center;
| |
− | background-size: cover;
| |
− | }
| |
− |
| |
− | .intro-message {
| |
− | position: relative;
| |
− | padding-top: 20%;
| |
− | padding-bottom: 20%;
| |
− | }
| |
− |
| |
− | .intro-message > h1 {
| |
− | margin: 0;
| |
− | text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
| |
− | font-size: 5em;
| |
− | }
| |
− |
| |
− | .intro-divider {
| |
− | width: 400px;
| |
− | border-top: 1px solid #f8f8f8;
| |
− | border-bottom: 1px solid rgba(0, 0, 0, 0.2);
| |
− | }
| |
− |
| |
− | .intro-message > h3 {
| |
− | text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
| |
− | }
| |
− |
| |
− | @media(max-width:767px) {
| |
− | .intro-message {
| |
− | padding-bottom: 15%;
| |
− | }
| |
− | .intro-message > h1 {
| |
− | font-size: 3em;
| |
− | }
| |
− | ul.intro-social-buttons > li {
| |
− | display: block;
| |
− | margin-bottom: 20px;
| |
− | padding: 0;
| |
− | }
| |
− | ul.intro-social-buttons > li:last-child {
| |
− | margin-bottom: 0;
| |
− | }
| |
− | .intro-divider {
| |
− | width: 100%;
| |
− | }
| |
− | }
| |
− |
| |
− | .network-name {
| |
− | text-transform: uppercase;
| |
− | font-size: 14px;
| |
− | font-weight: 400;
| |
− | letter-spacing: 2px;
| |
− | }
| |
− |
| |
− | section {
| |
− | padding: 50px 0;
| |
− | background-color: #f8f8f8;
| |
− | }
| |
− |
| |
− | .section-heading {
| |
− | margin-bottom: 30px;
| |
− | }
| |
− |
| |
− | .section-heading-spacer {
| |
− | float: left;
| |
− | width: 200px;
| |
− | border-top: 3px solid #e7e7e7;
| |
− | }
| |
− |
| |
− | .banner {
| |
− | padding: 100px 0;
| |
− | color: #f8f8f8;
| |
− | background: url(../img/banner-bg.jpg) no-repeat center center;
| |
− | background-size: cover;
| |
− | }
| |
− |
| |
− | .banner h2 {
| |
− | margin: 0;
| |
− | text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
| |
− | font-size: 3em;
| |
− | }
| |
− |
| |
− | .banner ul {
| |
− | margin-bottom: 0;
| |
− | }
| |
− |
| |
− | .banner-social-buttons {
| |
− | float: right;
| |
− | margin-top: 0;
| |
− | }
| |
− |
| |
− | @media(max-width:1199px) {
| |
− | ul.banner-social-buttons {
| |
− | float: left;
| |
− | margin-top: 15px;
| |
− | }
| |
− | }
| |
− |
| |
− | @media(max-width:767px) {
| |
− | .banner h2 {
| |
− | margin: 0;
| |
− | text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
| |
− | font-size: 3em;
| |
− | }
| |
− | ul.banner-social-buttons > li {
| |
− | display: block;
| |
− | margin-bottom: 20px;
| |
− | padding: 0;
| |
− | }
| |
− | ul.banner-social-buttons > li:last-child {
| |
− | margin-bottom: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | footer {
| |
− | padding: 50px 0;
| |
− | background-color: #f8f8f8;
| |
− | }
| |
− |
| |
− | p.copyright {
| |
− | margin: 15px 0 0;
| |
− | }
| |
− |
| |
− | @import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,200,200italic,300,300italic,400italic,600,600italic,700,700italic,900,900italic);
| |
− |
| |
− | body {
| |
− | font-family: 'Source Sans Pro', sans-serif;
| |
− | line-height: 1.5;
| |
− | color: #323232;
| |
− | font-size: 15px;
| |
− | font-weight: 400;
| |
− | text-rendering: optimizeLegibility;
| |
− | -webkit-font-smoothing: antialiased;
| |
− | -moz-font-smoothing: antialiased;
| |
− | }
| |
− | .heading-title {
| |
− | margin-bottom: 100px;
| |
− | }
| |
− | .text-center {
| |
− | text-align: center;
| |
− | }
| |
− | .heading-title h3 {
| |
− | margin-bottom: 0;
| |
− | letter-spacing: 2px;
| |
− | font-weight: normal;
| |
− | }
| |
− | .p-top-30 {
| |
− | padding-top: 30px;
| |
− | }
| |
− | .half-txt {
| |
− | width: 60%;
| |
− | margin: 0 auto;
| |
− | display: inline-block;
| |
− | line-height: 25px;
| |
− | color: #7e7e7e;
| |
− | }
| |
− | .text-uppercase {
| |
− | text-transform: uppercase;
| |
− | }
| |
− |
| |
− | .team-member, .team-member .team-img {
| |
− | position: relative;
| |
− | }
| |
− | .team-member {
| |
− | overflow: hidden;
| |
− | }
| |
− | .team-member, .team-member .team-img {
| |
− | position: relative;
| |
− | }
| |
− |
| |
− | .team-hover {
| |
− | position: absolute;
| |
− | top: 0;
| |
− | left: 0;
| |
− | bottom: 0;
| |
− | right: 0;
| |
− | margin: 0;
| |
− | border: 20px solid rgba(0, 0, 0, 0.1);
| |
− | background-color: rgba(255, 255, 255, 0.90);
| |
− | opacity: 0;
| |
− | -webkit-transition: all 0.3s;
| |
− | transition: all 0.3s;
| |
− | }
| |
− | .team-member:hover .team-hover .desk {
| |
− | top: 35%;
| |
− | }
| |
− | .team-member:hover .team-hover, .team-member:hover .team-hover .desk, .team-member:hover .team-hover .s-link {
| |
− | opacity: 1;
| |
− | }
| |
− | .team-hover .desk {
| |
− | position: absolute;
| |
− | top: 0%;
| |
− | width: 100%;
| |
− | opacity: 0;
| |
− | -webkit-transform: translateY(-55%);
| |
− | -ms-transform: translateY(-55%);
| |
− | transform: translateY(-55%);
| |
− | -webkit-transition: all 0.3s 0.2s;
| |
− | transition: all 0.3s 0.2s;
| |
− | padding: 0 20px;
| |
− | }
| |
− | .desk, .desk h4, .team-hover .s-link a {
| |
− | text-align: center;
| |
− | color: #222;
| |
− | }
| |
− | .team-member:hover .team-hover .s-link {
| |
− | bottom: 10%;
| |
− | }
| |
− | .team-member:hover .team-hover, .team-member:hover .team-hover .desk, .team-member:hover .team-hover .s-link {
| |
− | opacity: 1;
| |
− | }
| |
− | .team-hover .s-link {
| |
− | position: absolute;
| |
− | bottom: 0;
| |
− | width: 100%;
| |
− | opacity: 0;
| |
− | text-align: center;
| |
− | -webkit-transform: translateY(45%);
| |
− | -ms-transform: translateY(45%);
| |
− | transform: translateY(45%);
| |
− | -webkit-transition: all 0.3s 0.2s;
| |
− | transition: all 0.3s 0.2s;
| |
− | font-size: 35px;
| |
− | }
| |
− | .desk, .desk h4, .team-hover .s-link a {
| |
− | text-align: center;
| |
− | color: #222;
| |
− | }
| |
− | .team-member .s-link a {
| |
− | margin: 0 10px;
| |
− | color: #333;
| |
− | font-size: 16px;
| |
− | }
| |
− | .team-title {
| |
− | position: static;
| |
− | padding: 20px 0;
| |
− | display: inline-block;
| |
− | letter-spacing: 2px;
| |
− | width: 100%;
| |
− | }
| |
− | .team-title h5 {
| |
− | margin-bottom: 0px;
| |
− | display: block;
| |
− | text-transform: uppercase;
| |
− | }
| |
− | .team-title span {
| |
− | font-size: 12px;
| |
− | text-transform: uppercase;
| |
− | color: #a5a5a5;
| |
− | letter-spacing: 1px;
| |
− | }
| |
− |
| |
− | .description-text {
| |
− | padding-top: 2em;
| |
− | }
| |
− |
| |
− | .description-images {
| |
− | border-radius: 10px;
| |
− | }
| |