Team:UCSF UCB/CSS
From 2014.igem.org
(Difference between revisions)
Line 10: | Line 10: | ||
*/ | */ | ||
/*! normalize.css v1.1.3 | MIT License | git.io/normalize */ | /*! normalize.css v1.1.3 | MIT License | git.io/normalize */ | ||
- | + | article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { | |
+ | display: block; } | ||
+ | |||
+ | audio, canvas, video { | ||
+ | display: inline-block; | ||
+ | *display: inline; | ||
+ | *zoom: 1; } | ||
+ | |||
+ | audio:not([controls]) { | ||
+ | display: none; | ||
+ | height: 0; } | ||
+ | |||
+ | [hidden] { | ||
+ | display: none; } | ||
+ | |||
+ | html { | ||
+ | font-size: 100%; | ||
+ | -ms-text-size-adjust: 100%; | ||
+ | -webkit-text-size-adjust: 100%; } | ||
+ | |||
+ | html, button, input, select, textarea { | ||
+ | font-family: sans-serif; } | ||
+ | |||
+ | body { | ||
+ | margin: 0; } | ||
+ | |||
+ | a:focus { | ||
+ | outline: thin dotted; } | ||
+ | |||
+ | a:active, a:hover { | ||
+ | outline: 0; } | ||
+ | |||
+ | h1 { | ||
+ | font-size: 2em; | ||
+ | margin: .67em 0; } | ||
+ | |||
+ | h2 { | ||
+ | font-size: 1.5em; | ||
+ | margin: .83em 0; } | ||
+ | |||
+ | h3 { | ||
+ | font-size: 1.17em; | ||
+ | margin: 1em 0; } | ||
+ | |||
+ | h4 { | ||
+ | font-size: 1em; | ||
+ | margin: 1.33em 0; } | ||
+ | |||
+ | h5 { | ||
+ | font-size: .83em; | ||
+ | margin: 1.67em 0; } | ||
+ | |||
+ | h6 { | ||
+ | font-size: .67em; | ||
+ | margin: 2.33em 0; } | ||
+ | |||
+ | abbr[title] { | ||
+ | border-bottom: 1px dotted; } | ||
+ | |||
+ | b, strong { | ||
+ | font-weight: bold; } | ||
+ | |||
+ | blockquote { | ||
+ | margin: 1em 40px; } | ||
+ | |||
+ | dfn { | ||
+ | font-style: italic; } | ||
+ | |||
+ | hr { | ||
+ | -moz-box-sizing: content-box; | ||
+ | box-sizing: content-box; | ||
+ | height: 0; } | ||
+ | |||
+ | mark { | ||
+ | background: #ff0; | ||
+ | color: #000; } | ||
+ | |||
+ | p, pre { | ||
+ | margin: 1em 0; } | ||
+ | |||
+ | code, kbd, pre, samp { | ||
+ | font-family: monospace,serif; | ||
+ | _font-family: 'courier new',monospace; | ||
+ | font-size: 1em; } | ||
+ | |||
+ | pre { | ||
+ | white-space: pre; | ||
+ | white-space: pre-wrap; | ||
+ | word-wrap: break-word; } | ||
+ | |||
+ | q { | ||
+ | quotes: none; } | ||
+ | |||
+ | q:before, q:after { | ||
+ | content: ''; | ||
+ | content: none; } | ||
+ | |||
+ | small { | ||
+ | font-size: 80%; } | ||
+ | |||
+ | sub, sup { | ||
+ | font-size: 75%; | ||
+ | line-height: 0; | ||
+ | position: relative; | ||
+ | vertical-align: baseline; } | ||
+ | |||
+ | sup { | ||
+ | top: -0.5em; } | ||
+ | |||
+ | sub { | ||
+ | bottom: -0.25em; } | ||
+ | |||
+ | dl, menu, ol, ul { | ||
+ | margin: 0; } | ||
+ | |||
+ | dd { | ||
+ | margin: 0 0 0 40px; } | ||
+ | |||
+ | menu, ol, ul { | ||
+ | padding: 0 0 0 40px; } | ||
+ | |||
+ | nav ul, nav ol { | ||
+ | list-style: none; | ||
+ | list-style-image: none; } | ||
+ | |||
+ | img { | ||
+ | border: 0; | ||
+ | -ms-interpolation-mode: bicubic; } | ||
+ | |||
+ | svg:not(:root) { | ||
+ | overflow: hidden; } | ||
+ | |||
+ | figure { | ||
+ | margin: 0; } | ||
+ | |||
+ | form { | ||
+ | margin: 0; } | ||
+ | |||
+ | fieldset { | ||
+ | border: 1px solid silver; | ||
+ | margin: 0 2px; | ||
+ | padding: .35em .625em .75em; } | ||
+ | |||
+ | legend { | ||
+ | border: 0; | ||
+ | padding: 0; | ||
+ | white-space: normal; | ||
+ | *margin-left: -7px; } | ||
+ | |||
+ | button, input, select, textarea { | ||
+ | font-size: 100%; | ||
+ | margin: 0; | ||
+ | vertical-align: baseline; | ||
+ | *vertical-align: middle; } | ||
+ | |||
+ | button, input { | ||
+ | line-height: normal; } | ||
+ | |||
+ | button, select { | ||
+ | text-transform: none; } | ||
+ | |||
+ | button, html input[type="button"], input[type="reset"], input[type="submit"] { | ||
+ | -webkit-appearance: button; | ||
+ | cursor: pointer; | ||
+ | *overflow: visible; } | ||
+ | |||
+ | button[disabled], html input[disabled] { | ||
+ | cursor: default; } | ||
+ | |||
+ | input[type="checkbox"], input[type="radio"] { | ||
+ | box-sizing: border-box; | ||
+ | padding: 0; | ||
+ | *height: 13px; | ||
+ | *width: 13px; } | ||
+ | |||
+ | input[type="search"] { | ||
+ | -webkit-appearance: textfield; | ||
+ | -moz-box-sizing: content-box; | ||
+ | -webkit-box-sizing: content-box; | ||
+ | box-sizing: content-box; } | ||
+ | |||
+ | input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { | ||
+ | -webkit-appearance: none; } | ||
+ | |||
+ | button::-moz-focus-inner, input::-moz-focus-inner { | ||
+ | border: 0; | ||
+ | padding: 0; } | ||
+ | |||
+ | textarea { | ||
+ | overflow: auto; | ||
+ | vertical-align: top; } | ||
+ | |||
+ | table { | ||
+ | border-collapse: collapse; | ||
+ | border-spacing: 0; } | ||
+ | |||
/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */ | /*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */ | ||
- | + | html, | |
+ | button, | ||
+ | input, | ||
+ | select, | ||
+ | textarea { | ||
+ | color: #222; } | ||
- | + | html { | |
- | + | font-size: 1em; | |
+ | line-height: 1.4; } | ||
+ | |||
+ | ::-moz-selection { | ||
+ | background: #b3d4fc; | ||
+ | text-shadow: none; } | ||
+ | |||
+ | ::selection { | ||
+ | background: #b3d4fc; | ||
+ | text-shadow: none; } | ||
+ | |||
+ | hr { | ||
+ | display: block; | ||
+ | height: 1px; | ||
+ | border: 0; | ||
+ | border-top: 1px solid #ccc; | ||
+ | margin: 1em 0; | ||
+ | padding: 0; } | ||
+ | |||
+ | audio, | ||
+ | canvas, | ||
+ | img, | ||
+ | video { | ||
+ | vertical-align: middle; } | ||
+ | |||
+ | fieldset { | ||
+ | border: 0; | ||
+ | margin: 0; | ||
+ | padding: 0; } | ||
+ | |||
+ | textarea { | ||
+ | resize: vertical; } | ||
+ | |||
+ | .browsehappy { | ||
+ | margin: 0.2em 0; | ||
+ | background: #ccc; | ||
+ | color: #000; | ||
+ | padding: 0.2em 0; } | ||
+ | |||
+ | /* ===== Initializr Styles ================================================== | ||
+ | Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template | ||
+ | ========================================================================== */ | ||
+ | body { | ||
+ | font: 16px/26px Helvetica Neue, Helvetica, Arial; | ||
+ | font-weight: 200; } | ||
+ | |||
+ | .wrapper { | ||
+ | width: 90%; | ||
+ | margin: 0 5%; } | ||
+ | |||
+ | /* =================== | ||
+ | ALL: Orange Theme | ||
+ | =================== */ | ||
+ | .header-container, | ||
+ | main-container, | ||
+ | .main aside { | ||
+ | background: white; } | ||
+ | |||
+ | .title { | ||
+ | color: #888; } | ||
+ | |||
+ | /* ============== | ||
+ | MOBILE: Menu | ||
+ | ============== */ | ||
+ | nav ul { | ||
+ | margin: 0; | ||
+ | padding: 0; } | ||
+ | |||
+ | /* ============== | ||
+ | MOBILE: Main | ||
+ | ============== */ | ||
+ | .main { | ||
+ | padding: 30px 0; | ||
+ | background: white; } | ||
+ | |||
+ | .main article h1 { | ||
+ | font-size: 2em; } | ||
+ | |||
+ | .main aside { | ||
+ | color: black; | ||
+ | padding: 0px 5% 10px; } | ||
+ | |||
+ | .footer-container footer { | ||
+ | padding-top: 20px; | ||
+ | padding-bottom: 20px; } | ||
+ | |||
+ | .footer-container { | ||
+ | background: white; } | ||
+ | |||
+ | /* =============== | ||
+ | ALL: IE Fixes | ||
+ | =============== */ | ||
+ | .ie7 .title { | ||
+ | padding-top: 20px; } | ||
+ | /* ========================================================================== | ||
+ | Helper classes | ||
+ | ========================================================================== */ | ||
+ | .ir { | ||
+ | background-color: transparent; | ||
+ | border: 0; | ||
+ | overflow: hidden; | ||
+ | *text-indent: -9999px; } | ||
+ | |||
+ | .ir:before { | ||
+ | content: ""; | ||
+ | display: block; | ||
+ | width: 0; | ||
+ | height: 150%; } | ||
+ | |||
+ | .hidden { | ||
+ | display: none !important; | ||
+ | visibility: hidden; } | ||
+ | |||
+ | .visuallyhidden { | ||
+ | border: 0; | ||
+ | clip: rect(0 0 0 0); | ||
+ | height: 1px; | ||
+ | margin: -1px; | ||
+ | overflow: hidden; | ||
+ | padding: 0; | ||
+ | position: absolute; | ||
+ | width: 1px; } | ||
+ | |||
+ | .visuallyhidden.focusable:active, | ||
+ | .visuallyhidden.focusable:focus { | ||
+ | clip: auto; | ||
+ | height: auto; | ||
+ | margin: 0; | ||
+ | overflow: visible; | ||
+ | position: static; | ||
+ | width: auto; } | ||
+ | |||
+ | .invisible { | ||
+ | visibility: hidden; } | ||
+ | |||
+ | .clearfix:before, | ||
+ | .clearfix:after { | ||
+ | content: " "; | ||
+ | display: table; } | ||
+ | |||
+ | .clearfix:after { | ||
+ | clear: both; } | ||
+ | |||
+ | .clearfix { | ||
+ | *zoom: 1; } | ||
+ | |||
+ | /* ========================================================================== | ||
+ | Print styles | ||
+ | ========================================================================== */ | ||
+ | @media print { | ||
+ | * { | ||
+ | background: transparent !important; | ||
+ | color: #000 !important; | ||
+ | box-shadow: none !important; | ||
+ | text-shadow: none !important; } | ||
+ | |||
+ | a, | ||
+ | a:visited { | ||
+ | text-decoration: underline; } | ||
+ | |||
+ | a[href]:after { | ||
+ | content: " (" attr(href) ")"; } | ||
+ | |||
+ | abbr[title]:after { | ||
+ | content: " (" attr(title) ")"; } | ||
+ | |||
+ | .ir a:after, | ||
+ | a[href^="javascript:"]:after, | ||
+ | a[href^="#"]:after { | ||
+ | content: ""; } | ||
+ | |||
+ | pre, | ||
+ | blockquote { | ||
+ | border: 1px solid #999; | ||
+ | page-break-inside: avoid; } | ||
+ | |||
+ | thead { | ||
+ | display: table-header-group; } | ||
+ | |||
+ | tr, | ||
+ | img { | ||
+ | page-break-inside: avoid; } | ||
+ | |||
+ | img { | ||
+ | max-width: 100% !important; } | ||
+ | |||
+ | @page { | ||
+ | margin: 0.5cm; } | ||
+ | p, | ||
+ | h2, | ||
+ | h3 { | ||
+ | orphans: 3; | ||
+ | widows: 3; } | ||
+ | |||
+ | h2, | ||
+ | h3 { | ||
+ | page-break-after: avoid; } } | ||
/* ========================================================================== | /* ========================================================================== | ||
Author's custom styles | Author's custom styles | ||
========================================================================== */ | ========================================================================== */ | ||
- | + | .landing-container { | |
- | + | background: #3d4c53; | |
- | + | width: 1026px; | |
- | + | -webkit-animation: zoom-dark, 12s, 0, linear, infinite; | |
- | + | -moz-animation: zoom-dark, 12s, 0, linear, infinite; | |
+ | animation: zoom-dark, 12s, 0, linear, infinite; | ||
+ | position: relative; } | ||
- | + | .landing { | |
- | + | height: 550px; } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
+ | @-webkit-keyframes zoom-dark { | ||
+ | 0% { | ||
+ | background: #3d4c53; } | ||
+ | |||
+ | 10% { | ||
+ | background: #3d4c53; } | ||
+ | |||
+ | 20% { | ||
+ | background: #4e5d64; } | ||
+ | |||
+ | 90% { | ||
+ | background: #4e5d64; } | ||
+ | |||
+ | 100% { | ||
+ | background: #3d4c53; } } | ||
+ | @-moz-keyframes zoom-dark { | ||
+ | 0% { | ||
+ | background: #3d4c53; } | ||
+ | |||
+ | 10% { | ||
+ | background: #3d4c53; } | ||
+ | |||
+ | 20% { | ||
+ | background: #4e5d64; } | ||
+ | |||
+ | 90% { | ||
+ | background: #4e5d64; } | ||
+ | |||
+ | 100% { | ||
+ | background: #3d4c53; } } | ||
+ | @keyframes zoom-dark { | ||
+ | 0% { | ||
+ | background: #3d4c53; } | ||
+ | |||
+ | 10% { | ||
+ | background: #3d4c53; } | ||
+ | |||
+ | 20% { | ||
+ | background: #4e5d64; } | ||
+ | |||
+ | 90% { | ||
+ | background: #4e5d64; } | ||
+ | |||
+ | 100% { | ||
+ | background: #3d4c53; } } | ||
+ | @-webkit-keyframes zoom { | ||
+ | 0% { | ||
+ | opacity: 0.4; } | ||
+ | |||
+ | 50% { | ||
+ | opacity: 0.4; } | ||
+ | |||
+ | 60% { | ||
+ | opacity: 0.05; } | ||
+ | |||
+ | 90% { | ||
+ | opacity: 0.05; } | ||
+ | |||
+ | 100% { | ||
+ | opacity: 0.4; } } | ||
+ | @-moz-keyframes zoom { | ||
+ | 0% { | ||
+ | opacity: 0.4; } | ||
+ | |||
+ | 50% { | ||
+ | opacity: 0.4; } | ||
+ | |||
+ | 60% { | ||
+ | opacity: 0.05; } | ||
+ | |||
+ | 90% { | ||
+ | opacity: 0.05; } | ||
+ | |||
+ | 100% { | ||
+ | opacity: 0.4; } } | ||
+ | @keyframes zoom { | ||
+ | 0% { | ||
+ | opacity: 0.4; } | ||
+ | |||
+ | 50% { | ||
+ | opacity: 0.4; } | ||
+ | |||
+ | 60% { | ||
+ | opacity: 0.05; } | ||
+ | |||
+ | 90% { | ||
+ | opacity: 0.05; } | ||
+ | |||
+ | 100% { | ||
+ | opacity: 0.4; } } | ||
+ | @-webkit-keyframes petri-zoom { | ||
+ | 0% { | ||
+ | opacity: 0.4; } | ||
+ | |||
+ | 10% { | ||
+ | opacity: 0.4; } | ||
+ | |||
+ | 20% { | ||
+ | opacity: 0.1; } | ||
+ | |||
+ | 90% { | ||
+ | opacity: 0.1; } | ||
+ | |||
+ | 100% { | ||
+ | opacity: 0.4; } } | ||
+ | @-moz-keyframes petri-zoom { | ||
+ | 0% { | ||
+ | opacity: 0.4; } | ||
+ | |||
+ | 10% { | ||
+ | opacity: 0.4; } | ||
+ | |||
+ | 20% { | ||
+ | opacity: 0.1; } | ||
+ | |||
+ | 90% { | ||
+ | opacity: 0.1; } | ||
+ | |||
+ | 100% { | ||
+ | opacity: 0.4; } } | ||
+ | @keyframes petri-zoom { | ||
+ | 0% { | ||
+ | opacity: 0.4; } | ||
+ | |||
+ | 10% { | ||
+ | opacity: 0.4; } | ||
+ | |||
+ | 20% { | ||
+ | opacity: 0.1; } | ||
+ | |||
+ | 90% { | ||
+ | opacity: 0.1; } | ||
+ | |||
+ | 100% { | ||
+ | opacity: 0.4; } } | ||
+ | #petri-dots { | ||
+ | position: relative; | ||
+ | top: 50px; | ||
+ | left: 20px; } | ||
+ | |||
+ | #landing-dots path { | ||
+ | /*fill: #753473; */ | ||
+ | fill: #bbb; | ||
+ | opacity: 0.2; } | ||
+ | |||
+ | #landing-dots .dot-one { | ||
+ | /*fill: #702968;*/ | ||
+ | -webkit-animation-delay: 0; | ||
+ | -webkit-animation-duration: 6s; | ||
+ | -webkit-animation-name: zoom; | ||
+ | -webkit-animation-timing-function: linear; | ||
+ | -webkit-animation-iteration-count: infinite; | ||
+ | -moz-animation-delay: 0; | ||
+ | -moz-animation-duration: 6s; | ||
+ | -moz-animation-name: zoom; | ||
+ | -moz-animation-timing-function: linear; | ||
+ | -moz-animation-iteration-count: infinite; | ||
+ | -o-animation-delay: 0; | ||
+ | -o-animation-duration: 6s; | ||
+ | -o-animation-name: zoom; | ||
+ | -o-animation-timing-function: linear; | ||
+ | -o-animation-iteration-count: infinite; | ||
+ | animation-delay: 0; | ||
+ | animation-duration: 6s; | ||
+ | animation-name: zoom; | ||
+ | animation-timing-function: linear; | ||
+ | animation-iteration-count: infinite; } | ||
+ | |||
+ | #landing-dots .dot-two { | ||
+ | -webkit-animation-delay: 0; | ||
+ | -webkit-animation-duration: 3s; | ||
+ | -webkit-animation-name: zoom; | ||
+ | -webkit-animation-timing-function: linear; | ||
+ | -webkit-animation-iteration-count: infinite; | ||
+ | -moz-animation-delay: 0; | ||
+ | -moz-animation-duration: 3s; | ||
+ | -moz-animation-name: zoom; | ||
+ | -moz-animation-timing-function: linear; | ||
+ | -moz-animation-iteration-count: infinite; | ||
+ | -o-animation-delay: 0; | ||
+ | -o-animation-duration: 3s; | ||
+ | -o-animation-name: zoom; | ||
+ | -o-animation-timing-function: linear; | ||
+ | -o-animation-iteration-count: infinite; | ||
+ | animation-delay: 0; | ||
+ | animation-duration: 3s; | ||
+ | animation-name: zoom; | ||
+ | animation-timing-function: linear; | ||
+ | animation-iteration-count: infinite; } | ||
+ | |||
+ | #landing-dots .dot-three { | ||
+ | -webkit-animation-delay: 0; | ||
+ | -webkit-animation-duration: 4s; | ||
+ | -webkit-animation-name: zoom; | ||
+ | -webkit-animation-timing-function: linear; | ||
+ | -webkit-animation-iteration-count: infinite; | ||
+ | -moz-animation-delay: 0; | ||
+ | -moz-animation-duration: 4s; | ||
+ | -moz-animation-name: zoom; | ||
+ | -moz-animation-timing-function: linear; | ||
+ | -moz-animation-iteration-count: infinite; | ||
+ | -o-animation-delay: 0; | ||
+ | -o-animation-duration: 4s; | ||
+ | -o-animation-name: zoom; | ||
+ | -o-animation-timing-function: linear; | ||
+ | -o-animation-iteration-count: infinite; | ||
+ | animation-delay: 0; | ||
+ | animation-duration: 4s; | ||
+ | animation-name: zoom; | ||
+ | animation-timing-function: linear; | ||
+ | animation-iteration-count: infinite; } | ||
+ | |||
+ | #landing-dots .dot-four { | ||
+ | -webkit-animation-delay: 0; | ||
+ | -webkit-animation-duration: 12s; | ||
+ | -webkit-animation-name: zoom; | ||
+ | -webkit-animation-timing-function: linear; | ||
+ | -webkit-animation-iteration-count: infinite; | ||
+ | -moz-animation-delay: 0; | ||
+ | -moz-animation-duration: 12s; | ||
+ | -moz-animation-name: zoom; | ||
+ | -moz-animation-timing-function: linear; | ||
+ | -moz-animation-iteration-count: infinite; | ||
+ | -o-animation-delay: 0; | ||
+ | -o-animation-duration: 12s; | ||
+ | -o-animation-name: zoom; | ||
+ | -o-animation-timing-function: linear; | ||
+ | -o-animation-iteration-count: infinite; | ||
+ | animation-delay: 0; | ||
+ | animation-duration: 12s; | ||
+ | animation-name: zoom; | ||
+ | animation-timing-function: linear; | ||
+ | animation-iteration-count: infinite; } | ||
+ | |||
+ | #landing-petri ellipse { | ||
+ | -webkit-animation-delay: 0; | ||
+ | -webkit-animation-duration: 12s; | ||
+ | -webkit-animation-name: petri-zoom; | ||
+ | -webkit-animation-timing-function: linear; | ||
+ | -webkit-animation-iteration-count: infinite; | ||
+ | -moz-animation-delay: 0; | ||
+ | -moz-animation-duration: 12s; | ||
+ | -moz-animation-name: petri-zoom; | ||
+ | -moz-animation-timing-function: linear; | ||
+ | -moz-animation-iteration-count: infinite; | ||
+ | -o-animation-delay: 0; | ||
+ | -o-animation-duration: 12s; | ||
+ | -o-animation-name: petri-zoom; | ||
+ | -o-animation-timing-function: linear; | ||
+ | -o-animation-iteration-count: infinite; | ||
+ | animation-delay: 0; | ||
+ | animation-duration: 12s; | ||
+ | animation-name: petri-zoom; | ||
+ | animation-timing-function: linear; | ||
+ | animation-iteration-count: infinite; } | ||
+ | |||
+ | .landing #Title { | ||
+ | width: 500px; | ||
+ | height: 450px; | ||
+ | padding: 50px 0; | ||
+ | float: left; | ||
+ | color: white; } | ||
+ | |||
+ | .landing #Title h1 { | ||
+ | font-size: 2.5em; | ||
+ | line-height: 1em; } | ||
+ | |||
+ | .notebooks-container { | ||
+ | background: #ffe11a; | ||
+ | width: 1026px; | ||
+ | position: relative; } | ||
+ | |||
+ | .notebooks-container .menu a { | ||
+ | color: black; } | ||
+ | |||
+ | .notebooks-container .menu a h2 { | ||
+ | border: 1px black solid; } | ||
+ | |||
+ | .notebooks-container .menu a:hover h2 { | ||
+ | border: 1px #ffe11a solid; } | ||
+ | |||
+ | .notebooks-container h1, .notebooks-container h2 { | ||
+ | color: black !important; } | ||
+ | |||
+ | .notebooks-container h1 { | ||
+ | text-shadow: -1px 1px 0 white !important; } | ||
+ | |||
+ | .notebooks-container .menu a:visited { | ||
+ | color: black; } | ||
+ | |||
+ | .notebooks-container .menu a .down, .notebooks-container .menu a .up { | ||
+ | stroke: black; } | ||
+ | |||
+ | .multi-container aside { | ||
+ | float: left; | ||
+ | padding: 100px 0px; | ||
+ | margin: 20px 0; | ||
+ | width: 220px; | ||
+ | height: 400px; | ||
+ | text-align: right; } | ||
+ | |||
+ | .multi-container aside h3 { | ||
+ | padding: 0 10px; } | ||
+ | |||
+ | .multi-container article { | ||
+ | width: 758px; | ||
+ | height: 598px; | ||
+ | overflow: auto; | ||
+ | float: right; | ||
+ | padding: 0 10px; | ||
+ | margin: 20px 0; | ||
+ | border: 1px black solid; } | ||
+ | |||
+ | .multi-container .main .hidden { | ||
+ | display: none; } | ||
+ | |||
+ | .multi-container article.show { | ||
+ | display: block; } | ||
+ | |||
+ | .multi-container ul li .active { | ||
+ | background: #ffe11a; | ||
+ | font-weight: 500; } | ||
+ | |||
+ | .multi-container aside ul { | ||
+ | list-style: none; | ||
+ | width: 220px; | ||
+ | height: 300px; | ||
+ | padding: 0; | ||
+ | margin: 0; } | ||
+ | |||
+ | .multi-container aside li a { | ||
+ | color: black; | ||
+ | text-decoration: none; | ||
+ | display: block; | ||
+ | padding: 5px 10px; | ||
+ | border-top: 1px solid black; | ||
+ | border-left: 1px solid black; } | ||
+ | |||
+ | .multi-container aside li:last-child a { | ||
+ | border-bottom: 1px solid black; } | ||
+ | |||
+ | .multi-container aside li a:hover { | ||
+ | background: #ffe11a; } | ||
+ | |||
+ | .multi-container #member-select header { | ||
+ | font-family: Ostrich, sans-serif; | ||
+ | font-size: 32px; | ||
+ | padding: 110px 0; } | ||
+ | |||
+ | .multi-container #member-select header svg { | ||
+ | width: 32px; | ||
+ | height: 32px; | ||
+ | fill: none; | ||
+ | stroke: black; | ||
+ | stroke-width: 1px; | ||
+ | position: relative; | ||
+ | top: 4px; } | ||
+ | |||
+ | #protocols aside { | ||
+ | float: right; | ||
+ | text-align: left; } | ||
+ | |||
+ | #protocols aside li a { | ||
+ | border-left: none; | ||
+ | border-right: 1px solid black; } | ||
+ | |||
+ | #protocols #member-select header { | ||
+ | float: right; } | ||
+ | |||
+ | #protocols table, | ||
+ | #notebooks table { | ||
+ | padding: 0; | ||
+ | border-collapse: collapse; } | ||
+ | #protocols table tr, | ||
+ | #notebooks table tr { | ||
+ | border-top: 1px solid #cccccc; | ||
+ | background-color: white; | ||
+ | margin: 0; | ||
+ | padding: 0; } | ||
+ | #protocols table tr:nth-child(2n), | ||
+ | #notebooks table tr:nth-child(2n) { | ||
+ | background-color: #f8f8f8; } | ||
+ | #protocols table tr th, | ||
+ | #notebooks table tr th { | ||
+ | font-weight: bold; | ||
+ | border: 1px solid #cccccc; | ||
+ | margin: 0; | ||
+ | padding: 6px 13px; } | ||
+ | #protocols table tr td, | ||
+ | #notebooks table tr td { | ||
+ | border: 1px solid #cccccc; | ||
+ | margin: 0; | ||
+ | padding: 6px 13px; } | ||
+ | #protocols table tr th :first-child, #protocols table tr td :first-child, | ||
+ | #notebooks table tr th :first-child, | ||
+ | #notebooks table tr td :first-child { | ||
+ | margin-top: 0; } | ||
+ | #protocols table tr th :last-child, #protocols table tr td :last-child, | ||
+ | #notebooks table tr th :last-child, | ||
+ | #notebooks table tr td :last-child { | ||
+ | margin-bottom: 0; } | ||
+ | #protocols code, #protocols tt, | ||
+ | #notebooks code, | ||
+ | #notebooks tt { | ||
+ | margin: 0 2px; | ||
+ | padding: 0 5px; | ||
+ | white-space: nowrap; | ||
+ | border: 1px solid #eaeaea; | ||
+ | background-color: #f8f8f8; | ||
+ | border-radius: 3px; } | ||
+ | #protocols pre code, | ||
+ | #notebooks pre code { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | white-space: pre; | ||
+ | border: none; | ||
+ | background: transparent; } | ||
+ | #protocols .highlight pre, | ||
+ | #notebooks .highlight pre { | ||
+ | background-color: #f8f8f8; | ||
+ | border: 1px solid #cccccc; | ||
+ | font-size: 13px; | ||
+ | line-height: 19px; | ||
+ | overflow: auto; | ||
+ | padding: 6px 10px; | ||
+ | border-radius: 3px; } | ||
+ | #protocols pre, | ||
+ | #notebooks pre { | ||
+ | background-color: #f8f8f8; | ||
+ | border: 1px solid #cccccc; | ||
+ | font-size: 13px; | ||
+ | line-height: 19px; | ||
+ | overflow: auto; | ||
+ | padding: 6px 10px; | ||
+ | border-radius: 3px; } | ||
+ | #protocols pre code, #protocols pre tt, | ||
+ | #notebooks pre code, | ||
+ | #notebooks pre tt { | ||
+ | background-color: transparent; | ||
+ | border: none; } | ||
+ | |||
+ | .team-container { | ||
+ | background: #0cdbe8; | ||
+ | width: 1026px; | ||
+ | margin-bottom: 10px; } | ||
+ | |||
+ | .team-container .menu a:hover h2 { | ||
+ | border: 1px #0cdbe8 solid; } | ||
+ | |||
+ | #attributions article, #team-members .member, #advisors .member { | ||
+ | width: 95%; | ||
+ | margin: 0 auto; | ||
+ | /* border: 1px $Gray solid; */ | ||
+ | margin-top: 10px; } | ||
+ | #attributions article .name, #team-members .member .name, #advisors .member .name { | ||
+ | font-weight: 500; } | ||
+ | #attributions article p:first-letter, #team-members .member p:first-letter, #advisors .member p:first-letter { | ||
+ | float: left; | ||
+ | font-size: 60px; | ||
+ | line-height: 45px; | ||
+ | padding-top: 4px; | ||
+ | padding-left: 3px; | ||
+ | padding-left: 3px; | ||
+ | font-family: Ostrich; } | ||
+ | #attributions article p, #team-members .member p, #advisors .member p { | ||
+ | padding-bottom: 5px; } | ||
+ | |||
+ | #attributions .right, #team-members .right, #advisors .right { | ||
+ | float: right; | ||
+ | width: 50%; } | ||
+ | #attributions .left, #team-members .left, #advisors .left { | ||
+ | float: left; | ||
+ | width: 50%; } | ||
+ | #attributions p, #team-members p, #advisors p { | ||
+ | margin: 5px; } | ||
+ | #attributions img, #team-members img, #advisors img { | ||
+ | float: right; | ||
+ | padding: 5px; | ||
+ | margin: 0 0 0 5px; | ||
+ | border: 1px solid #3d4c53; } | ||
+ | |||
+ | .project-container { | ||
+ | background: #3d4c53; | ||
+ | width: 1024px; } | ||
+ | |||
+ | .project-container .menu a:hover h2 { | ||
+ | border: 1px #3d4c53 solid; } | ||
+ | |||
+ | .hp-container { | ||
+ | background: #ea2e49; | ||
+ | width: 1024px; } | ||
+ | |||
+ | .hp-container .menu a:hover h2 { | ||
+ | border: 1px #ea2e49 solid; } | ||
+ | |||
+ | .models-container { | ||
+ | background: #98c000; | ||
+ | width: 1024px; } | ||
+ | |||
+ | .models-container .menu a:hover h2 { | ||
+ | border: 1px #98c000 solid; } | ||
+ | |||
+ | @font-face { | ||
+ | font-family: Ostrich; | ||
+ | src: url(OstrichSans-Black.otf); } | ||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
- | + | font-family: 'Ostrich', san-serif; } | |
- | } | + | |
- | .main-container{ | + | .main-container { |
- | + | background: white; } | |
- | } | + | |
.header-container { | .header-container { | ||
- | + | width: 1026px; | |
- | + | position: relative; | |
- | + | margin-top: -14px; | |
- | + | background: #efefef; } | |
- | } | + | |
- | .header-container h1{ | + | .header-container h1 { |
- | + | float: left; | |
- | + | margin: 0; | |
- | + | padding: 14px 0; } | |
- | } | + | |
- | .header-container h1 a{ | + | .header-container h1 a { |
- | + | text-decoration: none; | |
- | + | color: Black; | |
- | + | display: block; | |
- | + | background: white; | |
- | + | padding-right: 40px; | |
- | + | position: relative; | |
- | + | background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ijk1LjUgMTEwLjUgMzMgMjkiPiA8cGF0aCBmaWxsID0gIiM2NjYiIGQ9Ik0xMjcuMjM1IDEyNi44MzRsLTE1LjA1Mi0xNS4wNTVjLTAuMTc5LTAuMTc5LTAuNDIyLTAuMjc5LTAuNjc0LTAuMjc5Yy0wLjI1MyAwLTAuNDk2IDAuMS0wLjY3NCAwLjI3OUw5NS43OCAxMjYuOCBjLTAuMzczIDAuMzcyLTAuMzczIDEgMCAxLjM0OGMwLjM3MiAwLjQgMC45IDAuNCAxLjIgMGwyLjg4MS0zLjAwMXYxMS45MjRjMCAwLjUgMC43IDEuMiAxLjIgMS4xOTFoNi42NjMgaDcuNjI2aDYuNjgzYzAuNTI3IDAgMC43MTUtMC42NjUgMC43MTUtMS4xOTFWMTI1LjNsMyAyLjg4MWMwLjE4OCAwLjIgMC41IDAuMyAwLjcgMC4yNzlzMC41MTgtMC4wOTMgMC43MDMtMC4yNzkgQzEyNy41NzkgMTI3LjggMTI3LjYgMTI3LjIgMTI3LjIgMTI2LjgzNHogTTExNC4xODkgMTM2LjM5aC01Ljcydi02LjQzNWMwLTAuNzg5IDAuODctMS4xOTIgMS42NTgtMS4xOTJoMi44NTkgYzAuNzg5IDAgMS4yIDAuNCAxLjIgMS4xOTJMMTE0LjE4OSAxMzYuMzlMMTE0LjE4OSAxMzYuMzl6IE0xMjAuODYyIDEzNi4zOWgtNC43NjZ2LTYuNDM1YzAtMS44NC0xLjI3LTMuMDk5LTMuMTA5LTMuMDk5IGgtMi44NTljLTEuODQgMC0zLjU2NCAxLjI1OS0zLjU2NCAzLjA5OXY2LjQzNWgtNC43Njd2LTEzLjEwOGMwLTAuMDAyIDAuMTE4LTAuMDA0IDAuMTE4LTAuMDA3bDkuNDE0LTkuNDc0bDkuNTMzIDkuNTkyVjEzNi4zOXoiLz4gPC9zdmc+); | |
- | + | background-position: 999px 0px; | |
- | + | background-repeat: no-repeat; | |
- | + | background-size: 30px 30px; } | |
- | } | + | |
- | + | ||
- | .header-container h1 a:hover{ | + | .header-container h1 a:hover { |
- | + | background-position: 165px 65px; } | |
- | } | + | |
- | .header-container h1 a:active{ | + | .header-container h1 a:active { |
- | + | background-position: 165px 65px; | |
- | + | top: 1px; } | |
- | } | + | |
.title { | .title { | ||
- | + | float: left; } | |
- | } | + | |
nav { | nav { | ||
- | + | float: right; | |
- | + | width: 600px; | |
- | + | height: 120px; } | |
- | } | + | |
- | nav a{ | + | nav a { |
- | + | padding: 50px 10px; | |
- | + | text-align: center; | |
- | + | text-decoration: none; | |
- | + | color: black; | |
- | + | width: 80px; | |
- | + | height: 20px; | |
- | + | display: block; } | |
- | } | + | |
nav a:hover, nav .on-page { | nav a:hover, nav .on-page { | ||
- | + | color: #fff; | |
- | + | text-shadow: 0 0 2px #222; } | |
- | } | + | |
nav a:active { | nav a:active { | ||
- | top: 1px; | + | top: 1px; |
- | position: relative; | + | position: relative; } |
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | nav . | + | nav .project a:hover, nav .project .on-page { |
- | + | background: #3d4c53; } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | nav .team a:hover, nav .team .on-page{ | + | nav .models a:hover, nav .models .on-page { |
- | + | background: #98c000; } | |
- | } | + | |
- | nav .judging a:hover, nav .judging .on-page{ | + | nav .hp a:hover, nav .hp .on-page { |
- | + | background: #ea2e49; } | |
- | } | + | |
+ | nav .notebooks a:hover, nav .notebooks .on-page { | ||
+ | background: #ffe11a; } | ||
+ | |||
+ | nav .team a:hover, nav .team .on-page { | ||
+ | background: #0cdbe8; } | ||
+ | |||
+ | nav .judging a:hover, nav .judging .on-page { | ||
+ | background: #707f86; } | ||
+ | |||
+ | nav .igem a { | ||
+ | padding: 35px 10px; } | ||
+ | |||
+ | nav .igem a:hover .cogs { | ||
+ | fill: #98c000; | ||
+ | stroke: none; } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
nav li { | nav li { | ||
- | + | width: 100px; | |
- | + | float: left; } | |
- | } | + | |
nav li:first-child a { | nav li:first-child a { | ||
- | + | margin-left: 0; } | |
- | } | + | |
nav li:last-child a { | nav li:last-child a { | ||
- | + | margin-right: 0; } | |
- | } | + | |
/* ============ | /* ============ | ||
WIDE: Main | WIDE: Main | ||
============ */ | ============ */ | ||
- | |||
.main article { | .main article { | ||
- | + | float: left; | |
- | + | width: 57%; } | |
- | } | + | |
.main aside { | .main aside { | ||
- | + | float: right; | |
- | + | width: 28%; } | |
- | } | + | |
.wrapper { | .wrapper { | ||
- | + | width: 1000px; | |
- | + | /* 1140px - 10% for margins - 13px for padding */ | |
- | + | margin: 0 auto; | |
- | } | + | padding: 0 13px; } |
@media only screen and (min-width: 1000px) { | @media only screen and (min-width: 1000px) { | ||
+ | /* =============== | ||
+ | Maximal Width | ||
+ | =============== */ | ||
+ | .header-container { | ||
+ | width: 100%; } | ||
- | /* =============== | + | .landing-container, .notebooks-container, .team-container, .hp-container, .models-container, .project-container { |
- | + | width: 100%; } } | |
- | =============== */ | + | /* ========================================================================== |
+ | Remove default iGEM styling | ||
+ | ========================================================================== */ | ||
+ | #contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading, .visualClear { | ||
+ | display: none; } | ||
- | . | + | #top-section { |
- | + | /*-- styling for default menu bar (edit, page, history, etc.) --*/ | |
- | } | + | background-color: white; |
- | + | border: 0 none; | |
- | + | height: 14px; | |
- | } | + | z-index: 100; |
- | } | + | top: 0; |
- | + | position: fixed; | |
+ | width: 1026px; | ||
+ | left: 50%; | ||
+ | margin-left: -513px; | ||
+ | color: #333; } | ||
+ | |||
+ | #top-section-bar { | ||
+ | /*-- styling full width bar which hides behind default menu bar (edit, page, history, etc.) --*/ | ||
+ | height: 14px; | ||
+ | display: none; | ||
+ | z-index: 10; | ||
+ | position: fixed; | ||
+ | width: 100%; | ||
+ | top: 0; } | ||
+ | |||
+ | #top-section ul { | ||
+ | padding: 0; } | ||
+ | |||
+ | #menubar a:link, #menubar a:active, #menubar a:visited, #menubar a:hover, #menubar:hover { | ||
+ | /*-- styling for default menu bar links (edit, page, history, etc.) --*/ | ||
+ | background-color: white; | ||
+ | text-decoration: none; | ||
+ | color: #333; } | ||
+ | |||
+ | body { | ||
+ | background-color: #fff; } | ||
+ | |||
+ | #globalWrapper, #content { | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | border: 0px; | ||
+ | background-color: transparent; | ||
+ | margin: 0px; | ||
+ | padding: 0px; | ||
+ | font-size: 100%; } | ||
+ | |||
+ | #menubar { | ||
+ | top: -2px; } | ||
+ | |||
+ | ul { | ||
+ | line-height: 1em; } | ||
+ | |||
+ | html, body { | ||
+ | /*-- changes default wiki settings --*/ | ||
+ | height: 100%; } | ||
+ | |||
+ | #contentcontainer { | ||
+ | /*-- creates container for all content on page --*/ | ||
+ | font-family: Arial, Helvetica, sans-serif; | ||
+ | font-weight: normal; | ||
+ | font-size: 14px; | ||
+ | color: #414141; | ||
+ | width: 960px; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | background-color: transparent; | ||
+ | margin-top: 0px; } | ||
+ | |||
+ | #bodyContent pre { | ||
+ | padding: 0; | ||
+ | border: none; | ||
+ | background: transparent; | ||
+ | line-height: 1em; } | ||
+ | |||
+ | #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { | ||
+ | border: none; | ||
+ | margin: 0; } | ||
+ | |||
+ | #bodyContent .menu h1, #bodyContent .menu h2 { | ||
+ | float: left; | ||
+ | height: 26px; | ||
+ | margin: 16px 35px 16px 0; | ||
+ | padding: 0 5px; | ||
+ | position: relative; | ||
+ | color: white; } | ||
+ | |||
+ | .menu h1 { | ||
+ | text-shadow: -1px 1px 0 black; } | ||
+ | |||
+ | .menu a h2 { | ||
+ | border: 1px white solid; } | ||
- | + | .menu a { | |
- | + | text-decoration: none; | |
- | + | display: block; | |
- | + | color: white; } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | .menu a:hover h2{ | + | .menu a:hover h2 { |
- | + | border: 1px white solid; } | |
- | } | + | |
.menu a .down, .menu a .up { | .menu a .down, .menu a .up { | ||
- | + | display: inline-block; | |
- | + | width: 32px; | |
- | + | height: 32px; | |
- | + | position: absolute; | |
- | + | top: -9999px; | |
- | + | right: 0; | |
- | + | stroke: white; | |
- | + | stroke-width: 1.1px; | |
- | + | fill: none; } | |
- | + | ||
- | } | + | .menu a:hover .down { |
- | .menu a:hover .down{ | + | top: 16px; } |
- | + | ||
- | } | + | .menu a:hover .up { |
+ | top: -22px; } | ||
- | |||
- | |||
- | |||
.menu a:active { | .menu a:active { | ||
- | + | top: 1px; | |
- | + | position: relative; } | |
- | } | + | |
.footer-container { | .footer-container { | ||
- | + | margin-top: 20px; | |
- | + | background: #3d4c53; } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | footer | + | footer { |
- | + | color: white; | |
- | } | + | background: #3d4c53; } |
- | + | footer h3 { | |
+ | float: left; } | ||
footer #sitemap .page a, footer #sitemap li .sections a { | footer #sitemap .page a, footer #sitemap li .sections a { | ||
- | + | color: #707f86; | |
- | + | text-decoration: none; } | |
- | } | + | |
footer #sitemap { | footer #sitemap { | ||
- | + | list-style: none; | |
- | + | padding: 0; } | |
- | + | ||
- | + | ||
footer #sitemap .page .sections { | footer #sitemap .page .sections { | ||
- | + | list-style: none; | |
- | + | padding: 0; } | |
- | } | + | |
footer #sitemap .page { | footer #sitemap .page { | ||
- | + | float: left; | |
- | + | width: 120px; | |
- | + | margin-right: 10px; } | |
- | } | + | |
- | footer #sitemap .page h4{ | + | footer #sitemap .page h4 { |
- | + | margin: 0; | |
- | + | padding: 0; } | |
- | } | + | |
- | footer #sitemap .page h4 a{ | + | footer #sitemap .page h4 a { |
- | + | display: block; | |
- | + | padding: 5px; | |
- | + | margin: 0; | |
- | + | border: 1px #707f86 solid; } | |
- | } | + | |
- | footer #sitemap .page h4 a:hover{ | + | footer #sitemap .page h4 a:hover { |
- | + | background: white; | |
- | + | color: black; | |
- | + | border: 1px white solid; } | |
- | } | + | |
- | footer #sitemap .page a:hover{ | + | footer #sitemap .page a:hover { |
- | + | color: white; } | |
- | } | + | |
- | footer #sitemap .page .sections li{ | + | footer #sitemap .page .sections li { |
- | + | margin-top: 5px; | |
- | + | font-size: .9em; } | |
- | } | + | |
footer .copyright { | footer .copyright { | ||
- | + | float: right; | |
- | + | color: #707f86; | |
- | + | width: 200px; | |
- | + | height: 32px; } | |
- | } | + | |
footer .social { | footer .social { | ||
- | + | position: relative; | |
- | + | width: 200px; | |
- | + | height: 18px; | |
- | + | padding: 6px 0 15px 0; | |
- | + | margin-bottom: 5px; | |
- | + | float: right; } | |
- | } | + | |
- | footer .social a{ | + | footer .social a { |
- | + | font-size: 18px; | |
- | + | color: #707f86; | |
- | + | text-decoration: none; | |
- | + | padding-left: 45px; | |
- | + | font-family: Ostrich, sans-serif; } | |
- | + | ||
- | + | ||
footer .social a:hover { | footer .social a:hover { | ||
- | + | color: white; } | |
- | } | + | |
footer .social svg { | footer .social svg { | ||
- | + | fill: none; | |
- | + | stroke: #707f86; | |
- | + | stroke-width: 1.3px; | |
- | + | height: 32px; | |
- | + | width: 32px; | |
- | + | position: absolute; | |
- | + | top: 0px; | |
- | + | left: 0px; | |
- | + | padding: 2px; | |
- | + | border: 1px #707f86 solid; } | |
- | } | + | |
+ | footer .social a:hover svg { | ||
+ | stroke: none; | ||
+ | fill: black; | ||
+ | background: white; | ||
+ | border: 1px white solid; } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</style> | </style> | ||
</head> | </head> | ||
</html> | </html> |
Revision as of 03:50, 25 September 2014