Difference between revisions of "Template:Team:UMarylandMenu2"

Line 2: Line 2:
  
 
<html>
 
<html>
 +
<head>
 +
<meta charset="utf-8" />
 +
<meta name="viewport" content="width=device-width, initial-scale=1" />
 +
<link rel="stylesheet" type="text/css" href="https://2015.igem.org/Template:Team:UMarylandMenuCSS?action=raw&ctype=text/css" />
  
<style type="text/css">
+
</head>  
 
+
@import url("font-awesome.min.css");
+
@import url("http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,400italic,600");
+
 
+
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
+
margin: 0;
+
padding: 0;
+
border: 0;
+
font-size: 100%;
+
font: inherit;
+
vertical-align: baseline;
+
}
+
 
+
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
+
display: block;
+
}
+
 
+
body {
+
line-height: 1;
+
}
+
 
+
ol, ul {
+
list-style: none;
+
}
+
 
+
blockquote, q {
+
quotes: none;
+
}
+
 
+
blockquote:before, blockquote:after, q:before, q:after {
+
content: '';
+
content: none;
+
}
+
 
+
table {
+
border-collapse: collapse;
+
border-spacing: 0;
+
}
+
 
+
body {
+
-webkit-text-size-adjust: none;
+
}
+
 
+
/* Box Model */
+
 
+
*, *:before, *:after {
+
-moz-box-sizing: border-box;
+
-webkit-box-sizing: border-box;
+
box-sizing: border-box;
+
}
+
 
+
/* Containers */
+
 
+
.container {
+
margin-left: auto;
+
margin-right: auto;
+
}
+
 
+
.container.\31 25\25 {
+
width: 100%;
+
max-width: 1500px;
+
min-width: 1200px;
+
}
+
 
+
.container.\37 5\25 {
+
width: 900px;
+
}
+
 
+
.container.\35 0\25 {
+
width: 600px;
+
}
+
 
+
.container.\32 5\25 {
+
width: 300px;
+
}
+
 
+
.container {
+
width: 1200px;
+
}
+
 
+
@media screen and (max-width: 1280px) {
+
 
+
.container.\31 25\25 {
+
width: 100%;
+
max-width: 1200px;
+
min-width: 960px;
+
}
+
 
+
.container.\37 5\25 {
+
width: 720px;
+
}
+
 
+
.container.\35 0\25 {
+
width: 480px;
+
}
+
 
+
.container.\32 5\25 {
+
width: 240px;
+
}
+
 
+
.container {
+
width: 960px;
+
}
+
 
+
}
+
 
+
@media screen and (max-width: 1080px) {
+
 
+
.container.\31 25\25 {
+
width: 100%;
+
max-width: 125%;
+
min-width: 100%;
+
}
+
 
+
.container.\37 5\25 {
+
width: 75%;
+
}
+
 
+
.container.\35 0\25 {
+
width: 50%;
+
}
+
 
+
.container.\32 5\25 {
+
width: 25%;
+
}
+
 
+
.container {
+
width: 100%;
+
}
+
 
+
}
+
 
+
@media screen and (max-width: 820px) {
+
 
+
.container.\31 25\25 {
+
width: 100%;
+
max-width: 125%;
+
min-width: 100%;
+
}
+
 
+
.container.\37 5\25 {
+
width: 75%;
+
}
+
 
+
.container.\35 0\25 {
+
width: 50%;
+
}
+
 
+
.container.\32 5\25 {
+
width: 25%;
+
}
+
 
+
.container {
+
width: 100% !important;
+
}
+
 
+
}
+
 
+
@media screen and (max-width: 736px) {
+
 
+
.container.\31 25\25 {
+
width: 100%;
+
max-width: 125%;
+
min-width: 100%;
+
}
+
 
+
.container.\37 5\25 {
+
width: 75%;
+
}
+
 
+
.container.\35 0\25 {
+
width: 50%;
+
}
+
 
+
.container.\32 5\25 {
+
width: 25%;
+
}
+
 
+
.container {
+
width: 100% !important;
+
}
+
 
+
}
+
 
+
@media screen and (max-width: 480px) {
+
 
+
.container.\31 25\25 {
+
width: 100%;
+
max-width: 125%;
+
min-width: 100%;
+
}
+
 
+
.container.\37 5\25 {
+
width: 75%;
+
}
+
 
+
.container.\35 0\25 {
+
width: 50%;
+
}
+
 
+
.container.\32 5\25 {
+
width: 25%;
+
}
+
 
+
.container {
+
width: 100% !important;
+
}
+
 
+
}
+
 
