Difference between revisions of "Template:Team:DenverBiolabs/CSS"

 
(4 intermediate revisions by the same user not shown)
Line 45: Line 45:
 
a:"View+%2FTeam%3ADenver_Biolabs++Edit+%2Fwiki%2Findex.php%3Ftitle%3DTeam%3ADenver_Biolabs%26action%3Dedit++History+%2Fwiki%2Findex.php%3Ftitle%3DTeam%3ADenver_Biolabs%26action%3Dhistory++Move+%2FSpecial%3AMovePage%2FTeam%3ADenver_Biolabs++Unwatch+%2Fwiki%2Findex.php%3Ftitle%3DTeam%3ADenver_Biolabs%26action%3Dunwatch%26token%3D09b4f90a22391ea3bde3c11feffd2539%252B%255C++Page+%2FTeam%3ADenver_Biolabs++Discussion+%2Fwiki%2Findex.php%3Ftitle%3DTalk%3ATeam%3ADenver_Biolabs%26action%3Dedit%26redlink%3D1++" });
 
a:"View+%2FTeam%3ADenver_Biolabs++Edit+%2Fwiki%2Findex.php%3Ftitle%3DTeam%3ADenver_Biolabs%26action%3Dedit++History+%2Fwiki%2Findex.php%3Ftitle%3DTeam%3ADenver_Biolabs%26action%3Dhistory++Move+%2FSpecial%3AMovePage%2FTeam%3ADenver_Biolabs++Unwatch+%2Fwiki%2Findex.php%3Ftitle%3DTeam%3ADenver_Biolabs%26action%3Dunwatch%26token%3D09b4f90a22391ea3bde3c11feffd2539%252B%255C++Page+%2FTeam%3ADenver_Biolabs++Discussion+%2Fwiki%2Findex.php%3Ftitle%3DTalk%3ATeam%3ADenver_Biolabs%26action%3Dedit%26redlink%3D1++" });
 
</script>
 
</script>
 
  
 
         <!-- Content div contains HQ_page for HQ styles, Logo and title div, and USER CONTENT -->
 
         <!-- Content div contains HQ_page for HQ styles, Logo and title div, and USER CONTENT -->
Line 69: Line 68:
 
<style>
 
<style>
  
 +
/********************************* DEFAULT WIKI SETTINGS  ********************************/
  
@charset "UTF-8";
+
#sideMenu, #top_title {display:none;}
@import url(font-awesome.min.css);
+
#content { padding:0px; width:1000px; margin-top:-7px; margin-left:0px;}
@import url("http://fonts.googleapis.com/css?family=Roboto:500,300");
+
body {background-color:white; }
 +
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
  
/*
+
/********************************* MENU ********************************/
Ion by TEMPLATED
+
/* Wrapper for the menu */
templated.co @templatedco
+
.menu_wrapper {  
Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
+
width:150px;
*/
+
height:100vh;
 
+
position:fixed;
/* Basic */
+
padding:0px;
 
+
float:left;
body {
+
background-color:#f2f2f2;
background: #fff;
+
text-align:left;
 
}
 
}
  
body, input, select, textarea {
+
/* styling for the menu items */
color: #555f66;
+
.menu_item {
font-family: "Roboto", Helvetica, sans-serif;
+
width:100%;  
font-size: 14pt;
+
margin:-2px 0px 0px -20px;  
font-weight: 300;
+
padding: 10px 10px; 
line-height: 1.75em;
+
border-bottom: 1px solid #d3d3d3;  
 +
font-weight:bold;
 +
color:#000000;
 +
cursor: pointer;  
 
}
 
}
  
a {
+
/* when hovering on a menu item */
color: #629DD1;
+
.menu_item:hover {  
text-decoration: underline;
+
color:#000000;  
 +
background-color: #72c9b6;
 
}
 
}
  
a:hover {
+
/* decoration icon for the menu buttons*/
text-decoration: none;
+
.icon {
}
+
float:right;
 
+
font-size:16px;  
strong, b {
+
font-weight:bold;  
color: #666f77;
+
font-weight: 500;
+
 
}
 
}
 
+
em, i {
+
/* this is the icon for when the content is collapsed */
font-style: italic;
+
.plus::before {
 +
content: "+";  
 
}
 
}
 +
/* this is the icon for when the content is expanded */
 +
.less::before {
 +
content: "–";
 +
}
  
p {
+
/* styling for the ul that creates the buttons */
margin: 0 0 2em 0;
+
ul.menu_items {
 +
width:100%;
 +
margin-left:0px;
 +
padding:0px;
 +
list-style: none;  
 
}
 
}
  
