Line 1: | Line 1: | ||
− | + | <html> | |
+ | <style> | ||
− | + | /******Wiki Styles*************************************/ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | html { | |
− | + | font-size: 16px; | |
− | + | } | |
− | + | body { | |
− | + | background-color: #fff; | |
− | + | font: medium sans-serif; | |
− | + | color: black; | |
+ | margin: 0; | ||
+ | /*margin-top: 20px;*/ | ||
+ | margin-top: 18px; | ||
+ | padding: 0; | ||
+ | } | ||
+ | #globalWrapper { | ||
+ | position: relative; | ||
+ | font-size: 100%; | ||
+ | width: 100%; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | #top_menu_under { | ||
+ | display: none; | ||
+ | position: relative; | ||
+ | width: 100%; | ||
+ | height: 0; | ||
+ | } | ||
+ | /*the igem menu bar*/ | ||
− | + | #top_menu_14 { | |
− | + | position: fixed; | |
− | + | width: 100%; | |
− | + | top: 0px; | |
− | + | left: 0px; | |
− | + | height: 16px; | |
− | + | background-color: #383838; | |
− | + | border-bottom: 2px solid black; | |
− | + | z-index: 9999; | |
− | + | } | |
− | + | #content { | |
+ | width: 100%; | ||
+ | padding: 0; | ||
+ | margin: 0; | ||
+ | border: none; | ||
+ | color: inherit; | ||
+ | background-color: inherit; | ||
+ | position: relative; | ||
+ | } | ||
+ | #top_title { | ||
+ | display: none; | ||
+ | } | ||
+ | #sideMenu { | ||
+ | display: none; | ||
+ | width: 170px; | ||
+ | position: absolute; | ||
+ | top: 20px; | ||
+ | left: 1020px; | ||
+ | z-index: 10; | ||
+ | padding-top: 0px; | ||
+ | padding-bottom: 15px; | ||
+ | padding-left: 15px; | ||
+ | padding-right: 15px; | ||
+ | background-color: white; | ||
+ | text-align: left; | ||
+ | } | ||
+ | } | ||
+ | .pop_why_cover { | ||
+ | display: none; | ||
+ | z-index: 100; | ||
+ | margin-top: -65px; | ||
+ | margin-left: -40px; | ||
+ | width: 980px; | ||
+ | height: 2100px; | ||
+ | float: left; | ||
+ | position: absolute; | ||
+ | opacity: 0.5; | ||
+ | background-color: #b2b2b2; | ||
+ | } | ||
+ | .pop_why_box { | ||
+ | display: none; | ||
+ | left: 250px; | ||
+ | top: 0px; | ||
+ | background-color: white; | ||
+ | padding: 15px; | ||
+ | width: 500px; | ||
+ | position: absolute; | ||
+ | border: 3px solid #4e606e; | ||
+ | border-radius: 3px; | ||
+ | z-index: 100; | ||
+ | } | ||
− | + | #footer { | |
− | + | font-size:100%; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | /*************WIKI FONTS**************/ | |
− | + | ||
+ | #HQ_page h1, | ||
+ | h2, | ||
+ | h3, | ||
+ | h4, | ||
+ | h5, | ||
+ | h6 { | ||
+ | color: #149375; | ||
+ | border: none; | ||
+ | font-weight: normal; | ||
+ | font-style: normal; | ||
+ | text-rendering: optimizeLegibility; | ||
+ | font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; | ||
+ | } | ||
+ | #content h1, | ||
+ | h2, | ||
+ | h3, | ||
+ | h4, | ||
+ | h5, | ||
+ | h6 { | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | #bodyContent h1, | ||
+ | h2, | ||
+ | h3, | ||
+ | h4, | ||
+ | h5, | ||
+ | h6 { | ||
+ | margin: 0 0 0.5rem 0; | ||
+ | } | ||
+ | #bodyContent h1, | ||
+ | #bodyContent h2 { | ||
+ | margin: 0 0 0.5rem 0; | ||
+ | } | ||
+ | #bodyContent h3, | ||
+ | #bodyContent h4, | ||
+ | #bodyContent h5 { | ||
+ | margin: 0 0 0.5rem 0; | ||
+ | } | ||
+ | |||
+ | #HQ_page p { | ||
+ | font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; | ||
+ | font-size: 16px; | ||
+ | text-align: justify; | ||
+ | } | ||
+ | |||
+ | #HQ_page table { | ||
+ | border: none; | ||
+ | border-collapse: collapse; | ||
+ | width: 100%; | ||
+ | margin: 0; | ||
+ | |||
+ | } | ||
+ | table { | ||
+ | background: white; | ||
+ | font-size: 100%; | ||
+ | color: black; | ||
+ | } | ||
+ | |||
+ | #HQ_page th { | ||
+ | background-color: inherit; | ||
+ | padding: 0; | ||
+ | color: black; | ||
+ | border: none; | ||
+ | border-collapse: collapse; | ||
+ | vertical-align: text-top; | ||
+ | } | ||
+ | |||
+ | #HQ_page td { | ||
+ | padding: 0; | ||
+ | border: none; | ||
+ | border-collapse: collapse; | ||
+ | vertical-align: text-top; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /****************** SITE STYLES ****** | ||
+ | *************************************/ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | body{ | ||
+ | margin:0px; | ||
+ | padding:0px; | ||
+ | font-family:Roboto; | ||
+ | background: #149375; | ||
+ | overflow-x: hidden; | ||
+ | } | ||
+ | |||
+ | body.inactive{ | ||
+ | background-color: rgba(0,0,0,0.5); | ||
+ | } | ||
+ | |||
+ | |||
+ | img{ | ||
+ | display:flex; | ||
+ | margin: auto; | ||
+ | height: auto; | ||
+ | max-width: 100%; | ||
+ | vertical-align: middle; | ||
+ | } | ||
+ | |||
+ | #container h1, | ||
+ | h2, | ||
+ | h3, | ||
+ | h4, | ||
+ | h5, | ||
+ | h6 { | ||
+ | padding: 0; | ||
+ | overflow: hidden; | ||
+ | background: none; | ||
+ | line-height: 1.4; | ||
+ | } | ||
+ | #container h1 { | ||
+ | font-size: 2.986em; | ||
+ | margin-top: 0; | ||
+ | margin-bottom: .5rem | ||
+ | } | ||
+ | #container h2 { | ||
+ | font-size: 2.488em; | ||
+ | margin-top: 0; | ||
+ | margin-bottom: .5rem | ||
+ | } | ||
+ | #container h3 { | ||
+ | font-size: 2.074em; | ||
+ | margin-top: 0; | ||
+ | margin-bottom: .5rem | ||
+ | } | ||
+ | #container h4 { | ||
+ | font-size: 1.728em; | ||
+ | margin-top: 0; | ||
+ | margin-bottom: .5rem | ||
+ | } | ||
+ | #container h5 { | ||
+ | font-size: 1.44em; | ||
+ | margin-top: 0; | ||
+ | margin-bottom: .5rem | ||
+ | } | ||
+ | #container h6 { | ||
+ | font-size: 1.2em; | ||
+ | margin-top: 0; | ||
+ | margin-bottom: .5rem | ||
+ | } | ||
+ | |||
+ | #container p { | ||
+ | margin: 0; | ||
+ | line-height: 1.7; | ||
+ | } | ||
+ | #container a { | ||
+ | text-decoration: none; | ||
+ | font-weight: normal; | ||
+ | color: #149375; | ||
+ | background: none; | ||
+ | } | ||
+ | #container a:link { | ||
+ | color: #149375; | ||
+ | } | ||
+ | #container a:visited { | ||
+ | color: #149375; | ||
+ | } | ||
+ | #container a:hover, | ||
+ | #container a:focus { | ||
+ | color: #149375; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | #container a:active { | ||
+ | color: #149375; | ||
+ | } | ||
+ | |||
+ | #container hr { | ||
+ | height: 1px; | ||
+ | color: #aaa; | ||
+ | margin: 16px 0; | ||
+ | } | ||
+ | |||
+ | #sidebar{ | ||
+ | z-index: 3; | ||
+ | background:#151718; | ||
+ | width:250px; | ||
+ | height:100%; | ||
+ | display:block; | ||
+ | position:fixed; | ||
+ | top: 18px; | ||
+ | transition:0.5s linear; | ||
+ | visibility: hidden; | ||
+ | opacity: 0; | ||
+ | transition: all 0.5s ease; | ||
+ | overflow-y: auto; | ||
+ | } | ||
+ | |||
+ | #sidebar.visible{ | ||
+ | visibility: visible; | ||
+ | opacity: 1; | ||
+ | } | ||
+ | |||
+ | #sidebar ul{ | ||
+ | margin:0px; | ||
+ | padding:0px; | ||
+ | } | ||
+ | |||
+ | #sidebar ul li{ | ||
+ | list-style:none; | ||
+ | transition: all 2s ease; | ||
+ | } | ||
+ | |||
+ | #sidebar ul li a{ | ||
+ | background:#1C1E1F; | ||
+ | color:#ccc; | ||
+ | border-bottom:1px solid #111; | ||
+ | display:block; | ||
+ | width:230px; | ||
+ | padding:10px; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | #sidebar ul li a:hover{ | ||
+ | background-color: rgba(255,255,255,0.3) | ||
+ | } | ||
+ | |||
+ | /*** Accordion Menu ***/ | ||
+ | #sidebar ul ul a { | ||
+ | background:#1C1E1F; | ||
+ | color:#ccc; | ||
+ | border-bottom:1px solid #111; | ||
+ | display:block; | ||
+ | width:230px; | ||
+ | padding:10px; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | #sidebar ul ul a:hover{ | ||
+ | background-color: rgba(255,255,255,0.3) | ||
+ | } | ||
+ | |||
+ | #sidebar ul ul.sub li{ | ||
+ | display:none; | ||
+ | padding-left: 15px; | ||
+ | } | ||
+ | |||
+ | #sidebar ul ul.sub li.active{ | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | #overlay{ | ||
+ | position: fixed; | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | top: 0; | ||
+ | left: 250px; | ||
+ | right: 0; | ||
+ | bottom: 0; | ||
+ | background-color: rgba(0,0,0,0.5); | ||
+ | z-index: 1; | ||
+ | cursor: pointer; | ||
+ | visibility: hidden; | ||
+ | opacity: 0; | ||
+ | transition: all 0.5s ease; | ||
+ | } | ||
+ | |||
+ | #overlay.active{ | ||
+ | visibility: visible; | ||
+ | opacity: 1; | ||
+ | } | ||
+ | |||
+ | #container{ | ||
+ | transition:0.5s linear; | ||
+ | display: flex; | ||
+ | flex-direction: column; | ||
+ | align-items: center; | ||
+ | padding: 5%; | ||
+ | } | ||
+ | |||
+ | #paper { | ||
+ | display: flex; | ||
+ | flex-direction: column; | ||
+ | max-width: 1024px; | ||
+ | background: white; | ||
+ | box-shadow: 0 0 12px 0px rgba(0,0,0,0.4); | ||
+ | padding: 5%; | ||
+ | } | ||
+ | |||
+ | #sidebar-btn{ | ||
+ | font-size: 24pt; | ||
+ | z-index: 2; | ||
+ | position: fixed; | ||
+ | right: 2%; | ||
+ | top: 4%; | ||
+ | display: flex; | ||
+ | flex-direction: row; | ||
+ | justify-content: center; | ||
+ | align-items: center; | ||
+ | width: 20px; | ||
+ | height: 20px; | ||
+ | cursor: pointer; | ||
+ | background: #149375; | ||
+ | padding: 20px; | ||
+ | color: white; | ||
+ | border: 3px solid white; | ||
+ | border-radius: 100%; | ||
+ | box-shadow: 0px 4px 12px 2px rgba(0,0,0,0.3); | ||
+ | } | ||
+ | |||
+ | #sidebar-btn:hover{ | ||
+ | border: 3px solid black; | ||
+ | } | ||
+ | |||
+ | #sidebar-btn:hover i{ | ||
+ | color:black; | ||
+ | } | ||
+ | |||
+ | section{ | ||
+ | margin: 8px; | ||
+ | } | ||
+ | |||
+ | section#header{ | ||
+ | justify-content: center; | ||
+ | margin-bottom: 24px; | ||
+ | } | ||
+ | |||
+ | section#gallery { | ||
+ | display: flex; | ||
+ | flex-direction: column; | ||
+ | } | ||
+ | |||
+ | |||
+ | section#gallery .col2 { | ||
+ | display: flex; | ||
+ | flex-direction: row; | ||
+ | } | ||
+ | |||
+ | section#gallery .col2 > div { | ||
+ | width: 50%; | ||
+ | padding: 10px; | ||
+ | } | ||
+ | |||
+ | section#gallery .col2 > div:first-child { | ||
+ | margin-right: 20px; | ||
+ | } | ||
+ | |||
+ | section#footer{ | ||
+ | display: flex; | ||
+ | flex-direction: row; | ||
+ | justify-content: center; | ||
+ | align-items: center; | ||
+ | height: 15vw; | ||
+ | max-height: 250px; | ||
+ | margin: 0; | ||
+ | background: #1C1E1F; | ||
+ | position: absolute; | ||
+ | left: 0; | ||
+ | right: 0; | ||
+ | } | ||
+ | |||
+ | section#footer i{ | ||
+ | color:rgba(255,255,255,0.3); | ||
+ | padding: 20px; | ||
+ | font-size: 5vw; | ||
+ | } | ||
+ | |||
+ | section#footer i:hover{ | ||
+ | color: rgba(255,255,255,1); | ||
+ | } | ||
+ | |||
+ | button.accordion { | ||
+ | background-color: #eee; | ||
+ | color: #444; | ||
+ | cursor: pointer; | ||
+ | padding: 18px; | ||
+ | width: 100%; | ||
+ | border: none; | ||
+ | text-align: left; | ||
+ | outline: none; | ||
+ | font-size: 15px; | ||
+ | transition: 0.4s; | ||
+ | } | ||
+ | |||
+ | button.accordion.active, button.accordion:hover { | ||
+ | background-color: rgba(20, 147, 117,0.7); | ||
+ | } | ||
+ | |||
+ | button.accordion:after { | ||
+ | content: '\002B'; | ||
+ | color: #777; | ||
+ | font-weight: bold; | ||
+ | float: right; | ||
+ | margin-left: 5px; | ||
+ | } | ||
+ | |||
+ | button.accordion.active:after { | ||
+ | content: "\2212"; | ||
+ | } | ||
+ | |||
+ | div.panel { | ||
+ | padding: 0 18px; | ||
+ | background-color: white; | ||
+ | max-height: 0; | ||
+ | overflow: hidden; | ||
+ | transition: max-height 0.2s ease-out; | ||
+ | } | ||
+ | |||
+ | span.label { | ||
+ | display: inline-block; | ||
+ | padding: 0 6px; | ||
+ | border-radius: 20px; | ||
+ | white-space: nowrap; | ||
+ | cursor: default; | ||
+ | background: #149375; | ||
+ | color: #fefefe; | ||
+ | } | ||
+ | |||
+ | b, strong { | ||
+ | font-weight: bold; | ||
+ | line-height: inherit; | ||
+ | color: #149375; | ||
+ | } | ||
+ | |||
+ | div.callout { | ||
+ | margin: 24px 0; | ||
+ | padding: 10px; | ||
+ | border: 2px solid rgba(20, 147, 117, 0.5); | ||
+ | border-radius: 0; | ||
+ | } | ||
+ | |||
+ | #container table { | ||
+ | width: 100%; | ||
+ | margin-bottom: 1rem; | ||
+ | } | ||
+ | |||
+ | #container table thead{ | ||
+ | background-color: inherit; | ||
+ | background: rgba(20, 147, 117, 0.2); | ||
+ | color: #263238 | ||
+ | } | ||
+ | #container table thead tr { | ||
+ | background:inherit; | ||
+ | } | ||
+ | #container table thead th { | ||
+ | padding: .5rem .625rem .625rem | ||
+ | } | ||
+ | #container table thead td { | ||
+ | padding: .5rem .625rem .625rem | ||
+ | } | ||
+ | |||
− | + | #container table tbody { | |
− | + | background-color: inherit; | |
− | + | } | |
− | + | #container table tbody tr { | |
− | + | background:inherit; | |
− | + | } | |
− | + | #container table tbody tr:nth-child(even) { | |
− | + | background-color: rgba(20, 147, 117, 0.08) | |
− | + | } | |
− | + | #container table tbody th { | |
− | + | padding: .5rem .625rem .625rem | |
− | + | } | |
− | + | #container table tbody td { | |
− | + | padding: .5rem .625rem .625rem | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | #container table.hover thead tr:hover { | |
− | + | background-color: rgba(17, 125, 99, 0.2); | |
− | + | } | |
− | + | #container table.hover tbody tr:hover { | |
+ | background-color: rgba(17, 125, 99, 0.2); | ||
+ | } | ||
− | + | .card { | |
− | + | margin-bottom: 1rem; | |
− | + | border: 1px solid #eceff1; | |
− | + | border-radius: 0; | |
− | + | background: #eceff1; | |
− | + | box-shadow: none; | |
− | + | overflow: hidden; | |
− | + | color: #263238 | |
− | + | } | |
− | + | .card>:last-child { | |
− | + | margin-bottom: 0 | |
− | + | } | |
− | + | .card-divider { | |
− | + | padding: 1rem; | |
− | + | background: #eceff1 | |
− | + | } | |
− | + | .card-divider>:last-child { | |
− | + | margin-bottom: 0 | |
− | + | } | |
− | + | .card-section { | |
− | + | padding: 1rem | |
− | + | } | |
− | + | .card-section>:last-child { | |
− | + | margin-bottom: 0 | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | .row { | |
− | + | display:flex; | |
− | + | flex-direction: row; | |
− | + | justify-content: space-around; | |
− | + | flex-wrap: wrap; | |
− | + | } | |
− | + | ||
− | + | .col2{ | |
− | + | width: 45%; | |
− | + | } | |
+ | .col3{ | ||
+ | width: 30%; | ||
+ | } | ||
+ | .col4{ | ||
+ | width: 22.5%; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /****************** MEDIA QUERIES ** | ||
+ | **********************************/ | ||
+ | |||
+ | @media (max-width: 768px){ | ||
+ | body{ | ||
+ | background: white; | ||
+ | } | ||
+ | #sidebar-btn { | ||
+ | right: 0; | ||
+ | top: 18px; | ||
+ | width: 100%; | ||
+ | height: 50px; | ||
+ | cursor: pointer; | ||
+ | background: #1C1E1F; | ||
+ | padding: 0 5% 0 0; | ||
+ | border: none; | ||
+ | border-radius: 0; | ||
+ | justify-content: flex-end; | ||
+ | } | ||
+ | #sidebar-btn:hover{ | ||
+ | border: none; | ||
+ | } | ||
+ | #sidebar-btn:hover i{ | ||
+ | color: #149375; | ||
+ | } | ||
+ | #container { | ||
+ | margin-top: 68px; | ||
+ | padding: 0; | ||
} | } | ||
− | + | #container.inactive{ | |
− | + | transform: translate(250px,0) | |
− | + | } | |
− | </ | + | #sidebar-btn.inactive{ |
+ | #background: rgba(0,0,0,0.5); | ||
+ | } | ||
+ | section#gallery .col2 { | ||
+ | flex-direction:column; | ||
+ | } | ||
+ | section#gallery .col2 > div { | ||
+ | width: 100%; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | @media (min-width: 1024px){ | ||
+ | section#footer i { | ||
+ | font-size: 3vw; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | |||
+ | </style> | ||
</html> | </html> |
Revision as of 19:46, 4 May 2017