BambooPanda (Talk | contribs) |
|||
(72 intermediate revisions by 3 users not shown) | |||
Line 24: | Line 24: | ||
padding: 0; | padding: 0; | ||
margin: 0; | margin: 0; | ||
− | |||
} | } | ||
Line 50: | Line 49: | ||
} | } | ||
/* set all basic objects to neutral formatting, removes all padding, margins, etc and sets the fontsize to 100%*/ | /* set all basic objects to neutral formatting, removes all padding, margins, etc and sets the fontsize to 100%*/ | ||
+ | |||
h1, | h1, | ||
Line 61: | Line 61: | ||
font-weight: normal; | font-weight: normal; | ||
margin-bottom: 0; | margin-bottom: 0; | ||
− | |||
text-align: left; | text-align: left; | ||
overflow: visible; | overflow: visible; | ||
Line 78: | Line 77: | ||
.reference { | .reference { | ||
+ | font-family: Arial; | ||
+ | font-size: 16px; | ||
+ | font-weight: 100; | ||
+ | line-height: 22px; | ||
+ | text-align: left; | ||
+ | } | ||
+ | .all-wrapper{ | ||
+ | max-width: 1200px; | ||
+ | position: relative; | ||
+ | margin: auto; | ||
+ | background-color: rgba(255, 255, 255, 1.0); | ||
+ | } | ||
+ | |||
+ | .content-wrapper{ | ||
+ | width: 90%; | ||
+ | position: relative; | ||
+ | margin: auto; | ||
+ | } | ||
+ | |||
+ | .header{ | ||
+ | width: 55%; | ||
+ | height: auto; | ||
+ | margin: auto; | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | .header:hover { | ||
+ | animation: shake 0.5s; | ||
+ | animation-iteration-count: infinite; | ||
+ | } | ||
+ | |||
+ | @keyframes shake { | ||
+ | 0% { transform: translate(1px, 1px) rotate(0deg); } | ||
+ | 10% { transform: translate(-1px, -2px) rotate(-1deg); } | ||
+ | 20% { transform: translate(-3px, 0px) rotate(1deg); } | ||
+ | 30% { transform: translate(3px, 2px) rotate(0deg); } | ||
+ | 40% { transform: translate(1px, -1px) rotate(1deg); } | ||
+ | 50% { transform: translate(-1px, 2px) rotate(-1deg); } | ||
+ | 60% { transform: translate(-3px, 1px) rotate(0deg); } | ||
+ | 70% { transform: translate(3px, 1px) rotate(-1deg); } | ||
+ | 80% { transform: translate(-1px, -1px) rotate(1deg); } | ||
+ | 90% { transform: translate(1px, 2px) rotate(0deg); } | ||
+ | 100% { transform: translate(1px, -2px) rotate(-1deg); } | ||
} | } | ||
Line 120: | Line 162: | ||
} | } | ||
− | p{ | + | p, p~ul li, p~ol li, .row ul li{ |
font-family: Arial; | font-family: Arial; | ||
font-size: 20px; | font-size: 20px; | ||
Line 128: | Line 170: | ||
line-height: 29px; | line-height: 29px; | ||
text-align: justify; | text-align: justify; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 171: | Line 188: | ||
line-height: 36px; | line-height: 36px; | ||
} | } | ||
+ | .quote { | ||
+ | font-family: Arial, Helvetica Neue, Helvetica, sans-serif; | ||
+ | font-size: 24px; | ||
+ | font-style: italic; | ||
+ | font-variant: small-caps; | ||
+ | font-weight: 400; | ||
+ | line-height: 36px; | ||
+ | width: 75%; | ||
+ | padding: 12px; | ||
+ | margin: auto auto; | ||
+ | text-align: center; | ||
+ | border-radius: 5%; | ||
+ | border: 1px solid #e2e2e2; | ||
+ | box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); | ||
+ | -webkit-box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); | ||
+ | -moz-box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); | ||
+ | } | ||
+ | .quote:before{ | ||
+ | font-family:FontAwesome; | ||
+ | content: "\f10d"; | ||
+ | float: left; | ||
+ | font-size: 32px; | ||
+ | } | ||
+ | .quote:after{ | ||
+ | font-family:FontAwesome; | ||
+ | content: "\f10e"; | ||
+ | float: right; | ||
+ | font-size: 32px; | ||
+ | } | ||
+ | @media only screen and (max-width: 700px) { | ||
+ | h1 { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 19px; font-style: normal; font-variant: normal; font-weight: 700; line-height: 19px; } | ||
+ | h2 { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 17px; font-style: normal; font-variant: normal; font-weight: 700; line-height: 19px; } | ||
+ | |||
+ | h3 { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 700; line-height: 19px; } | ||
+ | |||
+ | h4{ font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 13.5px; font-style: normal; font-variant: normal; font-weight: 100; line-height: 19px; } | ||
+ | |||
+ | p, p~ul li, p~ol li, .row ul li { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 100; line-height: 19px; } | ||
+ | |||
+ | blockquote { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 19px; } | ||
+ | |||
+ | pre { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 10px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 19px; } | ||
+ | |||
+ | .accordion{ | ||
+ | font-size: 12px !important; | ||
+ | padding: 10px; | ||
+ | } | ||
+ | .accordion:after { | ||
+ | font-size: 20px !important; | ||
+ | } | ||
+ | .active, | ||
+ | .accordion:hover { | ||
+ | font: bold 12px "Montserrat", sans-serif; | ||
+ | background-color: #2980b9; | ||
+ | } | ||
+ | .accordion-closer{ | ||
+ | padding: 5px; | ||
+ | width: 12.0%; | ||
+ | font-size: 12px !important; | ||
+ | margin: 6px 0px; | ||
+ | } | ||
+ | .accordion-closer:hover { | ||
+ | font: bold 12px "Montserrat", sans-serif; | ||
+ | background-color: #a80d31; | ||
+ | } | ||
+ | .accordion-closer:after{ | ||
+ | font-size: 20px !important; | ||
+ | } | ||
+ | table{ | ||
+ | font-size: 10px !important; | ||
+ | } | ||
+ | .figures2 figcaption, .figures figcaption{ | ||
+ | font-size: 11px; | ||
+ | } | ||
+ | |||
+ | } | ||
/********************** CSS FROM DESIGN *****************************************************/ | /********************** CSS FROM DESIGN *****************************************************/ | ||
Line 179: | Line 272: | ||
margin: auto auto; | margin: auto auto; | ||
max-width: 80%; | max-width: 80%; | ||
+ | } | ||
+ | .figures img{ | ||
+ | display: inline-block; | ||
} | } | ||
.figures2{ | .figures2{ | ||
margin: auto auto; | margin: auto auto; | ||
− | max-width: | + | padding-left: 10px; |
+ | padding-right: 10px; | ||
+ | padding-top: 10px; | ||
+ | padding-bottom: 5px; | ||
+ | max-width: 85%; | ||
} | } | ||
.figures2 figcaption{ | .figures2 figcaption{ | ||
Line 189: | Line 289: | ||
text-align: center; | text-align: center; | ||
font-style: italic; | font-style: italic; | ||
− | } | + | } |
.figures2{ | .figures2{ | ||
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); | box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); | ||
Line 239: | Line 339: | ||
.panel { | .panel { | ||
background-color: transparent; | background-color: transparent; | ||
− | text-align: | + | text-align: justify; |
margin-top: 0; | margin-top: 0; | ||
max-height: 0; | max-height: 0; | ||
overflow: hidden; | overflow: hidden; | ||
transition: max-height 0.2s ease-out; | transition: max-height 0.2s ease-out; | ||
− | |||
− | |||
− | |||
− | |||
max-width: 100%; | max-width: 100%; | ||
} | } | ||
Line 268: | Line 364: | ||
color: #fff; | color: #fff; | ||
cursor: pointer; | cursor: pointer; | ||
− | padding: | + | outline: none; |
− | width: | + | padding: 8px; |
− | border-radius: | + | width: 12.0%; |
+ | border-radius: 25px; | ||
text-align: left; | text-align: left; | ||
− | -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0. | + | border-color: transparent; |
− | -moz-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0. | + | -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.23), 0px 3px 6px rgba(0, 0, 0, 0.32); |
− | box-shadow: 0px 3px 6px rgba(0, 0, 0, 0. | + | -moz-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.23), 0px 3px 6px rgba(0, 0, 0, 0.32); |
− | + | box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.23), 0px 3px 6px rgba(0, 0, 0, 0.32); | |
font-family: "Montserrat", sans-serif; | font-family: "Montserrat", sans-serif; | ||
font-weight: 400; | font-weight: 400; | ||
Line 350: | Line 447: | ||
.left { | .left { | ||
− | width: | + | width: 48%; |
− | + | margin-right: 2%; | |
− | + | ||
} | } | ||
.right { | .right { | ||
− | width: | + | width: 48%; |
− | + | margin-left: 2%; | |
− | + | ||
} | } | ||
Line 366: | Line 461: | ||
display: table; | display: table; | ||
clear: both; | clear: both; | ||
+ | } | ||
+ | .video-landscape{ | ||
+ | width: 80%; | ||
+ | height: auto; | ||
+ | margin: auto auto; | ||
+ | } | ||
+ | .video-portrait{ | ||
+ | width: 30%; | ||
+ | height: auto; | ||
+ | margin: auto auto; | ||
+ | } | ||
+ | video{ | ||
+ | width: 100%; | ||
+ | height: auto; | ||
+ | } | ||
+ | |||
+ | /* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */ | ||
+ | @media screen and (max-width: 800px) { | ||
+ | .column { | ||
+ | width: 100%; | ||
+ | margin: 15px; | ||
+ | } | ||
} | } | ||
Line 386: | Line 503: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
.tablinks{ | .tablinks{ | ||
cursor: pointer; | cursor: pointer; | ||
Line 412: | Line 524: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/* Fade in tabs */ | /* Fade in tabs */ | ||
Line 434: | Line 537: | ||
/**************************THIS IS CSS FOR SAFETY*************************************/ | /**************************THIS IS CSS FOR SAFETY*************************************/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.pictures{ | .pictures{ | ||
width: 50px; | width: 50px; | ||
height: 50px; | height: 50px; | ||
− | background- | + | background-color: grey; |
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/*****************************CSS FROM EXPERT INT *******************************************/ | /*****************************CSS FROM EXPERT INT *******************************************/ | ||
Line 477: | Line 566: | ||
} | } | ||
/***********************************END OF STYLING FOR CAROUSEL*******************************/ | /***********************************END OF STYLING FOR CAROUSEL*******************************/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/* Style the tab */ | /* Style the tab */ | ||
Line 490: | Line 572: | ||
.sponsor-boxes{ | .sponsor-boxes{ | ||
vertical-align: 50%; | vertical-align: 50%; | ||
+ | margin: auto auto; | ||
outline: none; | outline: none; | ||
border: none; | border: none; | ||
Line 510: | Line 593: | ||
.tabcontent-wrapper{ | .tabcontent-wrapper{ | ||
− | text-align: | + | text-align: justify; |
max-width: 100%; | max-width: 100%; | ||
background-color: rgba(255, 255, 255, 0.6); | background-color: rgba(255, 255, 255, 0.6); | ||
} | } | ||
+ | |||
/* Style the tab content */ | /* Style the tab content */ | ||
.tabcontent { | .tabcontent { | ||
display: none; | display: none; | ||
max-width: 85%; | max-width: 85%; | ||
+ | height: auto; | ||
margin: auto auto; | margin: auto auto; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
+ | |||
.sponsor-pic{ | .sponsor-pic{ | ||
display: flex; | display: flex; | ||
width: 235px; | width: 235px; | ||
max-width: 235px; | max-width: 235px; | ||
− | |||
height: auto; | height: auto; | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 0; | ||
} | } | ||
.sponsor-description{ | .sponsor-description{ | ||
display: flex; | display: flex; | ||
− | margin-left: | + | margin-left: 16px; |
− | + | ||
− | + | ||
− | + | ||
line-height: normal; | line-height: normal; | ||
text-align: justify; | text-align: justify; | ||
Line 550: | Line 624: | ||
/*************************************CSS FOR COLLAB *********************************/ | /*************************************CSS FOR COLLAB *********************************/ | ||
− | |||
− | |||
− | |||
.collab-content{ | .collab-content{ | ||
text-align: justify; | text-align: justify; | ||
Line 565: | Line 636: | ||
/*********************************CSS FOR PUBLIC ENGAGEMENT*****************************/ | /*********************************CSS FOR PUBLIC ENGAGEMENT*****************************/ | ||
− | |||
− | |||
− | |||
− | |||
.button-things{ | .button-things{ | ||
Line 581: | Line 648: | ||
outline: inherit; | outline: inherit; | ||
} | } | ||
+ | |||
.column { | .column { | ||
Line 877: | Line 945: | ||
} | } | ||
.portrait_beatrix{ | .portrait_beatrix{ | ||
− | background-image: url("https://static.igem.org/mediawiki/2018/ | + | background-image: url("https://static.igem.org/mediawiki/2018/8/87/T--NUS_Singapore-A--Beatrix2.jpg"); |
} | } | ||
.portrait_beatrix:hover{ | .portrait_beatrix:hover{ | ||
Line 938: | Line 1,006: | ||
flex: 1; | flex: 1; | ||
flex-direction: column; | flex-direction: column; | ||
+ | } | ||
+ | .intro-item h2, .intro-item p{ | ||
text-align: center; | text-align: center; | ||
+ | margin-right: 0px; | ||
+ | margin-left: 0px; | ||
} | } | ||
Line 962: | Line 1,034: | ||
/*******************************************CSS FOR SPONSORS ******************************/ | /*******************************************CSS FOR SPONSORS ******************************/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.sponsors-wrapper{ | .sponsors-wrapper{ | ||
width: 80%; | width: 80%; | ||
Line 1,040: | Line 1,105: | ||
/***********************************CSS For Medals ***************************************/ | /***********************************CSS For Medals ***************************************/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
.checklist { | .checklist { | ||
margin: auto 5%; | margin: auto 5%; |
Latest revision as of 01:48, 18 October 2018