h1, h2, h3, h4, h5, h6 {
+
/* styling for the li that are the menu items */
color: #666f77;
+
.menu_items li {  
font-weight: 300;
+
width:90%;
line-height: 1em;
+
margin-top:-2px;
margin: 0 0 1em 0;
+
padding: 15px 0px 15px 15px ;
text-transform: uppercase;
+
display:block;
letter-spacing: 0.125em;
+
border-bottom: 1px solid #d3d3d3; 
 +
text-align:left;  
 +
font-weight:bold;
 +
text-decoration:none;  
 +
color:#000000;
 +
list-style-type:none;
 +
cursor:pointer;
 +
-webkit-transition: all 0.4s ease;
 +
-moz-transition: all 0.4s ease;  
 +
-ms-transition: all 0.4s ease;  
 +
-o-transition: all 0.4s ease; transition: all 0.4s ease;
 
}
 
}
  
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
+
.menu_item a {
color: inherit;
+
width: 100%;
text-decoration: none;
+
margin-left: -20px;
}
+
padding: 11px 90px 12px 20px;
 
+
text-decoration: none;
h2 {
+
color:black;
font-size: 1.5em;
+
line-height: 1.5em;
+
 
}
 
}
  
h3 {
+
/* When hovering on a menu item */
font-size: 1.25em;
+
.menu_items li:hover {  
line-height: 1.5em;
+
background-color:#72c9b6;
 +
color: #000000;
 
}
 
}
  
h4 {
+
/* styling for the submenus */
font-size: 1em;
+
.submenu {
line-height: 1.5em;
+
width:100%;  
}
+
display: none; 
 +
font-weight:bold;
 +
cursor:pointer;
  
h5 {
 
font-size: 0.9em;
 
line-height: 1.5em;
 
 
}
 
}
  
h6 {
+
/* moving the margin for the submenu ul list */
font-size: 0.7em;
+
ul.submenu {  
line-height: 1.5em;
+
width: 100%;
 +
margin: 10px 0px -11px 0px;
 +
list-style: none;
 
}
 
}
  
sub {
+
/*styling for the submenu buttons */
font-size: 0.8em;
+
.submenu li {  
position: relative;
+
width: 100%;  
top: 0.5em;
+
margin-left: 10px;
 +
margin-bottom: 0px;
 
}
 
}
  
sup {
 
font-size: 0.8em;
 
position: relative;
 
top: -0.5em;
 
}
 
  
hr {
+
/* hover state for the submenu buttons */
border: 0;
+
.submenu li a {
border-bottom: solid 1px rgba(144, 144, 144, 0.25);
+
width: 100%;
margin: 3em 0;
+
padding: 5px 10px;
 +
display: inline-block;
 +
border-bottom: 1px solid #d3d3d3;
 +
background-color:white;
 +
text-decoration:none;
 +
color:#000000;  
 
}
 
}
  
hr.major {
 
margin: 2em 0 5em 0;
 
}
 
  
blockquote {
 
border-left: solid 4px rgba(144, 144, 144, 0.25);
 
font-style: italic;
 
margin: 0 0 2em 0;
 
padding: 0.5em 0 0.5em 2em;
 
}
 
  
code {
+
.submenu li a:hover  {
background: rgba(144, 144, 144, 0.075);
+
background-color:#000000;  
border-radius: 6px;
+
color: #72c9b6;
border: solid 1px rgba(144, 144, 144, 0.25);
+
font-family: "Courier New", monospace;
+
font-size: 0.9em;
+
margin: 0 0.25em;
+
padding: 0.25em 0.65em;
+
 
}
 
}
  
pre {
 
-webkit-overflow-scrolling: touch;
 
font-family: "Courier New", monospace;
 
font-size: 0.9em;
 
margin: 0 0 2em 0;
 
overflow-x: auto;
 
}
 
 
pre code {
 
display: block;
 
line-height: 1.75em;
 
padding: 1em 1.5em;
 
}
 
 
.align-left {
 
text-align: left;
 
}
 
  
.align-center {
+
/* When the screen is smaller than 680px, the menu has the option to hide/show - this button controls that */
text-align: center;
+
.collapsable_menu_control {  
 +
width:100%;
 +
padding: 15px 0px;
 +
display:none;
 +
background-color:#000000;
 +
text-align:center
 +
font-weight:bold;
 +
color:#72c9b6;
 +
cursor:pointer;
 +
-webkit-transition: all 0.4s ease;
 +
-moz-transition: all 0.4s ease;
 +
-ms-transition: all 0.4s ease;
 +
-o-transition: all 0.4s ease;
 +
transition: all 0.4s ease;  
 
}
 
}
  
.align-right {
+
/* when hovering on that button */
text-align: right;
+
.collapsable_menu_control:hover {  
 +
background-color: #72c9b6;
 +
color:#000000;
 
}
 
}
  
/* Section/Article */
+
/********************************* CONTENT OF THE PAGE ********************************/
  
section.special, article.special {
+
/* Wrapper for the content */
text-align: center;
+
.content_wrapper {
 +
width: 85%;
 +
margin-left:150px;
 +
padding:10px 0px;
 +
float:left;
 +
background-color:white;  
 
}
 
}
  
header p {
+
/*LAYOUT */
color: #bbb;
+
.column  {  
position: relative;
+
padding: 10px 0px;
margin: 0 0 1.5em 0;
+
float:left;  
 +
background-color:white;  
 
}
 
}
  
header h2 + p {
+
.full_size {
font-size: 1.25em;
+
width:100%;  
margin-top: -1em;
+
line-height: 1.5em;
+
 
}
 
}
  