+
 
+
/* Basic */
+
 
+
@-ms-viewport {
+
width: device-width;
+
}
+
 
+
body {
+
background: #f5f7fa;
+
font-family: 'Source Sans Pro', sans-serif;
+
font-weight: 300;
+
color: #52575c;
+
line-height: 1.75em;
+
font-size: 14pt;
+
}
+
 
+
body.is-loading * {
+
-moz-transition: none !important;
+
-webkit-transition: none !important;
+
-ms-transition: none !important;
+
transition: none !important;
+
-moz-animation: none !important;
+
-webkit-animation: none !important;
+
-ms-animation: none !important;
+
animation: none !important;
+
}
+
 
+
input, textarea, select {
+
font-family: 'Source Sans Pro', sans-serif;
+
font-weight: 300;
+
color: #52575c;
+
line-height: 1.75em;
+
font-size: 15pt;
+
}
+
 
+
h1, h2, h3, h4, h5, h6 {
+
font-weight: 300;
+
color: #52575c;
+
}
+
 
+
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
+
color: inherit;
+
text-decoration: none;
+
}
+
 
+
h2 {
+
font-size: 2em;
+
line-height: 1.25em;
+
}
+
 
+
h3 {
+
font-size: 1.5em;
+
line-height: 1.5em;
+
}
+
 
+
a {
+
-moz-transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
+
-webkit-transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
+
-ms-transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
+
transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
+
color: inherit;
+
text-decoration: none;
+
border-bottom: dotted 1px #62676c;
+
}
+
 
+
a:hover {
+
color: #f35858;
+
border-bottom-color: rgba(255, 255, 255, 0);
+
}
+
 
+
strong, b {
+
font-weight: 400;
+
color: #42474c;
+
}
+
 
+
em, i {
+
font-style: italic;
+
}
+
 
+
sub {
+
position: relative;
+
top: 0.5em;
+
font-size: 0.8em;
+
}
+
 
+
sup {
+
position: relative;
+
top: -0.5em;
+
font-size: 0.8em;
+
}
+
 
+
hr {
+
border: 0;
+
border-top: solid 1px #c2c7cc;
+
}
+
 
+
blockquote {
+
border-left: solid 0.5em #c2c7cc;
+
padding: 1em 0 1em 2em;
+
font-style: italic;
+
}
+
 
+
p, ul, ol, dl, table {
+
margin-bottom: 1.5em;
+
}
+
 
+
br.clear {
+
clear: both;
+
}
+
 
+
.features {
+
margin-bottom: 1.5em;
+
}
+
 
+
.feature {
+
text-align: center;
+
}
+
 
+
 
+
/* List */
+
 
+
ul.default {
+
list-style: disc;
+
padding-left: 1em;
+
}
+
 
+
ul.default li {
+
padding-left: 0.5em;
+
}
+
 
+
ul.actions {
+
padding-top: 1em;
+
}
+
 
+
ul.actions.major {
+
text-align: center;
+
}
+
 
+
ul.actions li {
+
display: inline-block;
+
margin-left: 1em;
+
}
+
 
+
ul.actions li:first-child {
+
margin-left: 0;
+
}
+
 
+
ul.divided li {
+
border-top: solid 1px #d2d7dc;
+
padding-top: 2em;
+
margin-top: 2em;
+
}
+
 
+
ul.divided li:first-child {
+
padding-top: 0;
+
margin-top: 0;
+
border-top: 0;
+
}
+
 
+
ul.icons li:before {
+
display: inline-block;
+
color: #fff;
+
background: #61666b;
+
width: 2em;
+
height: 2em;
+
border-radius: 0.35em;
+
text-align: center;
+
line-height: 2em;
+
margin-right: 0.75em;
+
}
+
 
+
ul.menu li {
+
display: inline-block;
+
border-left: solid 1px #d2d7dc;
+
padding-left: 1em;
+
margin-left: 1em;
+
}
+
 
+
ul.menu li:first-child {
+
border-left: 0;
+
padding-left: 0;
+
margin-left: 0;
+
}
+
 
+
ol.default {
+
list-style: decimal;
+
padding-left: 1.25em;
+
}
+
 
+
ol.default li {
+
padding-left: 0.25em;
+
}
+
 
+
 
+
 
+
 
+
 
+
 
+
/* Wrappers */
+
 
+
.wrapper {
+
position: relative;
+
background: #fff;
+
overflow-x: hidden;
+
padding: 6em 0 6em 0;
+
}
+
 
