Team:UCSF UCB/CSS
From 2014.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
<head> | <head> | ||
- | <style> | + | <style> /*! 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: | + | 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/ */ | ||
html, | html, | ||
button, | button, | ||
Line 11: | Line 204: | ||
select, | select, | ||
textarea { | textarea { | ||
- | + | color: #222; } | |
- | } | + | |
html { | html { | ||
- | + | font-size: 1em; | |
- | + | line-height: 1.4; } | |
- | } | + | |
::-moz-selection { | ::-moz-selection { | ||
- | + | background: #b3d4fc; | |
- | + | text-shadow: none; } | |
- | } | + | |
::selection { | ::selection { | ||
- | + | background: #b3d4fc; | |
- | + | text-shadow: none; } | |
- | } | + | |
hr { | hr { | ||
- | + | display: block; | |
- | + | height: 1px; | |
- | + | border: 0; | |
- | + | border-top: 1px solid #ccc; | |
- | + | margin: 1em 0; | |
- | + | padding: 0; } | |
- | } | + | |
audio, | audio, | ||
Line 42: | Line 230: | ||
img, | img, | ||
video { | video { | ||
- | + | vertical-align: middle; } | |
- | } | + | |
fieldset { | fieldset { | ||
- | + | border: 0; | |
- | + | margin: 0; | |
- | + | padding: 0; } | |
- | } | + | |
textarea { | textarea { | ||
- | + | resize: vertical; } | |
- | } | + | |
.browsehappy { | .browsehappy { | ||
- | + | margin: 0.2em 0; | |
- | + | background: #ccc; | |
- | + | color: #000; | |
- | + | padding: 0.2em 0; } | |
- | } | + | |
- | + | ||
/* ===== Initializr Styles ================================================== | /* ===== Initializr Styles ================================================== | ||
Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template | Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template | ||
========================================================================== */ | ========================================================================== */ | ||
- | |||
body { | body { | ||
- | + | font: 16px/26px Helvetica, Helvetica Neue, Arial; } | |
- | } | + | |
.wrapper { | .wrapper { | ||
- | + | width: 90%; | |
- | + | margin: 0 5%; } | |
- | } | + | |
/* =================== | /* =================== | ||
ALL: Orange Theme | ALL: Orange Theme | ||
=================== */ | =================== */ | ||
- | |||
.landing { | .landing { | ||
- | + | height: 580px; } | |
- | } | + | |
.header-container, | .header-container, | ||
- | + | main-container, | |
.main aside { | .main aside { | ||
- | + | background: white; } | |
- | } | + | |
.title { | .title { | ||
- | + | color: #888; } | |
- | } | + | |
/* ============== | /* ============== | ||
MOBILE: Menu | MOBILE: Menu | ||
============== */ | ============== */ | ||
- | |||
nav ul { | nav ul { | ||
- | + | margin: 0; | |
- | + | padding: 0; } | |
- | } | + | |
nav a { | nav a { | ||
- | + | display: block; | |
- | + | margin-bottom: 10px; | |
- | + | padding: 5px 0; | |
- | + | text-align: center; | |
- | + | text-decoration: none; | |
- | + | color: white; | |
- | + | background: #888; } | |
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
nav a:hover, | nav a:hover, | ||
nav a:visited { | nav a:visited { | ||
- | + | color: white; } | |
- | } | + | |
nav a:hover { | nav a:hover { | ||
- | + | text-decoration: underline; } | |
- | } | + | |
/* ============== | /* ============== | ||
MOBILE: Main | MOBILE: Main | ||
============== */ | ============== */ | ||
- | |||
.main { | .main { | ||
- | + | padding: 30px 0; | |
- | + | background: white; } | |
- | } | + | |
.main article h1 { | .main article h1 { | ||
- | + | font-size: 2em; } | |
- | } | + | |
.main aside { | .main aside { | ||
- | + | color: black; | |
- | + | padding: 0px 5% 10px; } | |
- | } | + | |
.footer-container footer { | .footer-container footer { | ||
- | + | color: black; | |
- | + | padding-top: 20px; | |
- | + | padding-bottom: 20px; | |
- | + | background: white; } | |
- | } | + | |
.footer-container { | .footer-container { | ||
- | + | background: white; } | |
- | } | + | .header-container { |
+ | position: relative; | ||
+ | top: 14px; | ||
+ | width: 1026px; } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
/* =============== | /* =============== | ||
ALL: IE Fixes | ALL: IE Fixes | ||
=============== */ | =============== */ | ||
- | |||
.ie7 .title { | .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; } | |
- | + | ||
- | + | ||
- | } | + | |
- | + | /* ========================================================================== | |
- | background | + | 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 | |
========================================================================== */ | ========================================================================== */ | ||
- | + | .landing-container { | |
- | + | background: #753473; | |
+ | margin-top: 40px; | ||
+ | width: 100%; | ||
+ | -webkit-animation-delay: 0; | ||
+ | -webkit-animation-duration: 12s; | ||
+ | -webkit-animation-name: zoom-dark; | ||
+ | -webkit-animation-timing-function: linear; | ||
+ | -webkit-animation-iteration-count: infinite; | ||
+ | -moz-animation-delay: 0; | ||
+ | -moz-animation-duration: 12s; | ||
+ | -moz-animation-name: zoom-dark; | ||
+ | -moz-animation-timing-function: linear; | ||
+ | -moz-animation-iteration-count: infinite; | ||
+ | -o-animation-delay: 0; | ||
+ | -o-animation-duration: 12s; | ||
+ | -o-animation-name: zoom-dark; | ||
+ | -o-animation-timing-function: linear; | ||
+ | -o-animation-iteration-count: infinite; | ||
+ | animation-delay: 0; | ||
+ | animation-duration: 12s; | ||
+ | animation-name: zoom-dark; | ||
+ | animation-timing-function: linear; | ||
+ | animation-iteration-count: infinite; } | ||
- | + | @-webkit-keyframes zoom-dark { | |
- | + | 0% { | |
- | + | background: #753473; } | |
- | + | 10% { | |
- | + | background: #854483; } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | 80% { | |
- | + | background: #854483; } | |
- | + | ||
- | + | 100% { | |
- | + | background: #753473; } } | |
- | } | + | @-moz-keyframes zoom-dark { |
+ | 0% { | ||
+ | background: #753473; } | ||
- | + | 10% { | |
- | + | background: #854483; } | |
- | + | ||
- | + | 80% { | |
- | + | background: #854483; } | |
- | + | ||
- | + | 100% { | |
- | + | background: #753473; } } | |
- | + | @-o-keyframes zoom-dark { | |
- | } | + | 0% { |
- | + | background: #753473; } | |
- | + | ||
- | + | 10% { | |
- | + | background: #854483; } | |
- | + | ||
+ | 80% { | ||
+ | background: #854483; } | ||
- | + | 100% { | |
- | + | background: #753473; } } | |
- | + | @keyframes zoom-dark { | |
+ | 0% { | ||
+ | background: #753473; } | ||
- | + | 10% { | |
- | + | background: #854483; } | |
- | + | ||
- | + | 80% { | |
- | + | background: #854483; } | |
- | + | ||
- | + | ||
- | + | 100% { | |
- | + | background: #753473; } } | |
- | + | @-webkit-keyframes zoom { | |
- | + | 0% { | |
- | + | opacity: 0.2; } | |
- | + | ||
- | + | ||
- | + | 20% { | |
- | + | opacity: 0.05; } | |
- | + | ||
- | + | 50% { | |
- | + | opacity: 0.05; } | |
- | + | ||
- | + | 60% { | |
- | + | opacity: 0.10; } | |
- | + | ||
- | + | 70% { | |
- | + | opacity: 0.2; } } | |
- | + | @-moz-keyframes zoom { | |
- | } | + | 0% { |
+ | opacity: 0.2; } | ||
- | + | 20% { | |
- | + | opacity: 0.05; } | |
- | + | ||
- | + | ||
- | + | 50% { | |
- | + | opacity: 0.05; } | |
- | + | ||
- | + | ||
- | } | + | |
- | + | 60% { | |
+ | opacity: 0.10; } | ||
- | + | 70% { | |
- | + | opacity: 0.2; } } | |
- | + | @-o-keyframes zoom { | |
+ | 0% { | ||
+ | opacity: 0.2; } | ||
- | + | 20% { | |
- | + | opacity: 0.05; } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
+ | 50% { | ||
+ | opacity: 0.05; } | ||
- | + | 60% { | |
- | + | opacity: 0.10; } | |
- | + | ||
- | + | 70% { | |
- | + | opacity: 0.2; } } | |
- | + | @keyframes zoom { | |
- | + | 0% { | |
- | + | opacity: 0.2; } | |
- | } | + | |
- | + | 20% { | |
- | + | opacity: 0.05; } | |
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | 50% { | |
- | + | opacity: 0.05; } | |
- | + | ||
- | } | + | |
- | + | 60% { | |
- | + | opacity: 0.10; } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | 70% { | |
- | + | opacity: 0.2; } } | |
- | + | #dots path { | |
- | + | /*fill: #753473; */ | |
- | + | fill: #ccc; | |
- | + | opacity: 0.2; } | |
- | + | ||
- | + | ||
- | } | + | |
- | . | + | #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; } | ||
- | . | + | #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; } | ||
- | . | + | #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; } | ||
- | . | + | #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; } | ||
+ | |||
+ | h1, h2, h3, h4, h5, h6 { | ||
+ | font-family: 'Flamenco', san-serif; } | ||
+ | |||
+ | .main-container { | ||
+ | background: white; } | ||
/* ========================================================================== | /* ========================================================================== | ||
- | + | 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; | |
- | + | font-family: 'Exo 2', 'Helvetica Neue' sans-serif; | |
- | + | font-weight: 200; } | |
- | + | ||
- | + | #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; } | ||
- | + | .title { | |
- | + | float: left; } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | nav { | |
- | + | float: right; | |
- | + | width: 100%; } | |
- | } | + | |
- | } | + | nav a { |
+ | float: left; | ||
+ | width: 11.429%; | ||
+ | margin: 0 1% 0 0; | ||
+ | padding: 5px 1%; | ||
+ | margin-bottom: 0; } | ||
+ | |||
+ | nav li:first-child a { | ||
+ | margin-left: 0; } | ||
+ | |||
+ | nav li:last-child a { | ||
+ | margin-right: 0; } | ||
+ | |||
+ | /* ============ | ||
+ | WIDE: Main | ||
+ | ============ */ | ||
+ | .main article { | ||
+ | float: left; | ||
+ | width: 57%; } | ||
+ | |||
+ | .main aside { | ||
+ | float: right; | ||
+ | width: 28%; } | ||
+ | |||
+ | .wrapper { | ||
+ | width: 1000px; | ||
+ | /* 1140px - 10% for margins - 13px for padding */ | ||
+ | margin: 0 auto; | ||
+ | padding: 0 13px; } | ||
+ | |||
+ | @media only screen and (min-width: 1000px) { | ||
+ | /* =============== | ||
+ | Maximal Width | ||
+ | =============== */ | ||
+ | .header-container { | ||
+ | position: fixed; | ||
+ | top: 14px; | ||
+ | width: 100%; } } | ||
</style> | </style> | ||
</head> | </head> | ||
</html> | </html> |
Revision as of 19:07, 30 July 2014