header h3 + p {
+
.full_size img {  
font-size: 1.1em;
+
padding: 10px 15px;
margin-top: -0.85em;
+
width:96.5%;  
line-height: 1.5em;
+
 
}
 
}
  
header h4 + p,
+
.half_size {
header h5 + p,
+
width: 50%;  
header h6 + p {
+
font-size: 0.9em;
+
margin-top: -0.75em;
+
line-height: 1.5em;
+
 
}
 
}
 
+
.half_size img {  
header.major {
+
padding: 10px 15px;
text-align: center;
+
width: 93%;  
margin: 0 0 4em 0;
+
 
}
 
}
  
header.major h2 {
 
font-size: 2em;
 
}
 
  
header.major h2 + p {
+
.clear {
font-size: 1.5em;
+
clear:both;
margin: -1em 0 2em 0;
+
}
+
 
+
/* Form */
+
 
+
form {
+
margin: 0 0 2em 0;
+
 
}
 
}
  
label {
+
.highlight {  
color: #666f77;
+
width: 90%;  
display: block;
+
margin: auto;  
font-size: 0.9em;
+
padding: 15px 5px;
font-weight: 500;
+
background-color: #f2f2f2;  
margin: 0 0 1em 0;
+
 
}
 
}
  
input[type="text"],
+
.judges-will-not-evaluate {
input[type="password"],
+
border: 4px solid #72c9b6;
input[type="email"],
+
select,
+
textarea {
+
-moz-appearance: none;
+
-webkit-appearance: none;
+
-o-appearance: none;
+
-ms-appearance: none;
+
appearance: none;
+
background: rgba(144, 144, 144, 0.075);
+
border-radius: 6px;
+
border: none;
+
border: solid 1px rgba(144, 144, 144, 0.25);
+
color: inherit;
+
 
display: block;
 
display: block;
outline: 0;
+
margin: 5px 15px;
padding: 0 1em;
+
width: 95%;
text-decoration: none;
+
font-weight:bold;
width: 100%;
+
 
}
 
}
  
input[type="text"]:invalid,
 
input[type="password"]:invalid,
 
input[type="email"]:invalid,
 
select:invalid,
 
textarea:invalid {
 
box-shadow: none;
 
}
 
  
input[type="text"]:focus,
+
/*STYLING */
input[type="password"]:focus,
+
input[type="email"]:focus,
+
select:focus,
+
textarea:focus {
+
border-color: #629DD1;
+
box-shadow: 0 0 0 1px #629DD1;
+
}
+
  
.select-wrapper {
+
/* styling for the titles */
text-decoration: none;
+
.content_wrapper h1, .content_wrapper h2 {
display: block;
+
padding:5px 15px;  
position: relative;
+
border-bottom:0px;  
}
+
color:#72c9b6;
 
+
.select-wrapper:before {
+
content: "";
+
-moz-osx-font-smoothing: grayscale;
+
-webkit-font-smoothing: antialiased;
+
font-family: FontAwesome;
+
font-style: normal;
+
font-weight: normal;
+
text-transform: none !important;
+
}
+
 
+
.select-wrapper:before {
+
color: rgba(144, 144, 144, 0.25);
+
display: block;
+
height: 2.75em;
+
line-height: 2.75em;
+
pointer-events: none;
+
position: absolute;
+
right: 0;
+
text-align: center;
+
top: 0;
+
width: 2.75em;
+
}
+
 
+
.select-wrapper select::-ms-expand {
+
display: none;
+
}
+
  
input[type="text"],
 
input[type="password"],
 
input[type="email"],
 
select {
 
height: 2.75em;
 
 
}
 
}
 
+
.content_wrapper h3, .content_wrapper h4, .content_wrapper h5, .content_wrapper h6 {  
textarea {
+
padding:5px 15px;
padding: 0.75em 1em;
+
border-bottom:0px;
 +
color: #000000;
 
}
 
}
  
input[type="checkbox"],
 
input[type="radio"] {
 
-moz-appearance: none;
 
-webkit-appearance: none;
 
-o-appearance: none;
 
-ms-appearance: none;
 
appearance: none;
 
display: block;
 
float: left;
 
margin-right: -2em;
 
opacity: 0;
 
width: 1em;
 
z-index: -1;
 
}
 
  
input[type="checkbox"] + label,
+
/* font and text */
input[type="radio"] + label {
+
.content_wrapper p {
text-decoration: none;
+
padding:0px 15px;  
color: #555f66;
+
font-size: 13px;
cursor: pointer;
+
font-family:Tahoma, Geneva, sans-serif;  
display: inline-block;
+
font-size: 1em;
+
font-weight: 300;
+
padding-left: 2.4em;
+
padding-right: 0.75em;
+
position: relative;
+
}
+
 
+
input[type="checkbox"] + label:before,
+
input[type="radio"] + label:before {
+
-moz-osx-font-smoothing: grayscale;
+
-webkit-font-smoothing: antialiased;
+
font-family: FontAwesome;
+
font-style: normal;
+
font-weight: normal;
+
text-transform: none !important;
+
}
+
 
+
input[type="checkbox"] + label:before,
+
input[type="radio"] + label:before {
+
background: rgba(144, 144, 144, 0.075);
+
border-radius: 6px;
+
border: solid 1px rgba(144, 144, 144, 0.25);
+
content: '';
+
display: inline-block;
+
height: 1.65em;
+
left: 0;
+
line-height: 1.58125em;
+
position: absolute;
+
text-align: center;
+
top: 0;
+
width: 1.65em;
+
}
+
 
+
input[type="checkbox"]:checked + label:before,
+
input[type="radio"]:checked + label:before {
+
background: #192024;
+
border-color: #192024;
+
color: #ffffff;
+
content: '\f00c';
+
}
+
 
+
input[type="checkbox"]:focus + label:before,
+
input[type="radio"]:focus + label:before {
+
border-color: #629DD1;
+
box-shadow: 0 0 0 1px #629DD1;
+
}
+
 
+
input[type="checkbox"] + label:before {
+
border-radius: 6px;
+
 
}
 
}
  