+
.image-wrapper {
+
position: relative;
+
}
+
 
+
.image-wrapper .image {
+
position: relative;
+
z-index: 2;
+
}
+
 
+
.image-wrapper.first:before {
+
content: '';
+
display: block;
+
width: 2000%;
+
height: 100%;
+
position: absolute;
+
left: -1000%;
+
top: 0;
+
z-index: 1;
+
box-shadow: inset 0px 0px 0px 1px #e8e8e8;
+
background: #f6f8fb url("images/image-wrapper.svg");
+
}
+
 
+
#header-wrapper {
+
position: relative;
+
padding: 4em 0 2em 0;
+
background-image: url("images/header.svg");
+
background-image: url("images/overlay.png"), url("images/header.svg"), -moz-linear-gradient(75deg, #0099FF 15%, #4DDBB8 55%);
+
background-image: url("images/overlay.png"), url("images/header.svg"), -webkit-linear-gradient(75deg, #0099FF 15%, #4DDBB8 55%);
+
background-image: url("images/overlay.png"), url("images/header.svg"), -ms-linear-gradient(75deg, #0099FF 15%, #4DDBB8 55%);
+
background-image: url("images/overlay.png"), url("images/header.svg"), linear-gradient(75deg, #0099FF 15%, #4DDBB8 55%);
+
background-color: #f08c89;
+
background-size: 100% 620%;
+
background-size: 128px 128px, 100% 620%, auto;
+
background-repeat: repeat, no-repeat, no-repeat;
+
}
+
 
+
.homepage #header-wrapper {
+
padding: 10em 0 6em 0;
+
background-size: 128px 128px, 100% 100%, auto;
+
}
+
 
+
#promo-wrapper {
+
position: relative;
+
background-image: url("images/overlay.png"), url("../../images/promo.jpg");
+
background-size: 192px 192px, cover;
+
background-position: top left, center center;
+
color: #fff;
+
text-align: center;
+
padding: 6em 0 6em 0;
+
}
+
 
+
#footer-wrapper {
+
-webkit-transform: translate3d(0, 0, 0);
+
position: relative;
+
border-top: solid 1px #c2c7cc;
+
padding: 6em 0 6em 0;
+
background-image: url("images/overlay.png"), url("images/footer.svg");
+
background-size: 128px 128px, 100% 100%;
+
}
+
 
+
/* Header */
+
 
+
#logo {
+
position: absolute;
+
z-index: 1;
+
top: 0;
+
left: 50%;
+
width: 15em;
+
margin-left: -7.5em;
+
}
+
 
+
#logo a {
+
display: block;
+
width: 100%;
+
height: 4em;
+
line-height: 4em;
+
background: rgba(255, 255, 255, 0.15);
+
border: solid 1px;
+
border-color: #fff;
+
border-color: rgba(255, 255, 255, 0.75);
+
border-top: 0;
+
border-radius: 0 0 0.35em 0.35em;
+
color: #fff;
+
display: inline-block;
+
font-weight: 600;
+
letter-spacing: 3px;
+
text-align: center;
+
+
}
+
 
+
#nav {
+
text-align: center;
+
position: absolute;
+
top: 0;
+
left: 0;
+
width: 100%;
+
height: 4em;
+
line-height: 4em;
+
}
+
 
+
#nav > ul {
+
margin: 0;
+
}
+
 
+
#nav > ul > li {
+
display: inline-block;
+
margin-left: 1em;
+
}
+
 
+
#nav > ul > li > ul {
+
display: none;
+
}
+
 
+
#nav > ul > li > span, #nav > ul > li > a {
+
color: #fff;
+
text-decoration: none;
+
outline: 0;
+
border: 0;
+
border: solid 1px rgba(255, 255, 255, 0);
+
border-radius: 0.35em;
+
padding: 0.3em 1em 0.3em 1em;
+
-moz-transition: border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
+
-webkit-transition: border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
+
-o-transition: border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
+
-ms-transition: border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
+
transition: border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
+
}
+
 
+
#nav > ul > li.active > span, #nav > ul > li.active > a {
+
border-color: rgba(255, 255, 255, 0.75);
+
background-color: rgba(255, 255, 255, 0.15);
+
color: #fff;
+
}
+
 
+
#nav > ul > li:first-child {
+
margin-left: 5em;
+
}
+
 
+
#nav > ul > li.break {
+
margin-left: 19em;
+
}
+
 
