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: white; | ||
+ | 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); | ||
+ | } | ||
+ | |||
+ | #container h1, | ||
+ | h2, | ||
+ | h3, | ||
+ | h4, | ||
+ | h5, | ||
+ | h6 { | ||
+ | padding: 0; | ||
+ | overflow: hidden; | ||
+ | background: none; | ||
+ | line-height: 1.4; | ||
+ | } | ||
+ | #container h1 { | ||
+ | font-size: 2rem; | ||
+ | margin-top: 0; | ||
+ | margin-bottom: .5rem | ||
+ | } | ||
+ | #container h2 { | ||
+ | font-size: 1.83rem; | ||
+ | margin-top: 0; | ||
+ | margin-bottom: .5rem | ||
+ | } | ||
+ | #container h3 { | ||
+ | font-size: 1.66rem; | ||
+ | margin-top: 0; | ||
+ | margin-bottom: .5rem | ||
+ | } | ||
+ | #container h4 { | ||
+ | font-size: 1.5rem; | ||
+ | margin-top: 0; | ||
+ | margin-bottom: .5rem | ||
+ | } | ||
+ | #container h5 { | ||
+ | font-size: 1.33rem; | ||
+ | margin-top: 0; | ||
+ | margin-bottom: .5rem | ||
+ | } | ||
+ | #container h6 { | ||
+ | font-size: 1.16rem; | ||
+ | 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; | ||
+ | } | ||
+ | |||
+ | #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; | ||
+ | } | ||
+ | |||
+ | #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) | ||
+ | } | ||
+ | |||
+ | #sidebar ul ul{ | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | #sidebar ul ul.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: rgba(0,0,0,0.1); | ||
+ | padding: 20px; | ||
+ | color: white; | ||
+ | border: 3px solid white; | ||
+ | border-radius: 100%; | ||
+ | box-shadow: 0px 4px 12px 2px rgba(0,0,0,0.3); | ||
+ | transition: all 0.5s ease; | ||
+ | } | ||
+ | |||
+ | section{ | ||
+ | margin: 8px; | ||
+ | } | ||
+ | |||
+ | section#header{ | ||
+ | justify-content: center; | ||
+ | margin-bottom: 24px; | ||
+ | } | ||
+ | |||
+ | 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:white; | ||
+ | padding: 20px; | ||
+ | font-size: 5vw; | ||
+ | } | ||
+ | |||
+ | section#footer a:hover{ | ||
+ | background: rgba(255,255,255,0.3) | ||
+ | } | ||
+ | |||
+ | |||
+ | /****************** MEDIA QUERIES ** | ||
+ | **********************************/ | ||
+ | |||
+ | @media (max-width: 768px){ | ||
+ | body{ | ||
+ | background: white; | ||
+ | } | ||
+ | |||
+ | #sidebar-btn { | ||
+ | position: fixed; | ||
+ | left: 0; | ||
+ | top: 18px; | ||
+ | width: 100%; | ||
+ | height: 50px; | ||
+ | cursor: pointer; | ||
+ | background: #1C1E1F; | ||
+ | padding: 0; | ||
+ | color: white; | ||
+ | border: none; | ||
+ | border-radius: 0; | ||
+ | box-shadow: 0px 4px 12px 2px rgba(0,0,0,0.3); | ||
+ | } | ||
+ | #container { | ||
+ | margin-top: 68px; | ||
+ | padding: 0; | ||
+ | } | ||
+ | #container.inactive{ | ||
+ | transform: translate(250px,0) | ||
+ | } | ||
+ | #sidebar-btn.inactive{ | ||
+ | background: rgba(0,0,0,0.5); | ||
+ | #left: 250px; | ||
+ | } | ||
+ | } | ||
− | + | @media (min-width: 1024px){ | |
− | + | section#footer i { | |
− | + | font-size: 3vw; | |
− | + | } | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | </ | + | </style> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</html> | </html> |
Revision as of 12:36, 4 May 2017