input[type="radio"] + label:before {
+
/* Links */
border-radius: 100%;
+
.content_wrapper a {  
 +
font-weight: bold;
 +
text-decoration: underline;
 +
text-decoration-color:#72c9b6;
 +
color: #72c9b6;
 +
-webkit-transition: all 0.4s ease;
 +
-moz-transition: all 0.4s ease;
 +
-ms-transition: all 0.4s ease;
 +
-o-transition: all 0.4s ease;
 +
transition: all 0.4s ease;
 
}
 
}
  
::-webkit-input-placeholder {
+
/* hover for the links */
color: #bbb !important;
+
.content_wrapper a:hover {  
opacity: 1.0;
+
text-decoration:none;
 +
color:#000000;
 
}
 
}
  
:-moz-placeholder {
+
/* non numbered lists */
color: #bbb !important;
+
.content_wrapper ul {
opacity: 1.0;
+
padding:0px 20px;
 +
font-size: 13px;
 +
font-family:Tahoma, Geneva, sans-serif;  
 
}
 
}
  
::-moz-placeholder {
+
/* numbered lists */
color: #bbb !important;
+
.content_wrapper ol {
opacity: 1.0;
+
padding:0px;  
 +
font-size: 13px;
 +
font-family:Tahoma, Geneva, sans-serif;  
 
}
 
}
  
:-ms-input-placeholder {
+
/* Table */
color: #bbb !important;
+
.content_wrapper table {  
opacity: 1.0;
+
width: 97%;
 +
margin:15px 10px;
 +
border: 1px solid #d3d3d3;  
 +
border-collapse: collapse;  
 
}
 
}
  
.formerize-placeholder {
+
/* table cells */
color: #bbb !important;
+
.content_wrapper  td {  
opacity: 1.0;
+
padding: 10px;
 +
vertical-align: text-top;
 +
border: 1px solid #d3d3d3;  
 +
border-collapse: collapse;  
 
}
 
}
  
/* Box */
+
/* table headers */
 
+
.content_wrapper th {  
.box {
+
padding: 10px;
border-radius: 6px;
+
vertical-align: text-top;  
border: solid 1px rgba(144, 144, 144, 0.25);
+
border: 1px solid #d3d3d3;  
margin-bottom: 2em;
+
border-collapse: collapse;  
padding: 3em 2em;
+
background-color:#f2f2f2;  
 
}
 
}
  
.box > :last-child,
+
/* Button class */
.box > :last-child > :last-child,
+
.button_click {
.box > :last-child > :last-child > :last-child {
+
margin: 10px auto;
margin-bottom: 0;
+
padding: 15px; width:12%; 
}
+
text-align:center;
 
+
font-weight:bold;
.box.alt {
+
background-color: #72c9b6;
border: 0;
+
cursor:pointer;
border-radius: 0;
+
-webkit-transition: all 0.4s ease;
padding: 0;
+
-moz-transition: all 0.4s ease;  
}
+
-ms-transition: all 0.4s ease;  
 
+
-o-transition: all 0.4s ease;  
/* Icon */
+
transition: all 0.4s ease;  
 
+
.icon {
+
text-decoration: none;
+
border-bottom: none;
+
position: relative;
+
 
}
 
}
  
.icon:before {
+
/* button class on hover */
-moz-osx-font-smoothing: grayscale;
+
.button_click:hover {
-webkit-font-smoothing: antialiased;
+
background-color:#000000;  
font-family: FontAwesome;
+
color:#72c9b6;
font-style: normal;
+
font-weight: normal;
+
text-transform: none !important;
+
}
+
 
+
.icon > .label {
+
display: none;
+
}
+
 
+
.icon.major {
+
display: inline-block;
+
margin: 0 0 1.25em 0;
+
color: #ffffff;
+
background: #629DD1;
+
width: 3em;
+
height: 3em;
+
font-size: 2em;
+
text-align: center;
+
line-height: 3em;
+
border-radius: 100%;
+
box-shadow: 0 0 0 10px #fff, 0 0 0 11px rgba(144, 144, 144, 0.25);
+
}
+
 
+
/* Image */
+
 
+
.image {
+
border-radius: 6px;
+
border: 0;
+
display: inline-block;
+
position: relative;
+
 
}
 
}
  