+
.dropotron {
+
text-align: left;
+
line-height: 2em;
+
border-radius: 0.35em;
+
min-width: 12em;
+
background: #fff;
+
line-height: 1em;
+
padding: 0.85em 0 0.85em 0;
+
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.25);
+
margin-top: -0.8em;
+
}
+
 
+
.dropotron a, .dropotron span {
+
display: block;
+
padding: 0.65em 1em 0.65em 1em;
+
border-top: solid 1px #e8e8e8;
+
border-bottom: 0;
+
}
+
 
+
.dropotron li:first-child > a, .dropotron li:first-child > span {
+
border-top: 0;
+
}
+
 
+
.dropotron li.active > a, .dropotron li.active > span {
+
color: #f35858;
+
}
+
 
+
.dropotron.level-0 {
+
font-size: 0.9em;
+
margin-top: 0;
+
}
+
 
+
.dropotron.level-0:before {
+
content: '';
+
position: absolute;
+
top: -1em;
+
width: 1em;
+
height: 1em;
+
border-bottom: solid 0.5em #fff;
+
border-left: solid 0.5em rgba(255, 255, 255, 0);
+
border-right: solid 0.5em rgba(255, 255, 255, 0);
+
}
+
 
+
.dropotron.level-0.center:before {
+
left: 50%;
+
margin-left: -0.5em;
+
}
+
 
+
.dropotron.level-0.left:before {
+
left: 1em;
+
}
+
 
+
.dropotron.level-0.right:before {
+
right: 1em;
+
}
+
 
+
 
+
/* Main */
+
 
+
#main {
+
padding-bottom: 4em;
+
}
+
 
+
 
+
/* Normal */
+
 
+
@media screen and (max-width: 1280px) {
+
 
+
/* Basic */
+
 
+
body, input, textarea, select {
+
line-height: 1.5em;
+
font-size: 13pt;
+
}
+
 
+
span.extra {
+
display: none;
+
}
+
 
+
/* Wrappers */
+
 
+
.wrapper {
+
padding: 5em 0 5em 0;
+
}
+
 
+
#header-wrapper {
+
padding: 2em 0 2em 0;
+
}
+
 
+
.homepage #header-wrapper {
+
padding: 8em 0 4em 0;
+
}
+
 
+
#promo-wrapper {
+
padding: 5em 0 5em 0;
+
}
+
 
+
#footer-wrapper {
+
padding: 5em 0 5em 0;
+
}
+
 
+
}
+
 
+
/* Narrow */
+
 
+
@media screen and (max-width: 1080px) {
+
 
+
/* Sections/Article */
+
 
+
header br {
+
display: none;
+
}
+
 
+
/* Button */
+
 
+
input[type="button"],
+
input[type="submit"],
+
input[type="reset"],
+
button,
+
.button {
+
padding-left: 1.25em;
+
padding-right: 1.25em;
+
}
+
 
+
/* Wrappers */
+
 
+
.wrapper {
+
padding: 4em 2em 4em 2em;
+
}
+
 
+
#header-wrapper {
+
padding: 5em 0 1em 0;
+
}
+
 
+
.homepage #header-wrapper {
+
padding: 5em 0 4em 0;
+
}
+
 
+
#promo-wrapper {
+
padding: 2em;
+
}
+
 
+
#footer-wrapper {
+
padding: 4em 2em 4em 2em;
+
}
+
 
+
/* Header */
+
 
+
#nav {
+
position: relative;
+
margin: 0.5em 0 0 0;
+
line-height: 2.25em;
+
height: 2.25em;
+
}
+
 
+
#nav > ul > li {
+
margin-left: 0;
+
}
+
 
+
#nav > ul > li.break {
+
margin-left: 0;
+
}
+
 
+
.dropotron.level-0 {
+
margin-top: 1.1em;
+
}
+
 
+
/* Promo */
+
 
+
#promo {
+
padding: 1.75em 2.5em 1.75em 2.5em;
+
display: inline-block;
+
}
+
 
+
#promo .button {
+
font-size: 1.25em;
+
}
+
 
+
#promo h2 {
+
display: block;
+
margin: 0 0 1em 0;
+
font-size: 1.5em;
+
}
+
 
+
/* Copyright */
+
 
+
#copyright {
+
padding-top: 2em;
+
margin-top: 3em;
+
}
+
 
+
}
+
 
+
/* Narrower */
+
 