.image img {
+
/********************************* RESPONSIVE STYLING ********************************/
border-radius: 6px;
+
display: block;
+
}
+
  
.image.left {
+
/* IF THE SCREEN IS LESS THAN 1000PX */
float: left;
+
padding: 0 1.5em 1em 0;
+
top: 0.25em;
+
}
+
  
.image.right {
+
@media only screen and (max-width: 1000px) {
float: right;
+
padding: 0 0 1em 1.5em;
+
top: 0.25em;
+
}
+
  
.image.fit {
+
#content {width:100%; }
display: block;
+
.menu_wrapper {width:15%;}
margin: 0 0 2em 0;
+
.content_wrapper {margin-left: 15%;}
width: 100%;
+
.menu_item {display:block;}
}
+
.icon {display:none;}
 
+
.highlight {padding:10px 0px;}
.image.fit img {
+
display: block;
+
width: 100%;
+
}
+
 
+
/* List */
+
 
+
ol {
+
list-style: decimal;
+
margin: 0 0 2em 0;
+
padding-left: 1.25em;
+
 
}
 
}
  
ol li {
 
padding-left: 0.25em;
 
}
 
 
ul {
 
list-style: disc;
 
margin: 0 0 2em 0;
 
padding-left: 1em;
 
}
 
 
ul li {
 
padding-left: 0.5em;
 
}
 
 
ul.alt {
 
list-style: none;
 
padding-left: 0;
 
}
 
 
ul.alt li {
 
border-top: solid 1px rgba(144, 144, 144, 0.25);
 
padding: 0.5em 0;
 
}
 
 
ul.alt li:first-child {
 
border-top: 0;
 
padding-top: 0;
 
}
 
 
ul.icons {
 
cursor: default;
 
list-style: none;
 
padding-left: 0;
 
}
 
 
ul.icons li {
 
display: inline-block;
 
padding: 0 1.25em 0 0;
 
}
 
 
ul.icons li:last-child {
 
padding-right: 0;
 
}
 
 
ul.icons li .icon:before {
 
font-size: 1.5em;
 
}
 
 
ul.actions {
 
cursor: default;
 
list-style: none;
 
padding-left: 0;
 
}
 
 
ul.actions li {
 
display: inline-block;
 
padding: 0 1em 0 0;
 
vertical-align: middle;
 
}
 
 
ul.actions li:last-child {
 
padding-right: 0;
 
}
 
 
ul.actions.small li {
 
padding: 0 0.5em 0 0;
 
}
 
 
ul.actions.vertical li {
 
display: block;
 
padding: 1em 0 0 0;
 
}
 
 
ul.actions.vertical li:first-child {
 
padding-top: 0;
 
}
 
 
ul.actions.vertical li > * {
 
margin-bottom: 0;
 
}
 
 
ul.actions.vertical.small li {
 
padding: 0.5em 0 0 0;
 
}
 
 
ul.actions.vertical.small li:first-child {
 
padding-top: 0;
 
}
 
 
ul.actions.fit {
 
display: table;
 
margin-left: -1em;
 
padding: 0;
 
table-layout: fixed;
 
width: calc(100% + 1em);
 
}
 
 
ul.actions.fit li {
 
display: table-cell;
 
padding: 0 0 0 1em;
 
}
 
 
ul.actions.fit li > * {
 
margin-bottom: 0;
 
}
 
 
ul.actions.fit.small {
 
margin-left: -0.5em;
 
width: calc(100% + 0.5em);
 
}
 
  
ul.actions.fit.small li {
+
/* IF THE SCREEN IS LESS THAN 680PX */
padding: 0 0 0 0.5em;
+
}
+
  
dl {
+
@media only screen and (max-width: 680px) {
margin: 0 0 2em 0;
+
.collapsable_menu_control { display:block;}
 +
.menu_item {display:none;}
 +
.menu_wrapper { width:100%; height: 15%; position:relative;}
 +
.content_wrapper {width:100%; margin-left:0px;}
 +
.column.half_size {width:100%; }
 +
.column img { width: 100%; padding: 5px 0px;}
 +
.icon {display:block;}
 +
.highlight {padding:15px 5px;}
 
}
 
}
 +
*/
 +
</style>
  
/* Table */
+
<!--- THIS IS WHERE THE HTML BEGINS --->
  
.table-wrapper {
 
-webkit-overflow-scrolling: touch;
 
overflow-x: auto;
 
}
 
  
table {
+
<!-- This tells the browser that your page is responsive -->
margin: 0 0 2em 0;
+
width: 100%;
+
}
+
  
table tbody tr {
+
<head>
border: solid 1px rgba(144, 144, 144, 0.25);
+
<meta name="viewport" content="width=device-width, initial-scale=1">
border-left: 0;
+
</head>
border-right: 0;
+
}
+
  
table tbody tr:nth-child(2n + 1) {
 
background-color: rgba(144, 144, 144, 0.075);
 
}
 
  
table td {
 
padding: 0.75em 0.75em;
 
}
 
  
table th {
 
color: #666f77;
 
font-size: 0.9em;
 
font-weight: 500;
 
padding: 0 0.75em 0.75em 0.75em;
 
text-align: left;
 
}
 
  
table thead {
+
<div class="menu_wrapper" >
border-bottom: solid 2px rgba(144, 144, 144, 0.25);
+
}
+
  
table tfoot {
 
border-top: solid 2px rgba(144, 144, 144, 0.25);
 
}
 
  
table.alt {
+
<div class="collapsable_menu_control"> MENU ▤ </div>
border-collapse: separate;
+
}
+
  
table.alt tbody tr td {
+
<ul id="accordion" class="accordion">
border: solid 1px rgba(144, 144, 144, 0.25);
+
border-left-width: 0;
+
border-top-width: 0;
+
}
+
  
table.alt tbody tr td:first-child {
+
<li class="menu_item"> <a href="https://2016.igem.org/Team:Denver_Biolabs">HOME </a> </li>
border-left-width: 1px;
+
}
+
  
table.alt tbody tr:first-child td {
 
border-top-width: 1px;
 
}
 
  
table.alt thead {
+
<li class="menu_item"> <div class="icon plus"></div> TEAM
border-bottom: 0;
+
<ul class="submenu">
}
+
<li> <a href=" https://2016.igem.org/Team:Denver_Biolabs/Team"> Team  </a> </li>
 +
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Collaborations">★  Collaborations </a> </li>
 +
                    </ul>
 +
                </li>
  
table.alt tfoot {
+
<li class="menu_item"> <div class="icon plus"></div> PROJECT 
border-top: 0;
+
<ul class="submenu">
}
+
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Description"> ★  Description </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Design"> ★ Design </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Experiments"> Experiments </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Proof"> ★ Proof of Concept </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Demonstrate"> ★ Demonstrate </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Results"> Results </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Notebook"> Notebook </a></li>
 +
                    </ul>
 +
                </li>
  
/* Button */
+
<li class="menu_item"> <div class="icon plus"></div> PARTS 
 +
<ul class="submenu">
 +
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Parts">Parts </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Basic_Part"> ★ Basic Parts </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Composite_Part"> ★ Composite Parts </a></li>
 +
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Part_Collection"> ★ Part Collection </a></li>
 +
                    </ul>
 +
                </li>
  
input[type="submit"],
 
input[type="reset"],
 
input[type="button"],
 
.button {
 
-moz-appearance: none;
 
-webkit-appearance: none;
 
-o-appearance: none;
 
-ms-appearance: none;
 
appearance: none;
 
-moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
 
-webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
 
-o-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
 
-ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
 
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
 
background-color: #192024;
 
border-radius: 6px;
 
border: 0;
 
color: #ffffff !important;
 
cursor: pointer;
 
display: inline-block;
 
font-weight: 300;
 
text-transform: uppercase;
 
letter-spacing: 0.125em;
 
font-size: 0.9em;
 
height: 2.85em;
 
line-height: 2.85em;
 
padding: 0 1.75em;
 
text-align: center;
 
text-decoration: none;
 
white-space: nowrap;
 
text-indent: 0.25em;
 
}
 
  
input[type="submit"]:hover,
+
<li class="menu_item"> <a href="https://2016.igem.org/Team:Denver_Biolabs/Safety"> SAFETY </a> </li>
input[type="reset"]:hover,
+
input[type="button"]:hover,
+
.button:hover {
+
background-color: #232d33;
+
}
+
  
input[type="submit"]:active,
 
input[type="reset"]:active,
 
input[type="button"]:active,
 
.button:active {
 
background-color: #0f1315;
 
}
 
  
input[type="submit"].icon,
+
<li class="menu_item"> <a href="https://2016.igem.org/Team:Denver_Biolabs/Attributions">★  ATTRIBUTIONS </a></li>
input[type="reset"].icon,
+
input[type="button"].icon,
+
.button.icon {
+
padding-left: 1.35em;
+
}
+
  
input[type="submit"].icon:before,
 
input[type="reset"].icon:before,
 
input[type="button"].icon:before,
 
.button.icon:before {
 
margin-right: 0.5em;
 
}
 
  
input[type="submit"].fit,
+
<li class="menu_item"> <div class="icon plus"></div> HUMAN PRACTICES
input[type="reset"].fit,
+
<ul class="submenu">
input[type="button"].fit,
+
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Human_Practices"> Human Practices </a></li>
.button.fit {
+
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/HP/Silver">★ Silver </a></li>
display: block;
+
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/HP/Gold">★ Gold </a></li>
margin: 0 0 1em 0;
+
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Integrated_Practices"> ★ Integrated Practices </a></li>
width: 100%;
+
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Engagement">★ Engagement </a></li>
}
+
                    </ul>
 +
                </li>
  
input[type="submit"].small,
 
input[type="reset"].small,
 
input[type="button"].small,
 