+
@media screen and (max-width: 820px) {
+
 
+
/* Basic */
+
 
+
body, input, textarea, select {
+
line-height: 1.5em;
+
font-size: 14pt;
+
}
+
 
+
span.extra {
+
display: inline;
+
}
+
 
+
.features {
+
margin-bottom: 0;
+
}
+
 
+
/* Sections/Article */
+
 
+
section, article {
+
margin-bottom: 3em;
+
}
+
 
+
.row > section, .row > article {
+
margin-bottom: 3em;
+
}
+
 
+
section:last-child,
+
article:last-child {
+
margin-bottom: 0;
+
}
+
 
+
.row > section:last-child,
+
.row > article:last-child {
+
margin-bottom: 0;
+
}
+
 
+
/* List */
+
 
+
ul.menu {
+
text-align: center;
+
}
+
 
+
ul.menu li {
+
display: block;
+
border: 0;
+
padding: 0;
+
margin: 0;
+
line-height: 2em;
+
}
+
 
+
ul.menu li:first-child {
+
border-top: 0;
+
}
+
 
+
ul.actions.major {
+
padding-top: 2em;
+
}
+
 
+
/* Header */
+
 
+
#nav {
+
font-size: 0.9em;
+
}
+
 
+
#nav > ul > li > span, #nav > ul > li > a {
+
padding: 0.25em 0.5em 0.25em 0.5em;
+
}
+
 
+
/* Main */
+
 
+
#main {
+
padding-bottom: 0;
+
}
+
 
+
/* Content */
+
 
+
#content {
+
margin-bottom: 3em;
+
}
+
 
+
}
+
 
+
/* Mobile */
+
 
+
#navPanel, #navButton {
+
display: none;
+
}
+
 
+
@media screen and (max-width: 736px) {
+
 
+
/* Basic */
+
 
+
html, body {
+
overflow-x: hidden;
+
}
+
 
+
body, input, textarea, select {
+
font-size: 13pt;
+
letter-spacing: 0;
+
}
+
 
+
h2 {
+
font-size: 1.5em;
+
line-height: 1.25em;
+
}
+
 
+
/* Sections/Article */
+
 
+
header {
+
margin-bottom: 1em;
+
}
+
 
+
header > p {
+
font-size: 1em;
+
}
+
 
+
/* List */
+
 
+
ul.divided li {
+
padding-top: 0.75em;
+
margin-top: 0.75em;
+
}
+
 
+
/* Wrappers */
+
 
+
.wrapper {
+
padding: 3em 20px 3em 20px;
+
}
+
 
+
#header-wrapper {
+
padding: 3em 20px 20px 20px;
+
text-align: center;
+
}
+
 
+
+
 
+
/* Header */
+
 
+
#logo {
+
position: relative;
+
}
+
 
+
#logo a {
+
border: solid 1px rgba(255, 255, 255, 0.75);
+
border-radius: 0.35em;
+
height: 3em;
+
line-height: 3em;
+
}
+
 
+
/* Nav */
+
 
+
#nav {
+
display: none;
+
}
+
 
+
 
+
+
/* Off-Canvas Navigation */
+
 
+
#page-wrapper {
+
-moz-backface-visibility: hidden;
+
-webkit-backface-visibility: hidden;
+
-ms-backface-visibility: hidden;
+
backface-visibility: hidden;
+
-moz-transition: -moz-transform 0.5s ease;
+
-webkit-transition: -webkit-transform 0.5s ease;
+
-ms-transition: -ms-transform 0.5s ease;
+
transition: transform 0.5s ease;
+
padding-bottom: 1px;
+
}
+
 
+
#navButton {
+
-moz-backface-visibility: hidden;
+
-webkit-backface-visibility: hidden;
+
-ms-backface-visibility: hidden;
+
backface-visibility: hidden;
+
-moz-transition: -moz-transform 0.5s ease;
+
-webkit-transition: -webkit-transform 0.5s ease;
+
-ms-transition: -ms-transform 0.5s ease;
+
transition: transform 0.5s ease;
+
display: block;
+
height: 44px;
+
left: 0;
+
position: fixed;
+
top: 0;
+
width: 100%;
+
z-index: 10001;
+
}
+
 
+
#navButton .toggle {
+
position: absolute;
+
left: 0;
+
top: 0;
+
width: 100%;
+
height: 100%;
+
border: 0;
+
outline: 0;
+
}
+
 