.button.small {
 
font-size: 0.7em;
 
}
 
  
input[type="submit"].big,
+
<li class="menu_item"> <div class="icon plus"></div> AWARDS
input[type="reset"].big,
+
<ul class="submenu">
input[type="button"].big,
+
<li><a href="https://2016.igem.org/Team:Denver_Biolabs/Entrepreneurship"> ★ Entrepreneurship </a></li>
.button.big {
+
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Hardware"> ★ Hardware </a></li>
font-size: 1.2em;
+
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Software">★ Software </a></li>
height: 2.65em;
+
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Measurement">★  Measurement </a></li>
line-height: 2.65em;
+
<li> <a href="https://2016.igem.org/Team:Denver_Biolabs/Model">★ Model </a></li>
}
+
  
input[type="submit"].alt,
+
                    </ul>
input[type="reset"].alt,
+
                </li>
input[type="button"].alt,
+
</ul>
.button.alt {
+
background-color: transparent;
+
box-shadow: inset 0 0 0 1px rgba(144, 144, 144, 0.25);
+
color: #666f77 !important;
+
}
+
  
input[type="submit"].alt:hover,
+
</div>
input[type="reset"].alt:hover,
+
input[type="button"].alt:hover,
+
.button.alt:hover {
+
background-color: rgba(144, 144, 144, 0.075);
+
}
+
  
input[type="submit"].alt:active,
+
<div class="content_wrapper">
input[type="reset"].alt:active,
+
input[type="button"].alt:active,
+
.button.alt:active {
+
background-color: rgba(144, 144, 144, 0.2);
+
}
+
  
input[type="submit"].alt.icon:before,
+
<h1 id="team_name">  </h1>
input[type="reset"].alt.icon:before,
+
<h4 id="page_name">  </h4>
input[type="button"].alt.icon:before,
+
.button.alt.icon:before {
+
color: #bbb;
+
}
+
  
input[type="submit"].special,
 
input[type="reset"].special,
 
input[type="button"].special,
 
.button.special {
 
background-color: #629DD1;
 
color: #ffffff !important;
 
}
 
  
input[type="submit"].special:hover,
+
<script>
input[type="reset"].special:hover,
+
input[type="button"].special:hover,
+
.button.special:hover {
+
background-color: #76a9d7;
+
}
+
  
input[type="submit"].special:active,
+
// This is the jquery part of your template. Try not modify any of this code since it makes your menu work.
input[type="reset"].special:active,
+
input[type="button"].special:active,
+
.button.special:active {
+
background-color: #4e91cb;
+
}
+
  
input[type="submit"].disabled, input[type="submit"]:disabled,
+
$(document).ready(function() {
input[type="reset"].disabled,
+
input[type="reset"]:disabled,
+
input[type="button"].disabled,
+
input[type="button"]:disabled,
+
.button.disabled,
+
.button:disabled {
+
background-color: #555f66 !important;
+
box-shadow: inset 0 -0.15em 0 0 rgba(0, 0, 0, 0.15);
+
color: #fff !important;
+
cursor: default;
+
opacity: 0.25;
+
}
+
  
/* Wrapper */
+
$("#HQ_page").attr('id','');
 +
  
.wrapper {
+
if ( wgPageName.substring( 0,  8) == "Template")  {   // if the page is a template it displays the full name in a single line
padding: 6em 0 4em 0;
+
$("#team_name").html( wgPageName );  
}
+
 
+
.wrapper.style1 {
+
background: #fff;
+
color: #555f66;
+
 
}
 
}
  
.wrapper.style2 {
+
else if (  ( (wgPageName.match(/\//g) || []).length ) == 0 ) { // if it is the home page , just print the team's name
background: #192024;
+
$("#team_name").html( wgPageName.substring( 5, wgPageName.length ) );  
color: #c5c7c8;
+
 
}
 
}
  
.wrapper.style2 h2, .wrapper.style2 h3, .wrapper.style2 h4, .wrapper.style2 h5, .wrapper.style2 h6 {
+
else {
color: #ffffff;
+
// this adds the team's name as an h1
}
+
$("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/")  ) );  
 
+
.wrapper.style2 header p {
+
color: #a3a5a7;
+
}
+
 
+
.wrapper.style2 .button.alt {
+
box-shadow: inset 0 0 0 1px rgba(144, 144, 144, 0.75);
+
color: #ffffff !important;
+
}
+
 
+
.wrapper.style2 .button.alt:hover {
+
background-color: rgba(144, 144, 144, 0.275);
+
}
+
 
+
.wrapper.style2 .button.alt:active {
+
background-color: rgba(144, 144, 144, 0.4);
+
}
+
 
+
.wrapper.style2 .button.alt.icon:before {
+
color: #a3a5a7;
+
}
+
 
+
/* Header */
+
 
+
#skel-layers-wrapper {
+
padding-top: 3em;
+
}
+
 
+
#header {
+
background: #fff;
+
color: #555f66;
+
cursor: default;
+
height: 3em;
+
left: 0;
+
line-height: 3em;
+
position: fixed;
+
top: 0;
+
width: 100%;
+
z-index: 10000;
+
box-shadow: 0 0 0.1em 0 rgba(0, 0, 0, 0.25);
+
}
+
  
#header h1 {
+
// this adds the page's title as an h4
color: #666f77;
+
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
font-weight: 500;
+
height: inherit;
+
left: 1.25em;
+
line-height: inherit;
+
margin: 0;
+
padding: 0;
+
position: absolute;
+
top: 0;
+
 
}
 
}
  
#header h1 a {
 
font-size: 1.25em;
 
}
 
  
#header nav {
 
height: inherit;
 
line-height: inherit;
 
position: absolute;
 
right: 1.25em;
 
top: 0;
 
vertical-align: middle;
 
}
 
  
#header nav > ul {
 
list-style: none;
 
margin: 0;
 
padding-left: 0;
 
}
 
  
#header nav > ul > li {
+
$('#accordion').find('.menu_item').click(function(){
border-radius: 6px;
+
display: inline-block;
+
margin-left: 2em;
+
padding-left: 0;
+
}
+
  
#header nav > ul > li a {
+
//Expand or collapse this panel
-moz-transition: color 0.2s ease-in-out;
+
submenu = $(this).find('.submenu');
-webkit-transition: color 0.2s ease-in-out;
+
submenu.toggle();
-o-transition: color 0.2s ease-in-out;
+
-ms-transition: color 0.2s ease-in-out;
+
transition: color 0.2s ease-in-out;
+
color: #555f66;
+
display: inline-block;
+
text-decoration: none;
+
}
+
  
#header nav > ul > li a:hover {
+
icon = $(this).find('.icon');
color: #629DD1;
+
}
+
  
#header nav > ul > li:first-child {
+
if ( !$( submenu ).is(':visible') ) {
margin-left: 0;
+
icon.removeClass("less").addClass("plus");
}
+
 
+
#header nav > ul > li .button {
+
height: 2.25em;
+
line-height: 2.25em;
+
margin-bottom: 0;
+
padding: 0 1em;
+
position: relative;
+
top: -0.075em;
+
vertical-align: middle;
+
}
+
 
+
#header .container {
+
position: relative;
+
}
+
 
+
#header .container h1 {
+
left: 0;
+
 
}
 
}
 
+
else {
#header .container nav {
+
icon.removeClass("plus").addClass("less");
right: 0;
+
 
}
 
}
  
/* Banner */
+
//Hide the other panels
 +
$(".submenu").not(submenu).hide();
 +
$(".icon").not(icon).removeClass("less").addClass("plus");
 +
});
  
#banner {
 
background-color: #666666;
 
background-image: url("../images/banner.jpg");
 
background-size: cover;
 
background-position: center center;
 
background-repeat: no-repeat;
 
color: #d8d8d8;
 
padding: 14em 0;
 
text-align: center;
 
position: relative;
 
}
 
  
#banner:before {
+
$(".collapsable_menu_control").click(function() {
content: '';
+
$(".menu_item").toggle();
position: absolute;
+
});
left: 0;
+
top: 0;
+
width: 100%;
+
height: 100%;
+
background: rgba(64, 72, 80, 0.25);
+
}
+
  
#banner .inner {
+
$( window ).resize(function() {
position: relative;
+
$(".menu_item").show();
z-index: 1;
+
});
}
+
  
#banner .inner :last-child {
 
margin-bottom: 0;
 
}
 
  
#banner h2, #banner h3, #banner h4, #banner h5, #banner h6 {
+
});
color: #ffffff;
+
}
+
  
#banner .button.alt {
+
</script>
box-shadow: inset 0 0 0 1px rgba(144, 144, 144, 0.75);
+
color: #ffffff !important;
+
}
+
 
+
#banner .button.alt:hover {
+
background-color: rgba(144, 144, 144, 0.275);
+
}
+
 
+
#banner .button.alt:active {
+
background-color: rgba(144, 144, 144, 0.4);
+
}
+
 
+
#banner .button.alt.icon:before {
+
color: #c1c1c1;
+
}
+
 
+
#banner .button {
+
min-width: 12em;
+
}
+
 
+
#banner h2 {
+
font-size: 3.5em;
+
line-height: 1em;
+
margin: 0 0 0.5em 0;
+
padding: 0;
+
}
+
 
+
#banner p {
+
font-size: 1.5em;
+
margin-bottom: 2em;
+
}
+
 
+
#banner p a {
+
color: #ffffff;
+
text-decoration: none;
+
}
+
 
+
/* Footer */
+
 
+
#footer {
+
background: #f8f8f8;
+
padding: 4em 0 6em 0;
+
}
+
 
+
#footer a {
+
color: inherit;
+
}
+
 
+
#footer .copyright {
+
color: #bbb;
+
font-size: 0.9em;
+
margin: 2em 0 0 0;
+
padding: 0;
+
text-align: center;
+
}
+
 
+
#footer .copyright li {
+
border-left: solid 1px rgba(144, 144, 144, 0.25);
+
display: inline-block;
+
list-style: none;
+
margin-left: 1.5em;
+
padding-left: 1.5em;
+
}
+
 
+
#footer .copyright li:first-child {
+
border-left: 0;
+
margin-left: 0;
+
padding-left: 0;
+
}
+
 
+
#footer .icons a {
+
color: #bbb;
+
}
+

Latest revision as of 22:16, 11 September 2016

Team:Denver Biolabs - 2016.igem.org

Loading menubar.....

Team:Denver Biolabs