+
#navButton .toggle:before {
+
font-family: FontAwesome;
+
text-decoration: none;
+
font-style: normal;
+
font-weight: normal;
+
-webkit-font-smoothing: antialiased;
+
-moz-osx-font-smoothing: grayscale;
+
content: '\f0c9';
+
color: #fff;
+
font-size: 18px;
+
text-align: center;
+
display: block;
+
width: 80px;
+
height: 30px;
+
line-height: 30px;
+
position: absolute;
+
left: 50%;
+
margin-left: -40px;
+
background: rgba(128, 132, 136, 0.35);
+
border-top: 0;
+
border-radius: 0 0 0.35em 0.35em;
+
}
+
 
+
#navPanel {
+
-moz-backface-visibility: hidden;
+
-webkit-backface-visibility: hidden;
+
-ms-backface-visibility: hidden;
+
backface-visibility: hidden;
+
-moz-transform: translateY(-50vh);
+
-webkit-transform: translateY(-50vh);
+
-ms-transform: translateY(-50vh);
+
transform: translateY(-50vh);
+
-moz-transition: -moz-transform 0.5s ease;
+
-webkit-transition: -webkit-transform 0.5s ease;
+
-ms-transition: -ms-transform 0.5s ease;
+
transition: transform 0.5s ease;
+
background-image: url("images/overlay.png"), url("images/navPanel.svg"), -moz-linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.25));
+
background-image: url("images/overlay.png"), url("images/navPanel.svg"), -webkit-linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.25));
+
background-image: url("images/overlay.png"), url("images/navPanel.svg"), -ms-linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.25));
+
background-image: url("images/overlay.png"), url("images/navPanel.svg"), linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.25));
+
display: block;
+
left: 0;
+
overflow-y: auto;
+
position: fixed;
+
top: 0;
+
width: 100%;
+
height: 50vh;
+
z-index: 10002;
+
box-shadow: inset 0px -2px 5px 0px rgba(0, 0, 0, 0.25);
+
font-size: 1em;
+
background-color: #45474a;
+
background-size: 128px 128px, 100% 100%, 100% 100%;
+
}
+
 
+
#navPanel .link {
+
position: relative;
+
z-index: 1;
+
display: block;
+
text-decoration: none;
+
padding: 0.75em;
+
color: #ddd;
+
border: 0;
+
border-top: dotted 1px rgba(255, 255, 255, 0.1);
+
}
+
 
+
#navPanel .link.depth-0 {
+
color: #fff;
+
font-weight: 400;
+
}
+
 
+
#navPanel .indent-1 {
+
display: inline-block;
+
width: 1em;
+
}
+
 
+
#navPanel .indent-2 {
+
display: inline-block;
+
width: 2em;
+
}
+
 
+
#navPanel .indent-3 {
+
display: inline-block;
+
width: 3em;
+
}
+
 
+
#navPanel .indent-4 {
+
display: inline-block;
+
width: 4em;
+
}
+
 
+
#navPanel .indent-5 {
+
display: inline-block;
+
width: 5em;
+
}
+
 
+
#navPanel .depth-0 {
+
color: #fff;
+
}
+
 
+
body.navPanel-visible #page-wrapper {
+
-moz-transform: translateY(50vh);
+
-webkit-transform: translateY(50vh);
+
-ms-transform: translateY(50vh);
+
transform: translateY(50vh);
+
}
+
 
+
body.navPanel-visible #navButton {
+
-moz-transform: translateY(50vh);
+
-webkit-transform: translateY(50vh);
+
-ms-transform: translateY(50vh);
+
transform: translateY(50vh);
+
}
+
 
+
body.navPanel-visible #navPanel {
+
-moz-transform: translateY(0);
+
-webkit-transform: translateY(0);
+
-ms-transform: translateY(0);
+
transform: translateY(0);
+
}
+
 
+
}
+
 
+
 
+
}
+
 
+
</style>
+
 
+
  
 
<body class="homepage">
 
<body class="homepage">
Line 1,156: Line 79:
  
 
</div></div></div>
 
</div></div></div>
 +
 +
    <!-- Scripts -->
 +
 
<script src="https://2015.igem.org/Team:UMaryland/jquery.js?action=raw&ctype=text/javascript"></script>
 
<script src="https://2015.igem.org/Team:UMaryland/jquery.js?action=raw&ctype=text/javascript"></script>
 
<script src="https://2015.igem.org/Team:UMaryland/jquery_dropotron.js?action=raw&ctype=text/javascript"></script>
 
<script src="https://2015.igem.org/Team:UMaryland/jquery_dropotron.js?action=raw&ctype=text/javascript"></script>

Revision as of 17:13, 28 August 2015