Template:Montgomery Cougars NJUSA/Common CSS

From 2014hs.igem.org

(Difference between revisions)
(Undo revision 12730 by Casey.chow (talk))
 
(103 intermediate revisions not shown)
Line 2: Line 2:
/* https://2011.igem.org/Team:DTU-Denmark/How_to_customize_an_iGEM_wiki#Centralizing_the_layout_using_templates */
/* https://2011.igem.org/Team:DTU-Denmark/How_to_customize_an_iGEM_wiki#Centralizing_the_layout_using_templates */
-
/* Clear Wiki Shit */
+
 
 +
 
 +
/***************************************/
 +
/* WIKI RESET                          */
 +
/***************************************/
 +
 
 +
body.mediawiki {
 +
    margin-top: -1.5em;
 +
}
 +
 
#contentSub,  
#contentSub,  
#search-controls,  
#search-controls,  
Line 23: Line 32:
#menubar {
#menubar {
     width: auto;
     width: auto;
 +
}
 +
#menubar ul {
 +
    margin-bottom: 0.5em;
 +
}
 +
.firstHeading {
 +
    display: none;
}
}
-
/* Block Grids */
 
-
/* http://foundation.zurb.com/index.html */
 
-
[class*="block-grid-"] {
 
-
  display: block;
 
-
  padding: 0;
 
-
  margin: 0 -0.625rem;
 
-
  *zoom: 1; }
 
-
  [class*="block-grid-"]:before, [class*="block-grid-"]:after {
 
-
    content: " ";
 
-
    display: table; }
 
-
  [class*="block-grid-"]:after {
 
-
    clear: both; }
 
-
  [class*="block-grid-"] > li {
 
-
    display: block;
 
-
    height: auto;
 
-
    float: left;
 
-
    padding: 0 0.625rem 1.25rem; }
 
-
@media only screen {
+
/* CUSTOM STYLES */
-
  .small-block-grid-1 > li {
+
-
    width: 100%;
+
-
    list-style: none; }
+
-
    .small-block-grid-1 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .small-block-grid-1 > li:nth-of-type(1n+1) {
+
-
      clear: both; }
+
-
 
+
-
  .small-block-grid-2 > li {
+
-
    width: 50%;
+
-
    list-style: none; }
+
-
    .small-block-grid-2 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .small-block-grid-2 > li:nth-of-type(2n+1) {
+
-
      clear: both; }
+
-
 
+
-
  .small-block-grid-3 > li {
+
-
    width: 33.33333%;
+
-
    list-style: none; }
+
-
    .small-block-grid-3 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .small-block-grid-3 > li:nth-of-type(3n+1) {
+
-
      clear: both; }
+
-
 
+
-
  .small-block-grid-4 > li {
+
-
    width: 25%;
+
-
    list-style: none; }
+
-
    .small-block-grid-4 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .small-block-grid-4 > li:nth-of-type(4n+1) {
+
-
      clear: both; }
+
-
 
+
-
  .small-block-grid-5 > li {
+
-
    width: 20%;
+
-
    list-style: none; }
+
-
    .small-block-grid-5 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .small-block-grid-5 > li:nth-of-type(5n+1) {
+
-
      clear: both; }
+
-
 
+
-
  .small-block-grid-6 > li {
+
-
    width: 16.66667%;
+
-
    list-style: none; }
+
-
    .small-block-grid-6 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .small-block-grid-6 > li:nth-of-type(6n+1) {
+
-
      clear: both; }
+
-
 
+
-
  .small-block-grid-7 > li {
+
-
    width: 14.28571%;
+
-
    list-style: none; }
+
-
    .small-block-grid-7 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .small-block-grid-7 > li:nth-of-type(7n+1) {
+
-
      clear: both; }
+
-
  .small-block-grid-8 > li {
+
#content {
-
    width: 12.5%;
+
-
    list-style: none; }
+
-
    .small-block-grid-8 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .small-block-grid-8 > li:nth-of-type(8n+1) {
+
-
      clear: both; }
+
-
 
+
-
  .small-block-grid-9 > li {
+
-
    width: 11.11111%;
+
-
    list-style: none; }
+
-
    .small-block-grid-9 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .small-block-grid-9 > li:nth-of-type(9n+1) {
+
-
      clear: both; }
+
-
 
+
-
  .small-block-grid-10 > li {
+
-
    width: 10%;
+
-
    list-style: none; }
+
-
    .small-block-grid-10 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .small-block-grid-10 > li:nth-of-type(10n+1) {
+
-
      clear: both; }
+
-
 
+
-
  .small-block-grid-11 > li {
+
-
    width: 9.09091%;
+
-
    list-style: none; }
+
-
    .small-block-grid-11 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .small-block-grid-11 > li:nth-of-type(11n+1) {
+
-
      clear: both; }
+
-
 
+
-
  .small-block-grid-12 > li {
+
-
    width: 8.33333%;
+
-
    list-style: none; }
+
-
    .small-block-grid-12 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .small-block-grid-12 > li:nth-of-type(12n+1) {
+
-
      clear: both; } }
+
-
@media only screen and (min-width: 40.063em) {
+
-
  .medium-block-grid-1 > li {
+
     width: 100%;
     width: 100%;
-
     list-style: none; }
+
     padding: 0;
-
    .medium-block-grid-1 > li:nth-of-type(n) {
+
}
-
      clear: none; }
+
-
    .medium-block-grid-1 > li:nth-of-type(1n+1) {
+
-
      clear: both; }
+
-
  .medium-block-grid-2 > li {
+
.container {
-
     width: 50%;
+
     width: 70%;
-
     list-style: none; }
+
     max-width: 1100px;
-
     .medium-block-grid-2 > li:nth-of-type(n) {
+
     margin: 0 auto;
-
      clear: none; }
+
}
-
    .medium-block-grid-2 > li:nth-of-type(2n+1) {
+
-
      clear: both; }
+
-
  .medium-block-grid-3 > li {
+
p {
-
     width: 33.33333%;
+
     line-height: 1.7;
-
    list-style: none; }
+
}
-
    .medium-block-grid-3 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .medium-block-grid-3 > li:nth-of-type(3n+1) {
+
-
      clear: both; }
+
-
  .medium-block-grid-4 > li {
+
/***************************************/
-
    width: 25%;
+
/* RANDOM                              */
-
    list-style: none; }
+
/***************************************/
-
    .medium-block-grid-4 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .medium-block-grid-4 > li:nth-of-type(4n+1) {
+
-
      clear: both; }
+
-
  .medium-block-grid-5 > li {
+
body {
-
     width: 20%;
+
     min-width: 1200px;
-
     list-style: none; }
+
     background-color: white;
-
     .medium-block-grid-5 > li:nth-of-type(n) {
+
     border-bottom: solid #333 1px;
-
      clear: none; }
+
}
-
    .medium-block-grid-5 > li:nth-of-type(5n+1) {
+
-
      clear: both; }
+
-
  .medium-block-grid-6 > li {
+
/* fontawesome */
-
    width: 16.66667%;
+
[class*="fontawesome-"]:before {
-
    list-style: none; }
+
  font-family: 'FontAwesome', sans-serif;
-
    .medium-block-grid-6 > li:nth-of-type(n) {
+
}
-
      clear: none; }
+
-
    .medium-block-grid-6 > li:nth-of-type(6n+1) {
+
-
      clear: both; }
+
-
  .medium-block-grid-7 > li {
+
/* http://css-tricks.com/snippets/css/clear-fix/ */
-
    width: 14.28571%;
+
.clearfix:after {
-
    list-style: none; }
+
visibility: hidden;
-
    .medium-block-grid-7 > li:nth-of-type(n) {
+
display: block;
-
      clear: none; }
+
font-size: 0;
-
    .medium-block-grid-7 > li:nth-of-type(7n+1) {
+
content: " ";
-
      clear: both; }
+
clear: both;
 +
height: 0;
 +
}
 +
.clearfix { display: inline-block; }
 +
/* start commented backslash hack \*/
 +
* html .clearfix { height: 1%; }
 +
.clearfix { display: block; }
 +
/* close commented backslash hack */
-
  .medium-block-grid-8 > li {
+
.centered {
-
     width: 12.5%;
+
     display: table;
-
     list-style: none; }
+
     margin-left: auto;
-
     .medium-block-grid-8 > li:nth-of-type(n) {
+
     margin-right: auto;
-
      clear: none; }
+
}
-
    .medium-block-grid-8 > li:nth-of-type(8n+1) {
+
-
      clear: both; }
+
-
  .medium-block-grid-9 > li {
+
th {
-
     width: 11.11111%;
+
     background-color: #e0e0e0;
-
    list-style: none; }
+
}
-
    .medium-block-grid-9 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .medium-block-grid-9 > li:nth-of-type(9n+1) {
+
-
      clear: both; }
+
-
  .medium-block-grid-10 > li {
+
table .green {
-
     width: 10%;
+
     background-color: rgb(41, 99, 41);
-
     list-style: none; }
+
     color: white;
-
     .medium-block-grid-10 > li:nth-of-type(n) {
+
     font-weight: 400;
-
      clear: none; }
+
}
-
    .medium-block-grid-10 > li:nth-of-type(10n+1) {
+
-
      clear: both; }
+
-
  .medium-block-grid-11 > li {
+
table caption {
-
     width: 9.09091%;
+
     font-size: 1.5em;
-
    list-style: none; }
+
}
-
    .medium-block-grid-11 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .medium-block-grid-11 > li:nth-of-type(11n+1) {
+
-
      clear: both; }
+
-
  .medium-block-grid-12 > li {
+
/***************************************/
-
    width: 8.33333%;
+
/* FONT TWEAKS                        */
-
    list-style: none; }
+
/***************************************/
-
    .medium-block-grid-12 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .medium-block-grid-12 > li:nth-of-type(12n+1) {
+
-
      clear: both; } }
+
-
@media only screen and (min-width: 64.063em) {
+
-
  .large-block-grid-1 > li {
+
-
    width: 100%;
+
-
    list-style: none; }
+
-
    .large-block-grid-1 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .large-block-grid-1 > li:nth-of-type(1n+1) {
+
-
      clear: both; }
+
-
  .large-block-grid-2 > li {
+
body {
-
     width: 50%;
+
     font-size: 12px;
-
    list-style: none; }
+
}
-
    .large-block-grid-2 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .large-block-grid-2 > li:nth-of-type(2n+1) {
+
-
      clear: both; }
+
-
  .large-block-grid-3 > li {
+
p {
-
     width: 33.33333%;
+
     font-size: 16px;
-
    list-style: none; }
+
}
-
    .large-block-grid-3 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .large-block-grid-3 > li:nth-of-type(3n+1) {
+
-
      clear: both; }
+
-
  .large-block-grid-4 > li {
+
*, body, p, span, blockquote, article, section, aside, nav, th, td, .wikitable th, .wikitable td {
-
     width: 25%;
+
     font-family: 'Open Sans', sans-serif;
-
    list-style: none; }
+
}
-
    .large-block-grid-4 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .large-block-grid-4 > li:nth-of-type(4n+1) {
+
-
      clear: both; }
+
-
  .large-block-grid-5 > li {
+
h1, h2, h3, h4, h5, h6,
-
     width: 20%;
+
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
-
     list-style: none; }
+
     font-family: 'Open Sans', sans-serif;
-
     .large-block-grid-5 > li:nth-of-type(n) {
+
     font-weight: 400;
-
      clear: none; }
+
     padding-bottom: 0.25em;
-
    .large-block-grid-5 > li:nth-of-type(5n+1) {
+
}
-
      clear: both; }
+
-
  .large-block-grid-6 > li {
+
h1, h1 a {
-
     width: 16.66667%;
+
     border-bottom: none;
-
    list-style: none; }
+
     font-size: 3.75em;
-
     .large-block-grid-6 > li:nth-of-type(n) {
+
}
-
      clear: none; }
+
-
    .large-block-grid-6 > li:nth-of-type(6n+1) {
+
-
      clear: both; }
+
-
  .large-block-grid-7 > li {
+
p {
-
     width: 14.28571%;
+
     line-height: 1.5;
-
    list-style: none; }
+
}
-
    .large-block-grid-7 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .large-block-grid-7 > li:nth-of-type(7n+1) {
+
-
      clear: both; }
+
-
  .large-block-grid-8 > li {
+
b, strong, th {
-
     width: 12.5%;
+
     font-weight: 700;
-
    list-style: none; }
+
}
-
    .large-block-grid-8 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .large-block-grid-8 > li:nth-of-type(8n+1) {
+
-
      clear: both; }
+
-
  .large-block-grid-9 > li {
+
::selection {
-
     width: 11.11111%;
+
     color: white;  
-
     list-style: none; }
+
     background: rgb(0, 102, 0);
-
    .large-block-grid-9 > li:nth-of-type(n) {
+
}
-
      clear: none; }
+
::-moz-selection {
-
     .large-block-grid-9 > li:nth-of-type(9n+1) {
+
    color: white;  
-
      clear: both; }
+
     background: rgb(0, 102, 0);
 +
}
-
  .large-block-grid-10 > li {
+
/***************************************/
-
    width: 10%;
+
/* HEADER                              */
-
    list-style: none; }
+
/***************************************/
-
    .large-block-grid-10 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .large-block-grid-10 > li:nth-of-type(10n+1) {
+
-
      clear: both; }
+
-
  .large-block-grid-11 > li {
+
#header-wrapper {
-
     width: 9.09091%;
+
     position: relative; /* create new stacking context to keep logo on top */
-
     list-style: none; }
+
     z-index: 100;
-
     .large-block-grid-11 > li:nth-of-type(n) {
+
}
-
      clear: none; }
+
#header {
-
     .large-block-grid-11 > li:nth-of-type(11n+1) {
+
     background-color: rgb(38, 38, 38);
-
      clear: both; }
+
     border-bottom: solid 0.75em rgb(0, 102, 0);
 +
    height: 7.5em;
 +
}
-
  .large-block-grid-12 > li {
+
#logo {
-
     width: 8.33333%;
+
     margin-left: 20px;
-
    list-style: none; }
+
}
-
    .large-block-grid-12 > li:nth-of-type(n) {
+
-
      clear: none; }
+
-
    .large-block-grid-12 > li:nth-of-type(12n+1) {
+
-
      clear: both; } }
+
 +
#logo span {
 +
    display: none;
 +
}
-
/* Skel */
+
#logo img {
-
/* Resets (http://meyerweb.com/eric/tools/css/reset/ | v2.0 | 20110126 | License: none (public domain)) */
+
    /*max-width: 275px;*/
 +
    position: absolute;
 +
    width: 250px;
 +
}
-
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}
+
#nav {
 +
    background: none;
 +
    max-width: 1400px;
 +
    margin: 0 auto;
 +
    position: relative;
 +
}
-
/* Box Model */
+
#nav ul {
 +
    position: absolute;
 +
    left: 320px;
 +
    top: 4.25em;
 +
}
-
*, *:before, *:after {
+
#nav li a {
-
-moz-box-sizing: border-box;
+
    color: #E6E6E6;
-
-webkit-box-sizing: border-box;
+
    font-family: 'Open Sans', sans-serif;
-
-o-box-sizing: border-box;
+
    font-size: 1.2em;
-
-ms-box-sizing: border-box;
+
    font-weight: 300;
-
box-sizing: border-box;
+
-
}
+
-
/* Container */
 
-
body {
+
    -webkit-transition: background-color 0.15s ease-in;
-
min-width: 1200px;
+
    -moz-transition: background-color 0.15s ease-in;
-
}
+
    -o-transition: background-color 0.15s ease-in;
 +
    -ms-transition: background-color 0.15s ease-in;
 +
    transition: background-color 0.15s ease-in;
 +
}
-
.container {
+
#nav > ul > li:hover > a {
-
width: 1200px;
+
background: rgb(50, 50, 50);
-
margin-left: auto;
+
}
-
margin-right: auto;
+
-
}
+
-
/* Modifiers */
+
#nav li ul {
-
+
    background: rgb(50, 50, 50);
-
.container.small {
+
    opacity: 0;
-
width: 900px;
+
    position: absolute;
-
}
+
        top: 2.6em;
 +
        left: 0;
 +
    width: auto;
 +
    z-index: 99;
-
.container.big {
+
    -webkit-transition: opacity 0.15s ease-in;
-
width: 100%;
+
    -moz-transition: opacity 0.15s ease-in;
-
max-width: 1500px;
+
    -o-transition: opacity 0.15s ease-in;
-
min-width: 1200px;
+
    -ms-transition: opacity 0.15s ease-in;
-
}
+
    transition: opacity 0.15s ease-in;
 +
}
-
/* Grid */
+
#nav li:hover ul {
 +
    opacity: 1;
 +
    visibility: visible;
 +
}
-
/* Cells */
+
#nav li ul li:hover a {
 +
    background: rgb(75, 75, 75);
 +
}
-
.\31 2u { width: 100% }
+
#nav .is-parent:after {
-
.\31 1u { width: 91.6666666667% }
+
    content: '▼';
-
.\31 0u { width: 83.3333333333% }
+
    color: #C0C0C0;
-
.\39 u { width: 75% }
+
    margin-left: 0.5em;
-
.\38 u { width: 66.6666666667% }
+
    font-size: 0.75em;
-
.\37 u { width: 58.3333333333% }
+
}
-
.\36 u { width: 50% }
+
-
.\35 u { width: 41.6666666667% }
+
-
.\34 u { width: 33.3333333333% }
+
-
.\33 u { width: 25% }
+
-
.\32 u { width: 16.6666666667% }
+
-
.\31 u { width: 8.3333333333% }
+
-
.\-11u { margin-left: 91.6666666667% }
+
-
.\-10u { margin-left: 83.3333333333% }
+
-
.\-9u { margin-left: 75% }
+
-
.\-8u { margin-left: 66.6666666667% }
+
-
.\-7u { margin-left: 58.3333333333% }
+
-
.\-6u { margin-left: 50% }
+
-
.\-5u { margin-left: 41.6666666667% }
+
-
.\-4u { margin-left: 33.3333333333% }
+
-
.\-3u { margin-left: 25% }
+
-
.\-2u { margin-left: 16.6666666667% }
+
-
.\-1u { margin-left: 8.3333333333% }
+
-
.row > * {
+
#igem-logo {
-
padding: 40px 0 0 40px;
+
    position: absolute;
-
float: left;
+
    right: 0;
-
-moz-box-sizing: border-box;
+
}
-
-webkit-box-sizing: border-box;
+
-
-o-box-sizing: border-box;
+
-
-ms-box-sizing: border-box;
+
-
box-sizing: border-box;
+
-
}
+
-
.row + .row > * {
+
#igem-logo span {
-
padding-top: 40px;
+
    display: none;
-
}
+
}
 +
#igem-logo  img {
 +
    width: 200px;
 +
    margin-top: 1em;
 +
}
-
.row {
+
/***************************************/
-
margin-left: -40px;
+
/* GALLERY                            */
-
}
+
/***************************************/
-
/* Rows */
+
.generic-image {
 +
    position: relative;
 +
}
-
.row:after {
+
.gallery {
-
content: '';
+
    position: relative;
-
display: block;
+
}
-
clear: both;
+
-
height: 0;
+
-
}
+
-
.row:first-child > * {
+
#slider {
-
padding-top: 0;
+
    margin-right: 0;
-
}
+
    margin-bottom: 0;
 +
    position: relative;
 +
    overflow: auto;
 +
    width: 100%;
 +
}
-
.row > * {
+
#slider ul {
-
padding-top: 0;
+
    margin-top: 0;
-
}
+
    padding-left: 0;
 +
}
-
/* Modifiers */
+
#slider li  {
 +
    list-style: none;
 +
    position: relative;
 +
}
-
/* Flush */
+
#slider ul li {
 +
    float: left;
 +
}
-
.row.flush {
+
#slider ul li a {
-
margin-left: 0;
+
    display: block;
-
}
+
}
-
.row.flush > * {
+
.slider img {
-
padding: 0 !important;
+
    display: table;
-
}
+
    margin: 0 auto;
 +
    width: 100%;
 +
}
-
/* Quarter */
+
#slider .caption {
 +
    background-color: rgba(0,10,5,.8);
 +
    padding: 1.5em 1em;
 +
    text-align: center;
 +
    color: white;
 +
    position: absolute;
 +
    bottom: 0;
 +
    width: 100%;
 +
}
-
.row.quarter > * {
+
.slider .caption {
-
padding: 10px 0 0 10px;
+
    display: table;
-
}
+
    margin: 0;
 +
    width: auto;
 +
}
-
.row.quarter + .row.quarter > * {
+
#slider .caption h2 {
-
padding-top: 10px;
+
    color: white;
-
}
+
    border-bottom: none;
 +
    font-size: 3em;
 +
    font-weight: 300;
 +
    margin: 0.25em 0 0.75em;
 +
    padding: 0;
 +
}
-
.row.quarter {
+
#slider .caption h2:after {
-
margin-left: -10px;
+
    content: '►';
-
}
+
    font-size: 0.5em;
 +
    margin-left: 0.25em;
 +
    color: rgb(9, 124, 9);
 +
    position: relative;
 +
    top: -0.2em;
 +
}
-
/* Half */
+
#slider .caption span{
 +
    color: white;
 +
    font-size: 1.25em;
 +
    font-weight: 300;
 +
    margin: 0;
 +
}
-
.row.half > * {
+
/***************************************/
-
padding: 20px 0 0 20px;
+
/* LEFT LINKS                          */
-
}
+
/***************************************/
-
.row.half + .row.half > * {
+
#left-links-wrapper {
-
padding-top: 20px;
+
    font-size: 12px;
-
}
+
    box-sizing: border-box;
 +
    -moz-box-sizing: border-box;
 +
    padding-right: 15px;
 +
}
-
.row.half {
+
#left-links {
-
margin-left: -20px;
+
}
-
}
+
-
/* One and (a) Half */
+
#left-links h1,
 +
#left-links ul li a,
 +
#left-links ul li .selflink {
 +
    color: rgb(245, 245, 245);
 +
    font-family: 'Open Sans', sans-serif;
 +
    text-decoration: none;
 +
}
-
.row.oneandhalf > * {
+
#left-links h1 {
-
padding: 60px 0 0 60px;
+
    background-color: rgb(0,102,0);
-
}
+
    font-size: 2.25em;
 +
    font-weight: 300;
 +
    line-height: 1.15;
 +
    padding: 10px;
 +
    margin: 0 0 -1px;
 +
    float:  left;
 +
    min-width: 80%;
 +
}
-
.row.oneandhalf + .row.oneandhalf > * {
+
#left-links ul {
-
padding-top: 60px;
+
  float: left;
-
}
+
  margin: 0;
 +
  padding: 0;
 +
  width: 100%;
 +
}
-
.row.oneandhalf {
+
#left-links ul li {
-
margin-left: -60px;
+
    display: block;
-
}
+
    font-size: 1.5em;
 +
    font-weight: 300;
 +
    margin-bottom: 0;
 +
    width: 100%;
 +
}
-
/* Double */
+
#left-links ul li a,
 +
#left-links ul li .selflink {
 +
    display: block;
 +
    clear: left;
 +
    float: left;
 +
    padding: 10px 15px;
-
.row.double > * {
+
    -webkit-transition: background 200ms ease;
-
padding: 80px 0 0 80px;
+
    -moz-transition: background 200ms ease;
-
}
+
    -ms-transition: background 200ms ease;
 +
    -o-transition: background 200ms ease;
 +
    transition: background 200ms ease;
 +
    width: 65%;
 +
}
-
.row.double + .row.double > * {
+
#left-links ul li a:hover {
-
padding-top: 80px;
+
    background-color: rgb(50,50,50);
-
}
+
}
-
.row.double {
+
#left #left-links-title {
-
margin-left: -80px;
+
    background-color: rgba(0, 102, 0, 1);
-
}
+
    color: rgb(240, 240, 240);
 +
}
 +
#left-links .selflink {
 +
    background-color: rgb(46, 46, 46);
 +
    font-weight: 300;
 +
}
 +
#left-links ul > :nth-child(1) > a {
 +
    background-color: rgba(0, 102, 0, 0.95);
 +
}
 +
#left-links ul > :nth-child(2) > a {
 +
    background-color: rgba(0, 102, 0, 0.91);
 +
}
 +
#left-links ul > :nth-child(3) > a {
 +
    background-color: rgba(0, 102, 0, .87);
 +
}
 +
#left-links ul > :nth-child(4) > a {
 +
    background-color: rgba(0, 102, 0, 0.83);
 +
}
 +
#left-links ul > :nth-child(5) > a {
 +
    background-color: rgba(0, 102, 0, 0.79);
 +
}
 +
#left-links ul > :nth-child(6) > a {
 +
    background-color: rgba(0, 102, 0, 0.75);
 +
}
 +
#left-links ul > :nth-child(7) > a {
 +
    background-color: rgba(0, 102, 0, 0.71);
 +
}
 +
#left-links ul > :nth-child(8) > a {
 +
    background-color: rgba(0, 102, 0, 0.67);
 +
}
-
/*
 
-
Arcana 2.1 by HTML5 UP
 
-
html5up.net | @n33co
 
-
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
 
-
*/
 
-
/*********************************************************************************/
+
/***************************************/
-
/* Global                                                                        */
+
/* CONTENT                            */
-
/*********************************************************************************/
+
/***************************************/
-
/* Basic */
+
#main {
-
 
+
    position: relative;
-
*,*:before,*:after{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;-o-box-sizing:content-box;-ms-box-sizing:content-box;box-sizing:content-box}
+
}
-
body
+
#main-wrapper {
-
{
+
    max-width: 1400px;
-
background: #f0f0f0 url('https://static.igem.org/mediawiki/2014hs/c/c2/Bg1.png');
+
    margin: 0 auto;
-
font-family: 'Open Sans Condensed', sans-serif;
+
    position: relative;
-
font-size: 14px;
+
-
line-height: 1.75em;
+
-
color: #4c4c4c;
+
}
}
-
h1,h2,h3,h4,#bodyContent h1,#bodyContent h2,#bodyContent h3, #bodyContent h4
+
#inner-content {
-
{
+
    box-sizing: border-box;
-
font-family: 'Open Sans Condensed', sans-serif;
+
    -moz-box-sizing: border-box;
-
color: #1d1d1d;
+
    padding-right: 2em;
}
}
-
h2, h3
+
#inner-content h1 {
-
{
+
    margin: 0.1em 0 0.5em;
-
font-size: 1.6em;
+
-
letter-spacing: -1px;
+
-
margin: 0 0 0.75em 0;
+
}
}
-
strong
+
#inner-content p {
 +
    margin: 1.5em 0 .5em;
 +
}
-
{ color: #1d1d1d;
+
.editsection, .editsection a {
 +
    font-size: 16px;
}
}
-
a
+
.toc {
-
{
+
    float: right;
-
color: #478903;
+
    margin: 3em 0 2em 2em;
-
text-decoration: underline;
+
}
}
-
a:hover
+
.thumb {
-
{
+
    margin: 1em 0;
-
text-decoration: none;
+
}
}
-
/* Reusable */
+
/***************************************/
 +
/* PIKACHOOSE                          */
 +
/***************************************/
-
.button
+
.slider {
-
{
+
    margin-left: 10%;
-
display: inline-block;
+
    width: 75%;
-
background: #0893cf;
+
-
box-shadow: inset 0px 0px 0px 1px #48d3FF, 0px 2px 3px 0px rgba(0,0,0,0.25);
+
-
border: solid 1px #0893cf;
+
-
border-radius: 6px;
+
-
padding: 0.45em 1.1em 0.5em 1.1em;
+
-
color: #fff;
+
-
font-size: 0.8em;
+
-
text-decoration: none;
+
-
text-shadow: -1px -1px 0 rgba(0,0,0,0.5);
+
-
background-image: -moz-linear-gradient(top, #38C3FF, #0893cf);
+
-
background-image: -webkit-linear-gradient(top, #38C3FF, #0893cf);
+
-
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#38C3FF), to(#0893cf));
+
-
background-image: -ms-linear-gradient(top, #38C3FF, #0893cf);
+
-
background-image: -o-linear-gradient(top, #38C3FF, #0893cf);
+
-
background-image: linear-gradient(top, #38C3FF, #0893cf);
+
-
outline: 0;
+
-
white-space: nowrap;
+
}
}
-
.button:hover
+
.pika-thumbs {
-
{
+
    height:75px;
-
background: #28a3df;
+
    padding:0 16px;
-
background-image: -moz-linear-gradient(top, #58d3FF, #28a3df);
+
-
background-image: -webkit-linear-gradient(top, #58d3FF, #28a3df);
+
-
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#58d3FF), to(#28a3df));
+
-
background-image: -ms-linear-gradient(top, #58d3FF, #28a3df);
+
-
background-image: -o-linear-gradient(top, #58d3FF, #28a3df);
+
-
background-image: linear-gradient(top, #58d3FF, #28a3df);
+
}
}
-
.button:active
+
.pika-thumbs li {
-
{
+
    width:144px;
-
background: #38C3FF;
+
    height:74px;
-
background-image: -moz-linear-gradient(top, #0893cf, #38C3FF);
+
    overflow:hidden;
-
background-image: -webkit-linear-gradient(top, #0893cf, #38C3FF);
+
    float:left;
-
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0893cf), to(#38C3FF));
+
    list-style-type:none;
-
background-image: -ms-linear-gradient(top, #0893cf, #38C3FF);
+
    background:#fafafa;
-
background-image: -o-linear-gradient(top, #0893cf, #38C3FF);
+
    border:1px solid #e5e5e5;
-
background-image: linear-gradient(top, #0893cf, #38C3FF);
+
    cursor:pointer;
 +
    margin:0 5px;
 +
    padding:3px;
}
}
-
.divider
+
.pika-thumbs li .clip {
-
{
+
    position:relative;
-
border-top: solid 1px #e5e5e5;
+
    height:100%;
-
border-bottom: solid 1px #e5e5e5;
+
    text-align:center;
-
height: 4px;
+
    vertical-align:middle;
-
margin: 2em 0 2em 0;
+
    overflow:hidden;
}
}
-
.divider-top
+
.pika-stage {
-
{
+
    position:relative;
-
margin-bottom: 0;
+
    background:#fafafa;
 +
    border:1px solid #e5e5e5;
 +
    text-align:center;
 +
    margin:0 auto;
 +
    padding:10px 10px 40px;
}
}
-
.divider-bottom
+
.pika-stage img {
-
{
+
    height:100%;
-
margin-top: 0;
+
}
}
-
.cta-box
+
.pika-stage .caption {
-
{
+
    position:absolute;
-
background: url('https://static.igem.org/mediawiki/2014hs/b/b3/Bg2.png');
+
    background:rgba(0,0,0,0.75);
-
text-align: center;
+
    border:1px solid #141414;
-
padding: 1.25em 0 1.25em 0;
+
    color:#fafafa;
-
text-shadow: 1px 2px 0px #fff;
+
    text-align:right;
-
font-size: 2em;
+
    bottom:50px;
 +
    right:10px;
 +
    padding:10px;
 +
}
 +
.pika-stage .caption p {
 +
    line-height:14px;
 +
    margin:0;
 +
    padding:0;
}
}
-
.cta-box .button
+
.pika-imgnav a {
-
{
+
    position:absolute;
-
margin-left: 0.8em;
+
    text-indent:-5000px;
-
}
+
    display:block;
 +
    z-index:3;
 +
}
-
.highlight-box
+
.pika-imgnav a.previous {
-
{
+
    background:url(https://static.igem.org/mediawiki/2014hs/3/39/Prev1.png) no-repeat left 45%;
-
background: url('https://static.igem.org/mediawiki/2014hs/b/b3/Bg2.png');
+
    height:100%;
-
text-align: center;
+
    width:50px;
-
padding: 3.5em 0 3.5em 0;
+
    top:0;
-
text-shadow: 1px 2px 0px #fff;
+
    left:0;
 +
    cursor:pointer;
}
}
-
.highlight-box h2
+
.pika-imgnav a.next {
-
{
+
    background:url(https://static.igem.org/mediawiki/2014hs/a/a1/Next1.png) no-repeat right 45%;
-
font-size: 3.2em;
+
    height:100%;
-
letter-spacing: -3px;
+
    width:50px;
-
margin: 0 0 0.6em 0;
+
    top:0;
-
}
+
    right:0;
-
+
    cursor:pointer;
-
.highlight-box span
+
-
{
+
-
font-size: 2em;
+
-
color: #a1a1a1;
+
-
}
+
-
 
+
-
.thumbnails
+
-
{
+
}
}
-
.thumbnails .divider
 
-
{
 
-
border-bottom: 0;
 
-
border-top: solid 1px #e5e5e5;
 
-
margin: 1em 0 1em 0;
 
-
}
 
-
.thumbnails .thumbnail
 
-
{
 
-
overflow: hidden;
 
-
}
 
-
.thumbnails .thumbnail img
+
.pika-imgnav a.play {
-
{
+
    background:url(https://static.igem.org/mediawiki/2014hs/3/3c/Play1.png) no-repeat 0 50%;
-
border: solid 5px #fff;
+
    height:100px;
-
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
+
    width:44px;
-
float: left;
+
    top:0;
-
margin-right: 25px;
+
    left:50%;
-
}
+
    display:none;
-
+
    cursor:pointer;
-
.thumbnails .thumbnail blockquote
+
}
-
{
+
-
margin: 0 0 0.75em 0;
+
-
margin-left: 130px;
+
-
}
+
-
.thumbnails .thumbnail cite
+
.pika-imgnav a.pause {
-
{
+
    background:url(https://static.igem.org/mediawiki/2014hs/4/47/Pause.png) no-repeat 0 50%;
-
color: #888;
+
    height:100px;
-
margin-left: 130px;
+
    width:44px;
-
display: block;
+
    top:0;
-
}
+
    left:50%;
 +
    display:none;
 +
    cursor:pointer;
 +
}
-
.thumbnails .thumbnail cite strong
+
.pika-textnav {
-
{
+
    overflow:hidden;
-
padding-right: 0.25em;
+
    bottom:2px;
-
}
+
    position:absolute;
-
+
    width:100%;
-
.link-list
+
    margin:10px 0 0;
-
{
+
}
}
-
.link-list li
+
.pika-textnav a {
-
{
+
    font-size:12px;
-
border-top: solid 1px #d0d0d0;
+
    text-decoration:none;
-
line-height: 2.5em;
+
    color:#333;
-
}
+
    padding:4px;
-
+
}
-
.link-list li:first-child
+
-
{
+
-
border-top: none;
+
-
}
+
-
/*
+
.pika-textnav a.previous {
-
Arcana 2.1 by HTML5 UP
+
    float:left;
-
html5up.net | @n33co
+
    width:auto;
-
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+
    display:block;
-
*/
+
}
-
/*********************************************************************************/
+
.pika-textnav a.next {
-
/* Desktop (>= 480px)                                                            */
+
    float:right;
-
/*********************************************************************************/
+
    width:auto;
 +
    display:block;
 +
    margin-right:20px;
 +
}
-
/* Wrappers */
+
.pika-tooltip {
-
 
+
    font-size:12px;
-
#main-wrapper
+
    position:absolute;
-
{
+
    color:#FFF;
-
background: #fff;
+
    background-color:rgba(0,0,0,0.7);
-
padding: 2em 0 4em 0;
+
    border:3px solid #000;
-
}
+
    padding:3px;
 +
}
-
#header-wrapper
+
.pika-counter {
-
{
+
    position:absolute;
-
box-shadow: inset 0px 10px 80px 0px rgba(0,0,0,0.2);
+
    bottom:45px;
-
height: 102px;
+
    left:15px;
-
position: relative;
+
    color:#FFF;
-
padding: 2.25em 0 2.25em 0;
+
    background:rgba(0,0,0,0.7);
-
}
+
    font-size:11px;
-
 
+
    -moz-border-radius:5px;
-
#footer-wrapper
+
    border-radius:5px;
-
{
+
    padding:3px;
-
padding: 3.5em 0 5em 0;
+
}
-
box-shadow: inset 0px 10px 60px 0px rgba(0,0,0,0.15);
+
-
}
+
-
 
+
-
/* Site Header */
+
-
#site-header
+
.pika-loader {
-
{
+
-
position: relative;
+
-
background: url('https://static.igem.org/mediawiki/2014hs/a/a6/Header.png');
+
-
background-size: 100% 190px;
+
-
height: 190px;
+
-
text-shadow: -1px -1px 1px rgba(0,0,0,1);
+
-
}
+
-
/* Logo */
+
    background:url(loading.gif) 3px 3px no-repeat #000;
-
#logo
+
    background-color:rgba(0,0,0,0.9);
-
{
+
-
position: absolute;
+
-
left: 40px;
+
-
top: 0;
+
-
height: 85px;
+
-
line-height: 85px;
+
-
}
+
-
#logo h1
+
    color:#FFF;
-
{
+
-
font-size: 2.25em;
+
-
letter-spacing: -1px;
+
-
color: #fff;
+
-
}
+
-
+
-
#logo span
+
-
{
+
-
display: inline-block;
+
-
border-left: solid 2px #d0d0d0;
+
-
margin-left: 1em;
+
-
padding-left: 1em;
+
-
}
+
-
#logo a
+
    width:60px;
-
{
+
-
color: white;
+
-
text-decoration: none;
+
-
}
+
-
/* Site Nav */
+
    font-size:11px;
-
#nav
+
    text-align:right;
-
{
+
-
position: absolute;
+
-
top: 0;
+
-
right: 50px;
+
-
font-family: 'Open Sans Condensed', sans-serif;
+
-
text-align: right;
+
-
}
+
-
#nav ul
+
    position:absolute;
-
{
+
-
list-style: none;
+
-
overflow: hidden;
+
-
}
+
-
#nav ul li
+
    top:15px;
-
{
+
-
display: block;
+
-
float: left;
+
-
text-decoration: none;
+
-
font-size: 1.2em;
+
-
height: 90px;
+
-
line-height: 90px;
+
-
margin: 0 0 0 1.75em;
+
-
}
+
-
#nav ul li a
+
    right:15px;
-
{
+
-
color: #c0c0c0;
+
-
text-decoration: none;
+
-
outline: 0;
+
-
}
+
-
#nav ul li a:hover
+
    padding:5px 3px;
-
{
+
-
color: #eee;
+
-
}
+
-
#nav ul li.current_page_item
 
-
{
 
-
background: url('https://static.igem.org/mediawiki/2014hs/a/ae/Nav-arrow.png') center 77px no-repeat;
 
-
}
 
-
 
-
#nav ul li.current_page_item a
 
-
{
 
-
color: #fff;
 
-
}
 
-
 
-
/* Banner */
 
-
 
-
#banner
 
-
{
 
-
margin: 0 0 3em 0;
 
-
}
 
-
 
-
#banner a
 
-
{
 
-
}
 
-
 
-
#banner a img
 
-
{
 
-
width: 100%;
 
-
display: block;
 
-
}
 
-
 
-
#banner .caption
 
-
{
 
-
background: #1e1e1e url('https://static.igem.org/mediawiki/2014hs/e/ee/Bg3.png') top left repeat-x;
 
-
font-size: 2em;
 
-
color: #aaa;
 
-
text-align: center;
 
-
text-shadow: -1px -1px 1px rgba(0,0,0,1);
 
-
padding: 0.6em 0 0.6em 0;
 
-
}
 
-
 
-
#banner .caption span
 
-
{
 
-
}
 
-
 
-
#banner .caption span strong
 
-
{
 
-
color: #ffffff;
 
-
}
 
-
 
-
#banner .caption .button
 
-
{
 
-
border: solid 1px #001916;
 
-
margin-left: 0.8em;
 
-
}
 
-
 
-
/* Site Footer */
 
-
 
-
#site-footer
 
-
{
 
-
text-shadow: 1px 2px 0px #fff;
 
-
}
 
-
 
-
#site-footer a
 
-
{
 
-
text-decoration: none;
 
-
color: #525252;
 
-
}
 
-
 
-
#site-footer a:hover
 
-
{
 
-
text-decoration: underline;
 
-
}
 
-
 
-
 
-
#site-footer ul li
 
-
{
 
-
line-height: 2.5em;
 
-
}
 
-
 
-
#site-footer .divider
 
-
{
 
-
border-top: solid 1px #d0d0d0;
 
-
border-bottom: solid 1px #d0d0d0;
 
-
height: 4px;
 
-
margin: 1em 0 1em 0;
 
-
}
 
-
 
-
/* Copyright */
 
-
 
-
#copyright
 
-
{
 
-
text-align: center;
 
-
color: #868686;
 
-
}
 
-
 
-
#copyright a
 
-
{
 
-
color: #868686;
 
-
}
 
-
 
-
/* Subpage */
 
-
 
-
.subpage
 
-
{
 
-
padding-top: 2em !important;
 
-
}
 
-
 
-
.subpage article
 
-
{
 
-
padding: 0 1em 0 1em;
 
-
}
 
-
 
-
.subpage article.first
 
-
{
 
-
padding: 0 1em 0 0;
 
-
}
 
-
 
-
.subpage article.last
 
-
{
 
-
padding: 0 0 0 1em;
 
-
}
 
-
 
-
.subpage h2
 
-
{
 
-
font-size: 2.2em;
 
-
}
 
-
 
-
.subpage h3
 
-
{
 
-
font-size: 1.2em;
 
-
}
 
-
 
-
.subpage p
 
-
{
 
-
margin: 0 0 1.5em 0;
 
-
}
 
-
 
-
.subpage section, .subpage article
 
-
{
 
-
margin: 0 0 2em 0;
 
-
}
 
-
 
-
 
-
/* CUSTOM STYLES */
 
-
 
-
#globalWrapper {
 
-
font-size: auto !important;
 
}
}
-
#content {
 
-
width: 100%;
 
-
padding: 0;
 
-
}
 
-
.container {
 
-
width: 70%;
 
-
max-width: 1100px;
 
-
margin: 0 auto;
 
-
}
 
-
p {
+
.slider img {
-
line-height: 1.5;
+
-
}
+
-
h1 {
+
    width:auto;
-
font-size: 3em;
+
-
}}
+
-
h1 span {
 
-
font-size: 1em;
 
}
}
-
.editsection {
 
-
font-size: 0.5em;
 
-
vertical-align: bottom;
 
-
line-height: 2.5;
 
-
}
 
-
table td {
 
-
padding: 5px;
 
-
width: 1000px;
 
-
}
 
-
/**
+
.slider .clip img {
-
* BxSlider v4.1.2 - Fully loaded, responsive content slider
+
-
* http://bxslider.com
+
-
*
+
-
* Written by: Steven Wanderski, 2014
+
-
* http://stevenwanderski.com
+
-
* (while drinking Belgian ales and listening to jazz)
+
-
*
+
-
* CEO and founder of bxCreative, LTD
+
-
* http://bxcreative.com
+
-
*/
+
 +
    position:relative;
-
/** RESET AND LAYOUT
+
    bottom:40%;
-
===================================*/
+
-
.bx-wrapper {
 
-
position: relative;
 
-
margin: 0 auto 60px;
 
-
padding: 0;
 
-
*zoom: 1;
 
}
}
-
.bx-wrapper img {
 
-
max-width: 100%;
 
-
display: block;
 
-
}
 
-
/** THEME
 
-
===================================*/
 
-
.bx-wrapper .bx-viewport {
+
.slider .jcarousel-container-horizontal { padding: 15px 20px; overflow:hidden;}
-
-moz-box-shadow: 0 0 5px #ccc;
+
.slider.jcarousel-clip-horizontal {height: 90px; width: 485px;}
-
-webkit-box-shadow: 0 0 5px #ccc;
+
.slider .jcarousel-item-horizontal { margin-right: 10px;}
-
box-shadow: 0 0 5px #ccc;
+
-
border: 5px solid #fff;
+
-
left: -5px;
+
-
background: #fff;
+
-
/*fix other elements on the page moving (on Chrome)*/
 
-
-webkit-transform: translatez(0);
 
-
-moz-transform: translatez(0);
 
-
    -ms-transform: translatez(0);
 
-
    -o-transform: translatez(0);
 
-
    transform: translatez(0);
 
-
}
 
-
.bx-wrapper .bx-pager,
+
/***************************************/
-
.bx-wrapper .bx-controls-auto {
+
/* FOOTER                              */
-
position: absolute;
+
/***************************************/
-
bottom: -30px;
+
-
width: 100%;
+
-
}
+
-
/* LOADER */
+
#footer {
-
 
+
    border-top: 1px solid rgb(175, 175, 175);
-
.bx-wrapper .bx-loading {
+
    margin-top: 2em;
-
min-height: 50px;
+
    padding: 1em;
-
background: url("https://static.igem.org/mediawiki/2014hs/2/29/Bx_loader.gif") center center no-repeat #fff;
+
-
height: 100%;
+
-
width: 100%;
+
-
position: absolute;
+
-
top: 0;
+
-
left: 0;
+
-
z-index: 2000;
+
}
}
-
/* PAGER */
+
#footer li {
-
 
+
    display: inline-block;
-
.bx-wrapper .bx-pager {
+
    margin: 0;
-
text-align: center;
+
-
font-size: .85em;
+
-
font-family: Arial;
+
-
font-weight: bold;
+
-
color: #666;
+
-
padding-top: 20px;
+
}
}
-
.bx-wrapper .bx-pager .bx-pager-item,
+
#footer-links {
-
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
+
    text-align: center;
-
display: inline-block;
+
-
*zoom: 1;
+
-
*display: inline;
+
}
}
-
.bx-wrapper .bx-pager.bx-default-pager a {
+
#footer-text {
-
background: #666;
+
    color: #777;
-
text-indent: -9999px;
+
    font-size: 0.8em;
-
display: block;
+
    margin: 0.75em 0;
-
width: 10px;
+
    text-align: center;
-
height: 10px;
+
-
margin: 0 5px;
+
-
outline: 0;
+
-
-moz-border-radius: 5px;
+
-
-webkit-border-radius: 5px;
+
-
border-radius: 5px;
+
}
}
-
.bx-wrapper .bx-pager.bx-default-pager a:hover,
+
#footer-links-2 ul {
-
.bx-wrapper .bx-pager.bx-default-pager a.active {
+
    margin: 0.75em 0 0.25em;
-
background: #000;
+
    padding: 0;
}
}
-
/* DIRECTION CONTROLS (NEXT / PREV) */
+
#footer-links-2 ul li {
-
 
+
    display: inline;
-
.bx-wrapper .bx-prev {
+
    list-style: none;
-
left: 10px;
+
    padding-right: 1em;
-
background: url("https://static.igem.org/mediawiki/2014hs/f/fc/Controls.png") no-repeat 0 -32px;
+
}
}
-
.bx-wrapper .bx-next {
+
#footer-links-2 ul li:last-child {
-
right: 25px;
+
    padding-right: 0;
-
background: url("https://static.igem.org/mediawiki/2014hs/f/fc/Controls.png") no-repeat -43px -32px;
+
}
}
-
.bx-wrapper .bx-prev:hover {
+
#footer-links-2 ul li a {
-
background-position: 0 0;
+
    font-size: 0.9em;
 +
    color: #777;
 +
    text-decoration: none;
}
}
-
.bx-wrapper .bx-next:hover {
+
/***************************************/
-
background-position: -43px 0;
+
/* TOC                                */
-
}
+
/***************************************/
-
.bx-wrapper .bx-controls-direction a {
+
#jqtoc {
-
position: absolute;
+
    background: #3A3A3A;
-
top: 50%;
+
    color: #fff;
-
margin-top: -16px;
+
    font-size: 12px;
-
outline: 0;
+
    font-family: 'Open Sans', sans-serif;
-
width: 32px;
+
    position: absolute;
-
height: 32px;
+
    top: 0;
-
text-indent: -9999px;
+
    bottom: 0;
-
z-index: 9999;
+
    width: 150px;
 +
    right: 0;
}
}
-
.bx-wrapper .bx-controls-direction a.disabled {
+
#jqtoc ul {
-
display: none;
+
    box-sizing: border-box;
 +
    list-style: none;
 +
    margin: 0;
 +
    padding: 1em 0 0;
 +
    width: 150px;
}
}
-
/* AUTO CONTROLS (START / STOP) */
+
#jqtoc li {
-
 
+
    box-sizing: border-box;
-
.bx-wrapper .bx-controls-auto {
+
    letter-spacing: initial;
-
text-align: center;
+
    padding: 5px 10px;
 +
    width: 100%;
}
}
-
.bx-wrapper .bx-controls-auto .bx-start {
+
#jqtoc a {
-
display: block;
+
    color: #fff;
-
text-indent: -9999px;
+
    text-decoration: none;
-
width: 10px;
+
    display: block;
-
height: 11px;
+
-
outline: 0;
+
-
background: url("https://static.igem.org/mediawiki/2014hs/f/fc/Controls.png") -86px -11px no-repeat;
+
-
margin: 0 3px;
+
}
}
-
.bx-wrapper .bx-controls-auto .bx-start:hover,
+
#jqtoc .toc-h1 {
-
.bx-wrapper .bx-controls-auto .bx-start.active {
+
    background-color: rgb(70, 70, 70);
-
background-position: -86px 0;
+
}
}
-
.bx-wrapper .bx-controls-auto .bx-stop {
+
#jqtoc .toc-h2 {
-
display: block;
+
    padding-left: 10px;
-
text-indent: -9999px;
+
-
width: 9px;
+
-
height: 11px;
+
-
outline: 0;
+
-
background: url("https://static.igem.org/mediawiki/2014hs/f/fc/Controls.png") -86px -44px no-repeat;
+
-
margin: 0 3px;
+
}
}
-
.bx-wrapper .bx-controls-auto .bx-stop:hover,
+
#jqtoc .toc-h3 {
-
.bx-wrapper .bx-controls-auto .bx-stop.active {
+
    padding-left: 20px;
-
background-position: -86px -33px;
+
}
}
-
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
+
#jqtoc .toc-active {
-
 
+
    background: rgb(0, 75, 15);
-
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
+
-
text-align: left;
+
-
width: 80%;
+
}
}
-
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
+
.with-toc #inner-content {
-
right: 0;
+
    padding-right: 215px;
-
width: 35px;
+
}
}
-
/* IMAGE CAPTIONS */
+
.sticky {  
-
 
+
    float: none;  
-
.bx-wrapper .bx-caption {
+
    position: fixed;  
-
position: absolute;
+
    z-index: 6;  
-
bottom: 0;
+
    left: auto;  
-
left: 0;
+
-
background: #666\9;
+
-
background: rgba(80, 80, 80, 0.75);
+
-
width: 100%;
+
}
}
-
.bx-wrapper .bx-caption span {
+
#scrolltop {
-
color: #fff;
+
    background-color: rgb(41, 99, 41);;
-
font-family: Arial;
+
    position: fixed;  
-
display: block;
+
    right: 5%;
-
font-size: .85em;
+
    color: white;
-
padding: 10px;
+
    bottom: 0px;
 +
    font-size: 2.25em;
 +
    width: 1em;
 +
    text-align: center;
 +
    border-radius: 5px 5px 0 0;
 +
    height: 1em;
 +
    line-height: 1.2;
 +
    padding: 0.1em 0.25em 0.25em 0.2em;
}
}

Latest revision as of 03:49, 21 June 2014

/* Edit this file: https://2014hs.igem.org/wiki/index.php?title=Template:Montgomery_Cougars_NJUSA/Common_CSS&action=edit */ /* https://2011.igem.org/Team:DTU-Denmark/How_to_customize_an_iGEM_wiki#Centralizing_the_layout_using_templates */


/***************************************/ /* WIKI RESET */ /***************************************/

body.mediawiki {

   margin-top: -1.5em;

}

  1. contentSub,
  2. search-controls,

.firstHeading,

  1. footer-box,
  2. catlinks,
  3. p-logo {
   display:none;

}

  1. top-section {
   border: none;
   height: 0px;

}

  1. content {
   border: none;

}

  1. menubar > ul > li:last-child {
   display: none;

}

  1. menubar {
   width: auto;

}

  1. menubar ul {
   margin-bottom: 0.5em;

} .firstHeading {

   display: none;

}


/* CUSTOM STYLES */

  1. content {
   width: 100%;
   padding: 0;

}

.container {

   width: 70%;
   max-width: 1100px;
   margin: 0 auto;

}

p {

   line-height: 1.7;

}

/***************************************/ /* RANDOM */ /***************************************/

body {

   min-width: 1200px;
   background-color: white;
   border-bottom: solid #333 1px;

}

/* fontawesome */ [class*="fontawesome-"]:before {

 font-family: 'FontAwesome', sans-serif;

}

/* http://css-tricks.com/snippets/css/clear-fix/ */ .clearfix:after {

visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;

} .clearfix { display: inline-block; } /* start commented backslash hack \*/

  • html .clearfix { height: 1%; }

.clearfix { display: block; } /* close commented backslash hack */

.centered {

   display: table;
   margin-left: auto;
   margin-right: auto;

}

th {

   background-color: #e0e0e0;

}

table .green {

   background-color: rgb(41, 99, 41);
   color: white;
   font-weight: 400;

}

table caption {

   font-size: 1.5em;

}

/***************************************/ /* FONT TWEAKS */ /***************************************/

body {

   font-size: 12px;

}

p {

   font-size: 16px;

}

  • , body, p, span, blockquote, article, section, aside, nav, th, td, .wikitable th, .wikitable td {
   font-family: 'Open Sans', sans-serif;

}

h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {

   font-family:  'Open Sans', sans-serif;
   font-weight: 400;
   padding-bottom: 0.25em;

}

h1, h1 a {

   border-bottom: none;
   font-size: 3.75em;

}

p {

   line-height: 1.5;

}

b, strong, th {

   font-weight: 700;

}

selection {
   color: white; 
   background: rgb(0, 102, 0);

}

-moz-selection {
   color: white; 
   background: rgb(0, 102, 0);

}

/***************************************/ /* HEADER */ /***************************************/

  1. header-wrapper {
   position: relative; /* create new stacking context to keep logo on top */
   z-index: 100;

}

  1. header {
   background-color: rgb(38, 38, 38);
   border-bottom: solid 0.75em rgb(0, 102, 0);
   height: 7.5em;

}

  1. logo {
   margin-left: 20px;

}

  1. logo span {
   display: none;

}

  1. logo img {
   /*max-width: 275px;*/
   position: absolute;
   width: 250px;

}

  1. nav {
   background: none;
   max-width: 1400px;
   margin: 0 auto;
   position: relative;

}

  1. nav ul {
   position: absolute;
   left: 320px;
   top: 4.25em;

}

  1. nav li a {
   color: #E6E6E6;
   font-family: 'Open Sans', sans-serif;
   font-size: 1.2em;
   font-weight: 300;


   -webkit-transition: background-color 0.15s ease-in;
   -moz-transition: background-color 0.15s ease-in;
   -o-transition: background-color 0.15s ease-in;
   -ms-transition: background-color 0.15s ease-in;
   transition: background-color 0.15s ease-in;

}

  1. nav > ul > li:hover > a {
background: rgb(50, 50, 50);

}

  1. nav li ul {
   background: rgb(50, 50, 50);
   opacity: 0;
   position: absolute;
       top: 2.6em;
       left: 0;
   width: auto;
   z-index: 99;
   -webkit-transition: opacity 0.15s ease-in;
   -moz-transition: opacity 0.15s ease-in;
   -o-transition: opacity 0.15s ease-in;
   -ms-transition: opacity 0.15s ease-in;
   transition: opacity 0.15s ease-in;

}

  1. nav li:hover ul {
   opacity: 1;
   visibility: visible;

}

  1. nav li ul li:hover a {
   background: rgb(75, 75, 75);

}

  1. nav .is-parent:after {
   content: '▼';
   color: #C0C0C0;
   margin-left: 0.5em;
   font-size: 0.75em;

}

  1. igem-logo {
   position: absolute;
   right: 0;

}

  1. igem-logo span {
   display: none;

}

  1. igem-logo img {
   width: 200px;
   margin-top: 1em;

}

/***************************************/ /* GALLERY */ /***************************************/

.generic-image {

   position: relative;

}

.gallery {

   position: relative;

}

  1. slider {
   margin-right: 0;
   margin-bottom: 0;
   position: relative; 
   overflow: auto; 
   width: 100%;

}

  1. slider ul {
   margin-top: 0;
   padding-left: 0;

}

  1. slider li {
   list-style: none; 
   position: relative;

}

  1. slider ul li {
   float: left;

}

  1. slider ul li a {
   display: block;

}

.slider img {

   display: table;
   margin: 0 auto;
   width: 100%;

}

  1. slider .caption {
   background-color: rgba(0,10,5,.8);
   padding: 1.5em 1em;
   text-align: center;
   color: white;
   position: absolute;
   bottom: 0;
   width: 100%;

}

.slider .caption {

   display: table;
   margin: 0;
   width: auto;

}

  1. slider .caption h2 {
   color: white;
   border-bottom: none;
   font-size: 3em;
   font-weight: 300;
   margin: 0.25em 0 0.75em;
   padding: 0;

}

  1. slider .caption h2:after {
   content: '►';
   font-size: 0.5em;
   margin-left: 0.25em;
   color: rgb(9, 124, 9);
   position: relative;
   top: -0.2em;

}

  1. slider .caption span{
   color: white;
   font-size: 1.25em;
   font-weight: 300;
   margin: 0;

}

/***************************************/ /* LEFT LINKS */ /***************************************/

  1. left-links-wrapper {
   font-size: 12px;
   box-sizing: border-box;
   -moz-box-sizing: border-box;
   padding-right: 15px;

}

  1. left-links {

}

  1. left-links h1,
  2. left-links ul li a,
  3. left-links ul li .selflink {
   color: rgb(245, 245, 245);
   font-family: 'Open Sans', sans-serif;
   text-decoration: none;

}

  1. left-links h1 {
   background-color: rgb(0,102,0);
   font-size: 2.25em;
   font-weight: 300;
   line-height: 1.15;
   padding: 10px;
   margin: 0 0 -1px;
   float:  left;
   min-width: 80%;

}

  1. left-links ul {
  float: left;
  margin: 0;
  padding: 0;
  width: 100%;

}

  1. left-links ul li {
   display: block;
   font-size: 1.5em;
   font-weight: 300;
   margin-bottom: 0;
   width: 100%;

}

  1. left-links ul li a,
  2. left-links ul li .selflink {
   display: block;
   clear: left;
   float: left;
   padding: 10px 15px;
   -webkit-transition: background 200ms ease;
   -moz-transition: background 200ms ease;
   -ms-transition: background 200ms ease;
   -o-transition: background 200ms ease;
   transition: background 200ms ease;
   width: 65%;

}

  1. left-links ul li a:hover {
   background-color: rgb(50,50,50);

}

  1. left #left-links-title {
   background-color: rgba(0, 102, 0, 1);
   color: rgb(240, 240, 240);

}

  1. left-links .selflink {
   background-color: rgb(46, 46, 46);
   font-weight: 300;

}

  1. left-links ul > :nth-child(1) > a {
   background-color: rgba(0, 102, 0, 0.95);

}

  1. left-links ul > :nth-child(2) > a {
   background-color: rgba(0, 102, 0, 0.91);

}

  1. left-links ul > :nth-child(3) > a {
   background-color: rgba(0, 102, 0, .87);

}

  1. left-links ul > :nth-child(4) > a {
   background-color: rgba(0, 102, 0, 0.83);

}

  1. left-links ul > :nth-child(5) > a {
   background-color: rgba(0, 102, 0, 0.79);

}

  1. left-links ul > :nth-child(6) > a {
   background-color: rgba(0, 102, 0, 0.75);

}

  1. left-links ul > :nth-child(7) > a {
   background-color: rgba(0, 102, 0, 0.71);

}

  1. left-links ul > :nth-child(8) > a {
   background-color: rgba(0, 102, 0, 0.67);

}


/***************************************/ /* CONTENT */ /***************************************/

  1. main {
   position: relative;

}

  1. main-wrapper {
   max-width: 1400px;
   margin: 0 auto;
   position: relative;

}

  1. inner-content {
   box-sizing: border-box;
   -moz-box-sizing: border-box;
   padding-right: 2em;

}

  1. inner-content h1 {
   margin: 0.1em 0 0.5em;

}

  1. inner-content p {
   margin: 1.5em 0 .5em;

}

.editsection, .editsection a {

   font-size: 16px;

}

.toc {

   float: right;
   margin: 3em 0 2em 2em;

}

.thumb {

   margin: 1em 0;

}

/***************************************/ /* PIKACHOOSE */ /***************************************/

.slider {

   margin-left: 10%;
   width: 75%;

}

.pika-thumbs {

   height:75px;
   padding:0 16px;

}

.pika-thumbs li {

   width:144px;
   height:74px;
   overflow:hidden;
   float:left;
   list-style-type:none;
   background:#fafafa;
   border:1px solid #e5e5e5;
   cursor:pointer;
   margin:0 5px;
   padding:3px;

}

.pika-thumbs li .clip {

   position:relative;
   height:100%;
   text-align:center;
   vertical-align:middle;
   overflow:hidden;

}

.pika-stage {

   position:relative;
   background:#fafafa;
   border:1px solid #e5e5e5;
   text-align:center;
   margin:0 auto;
   padding:10px 10px 40px;

}

.pika-stage img {

   height:100%;

}

.pika-stage .caption {

   position:absolute;
   background:rgba(0,0,0,0.75);
   border:1px solid #141414;
   color:#fafafa;
   text-align:right;
   bottom:50px;
   right:10px;
   padding:10px;

} .pika-stage .caption p {

   line-height:14px;
   margin:0;
   padding:0;

}

.pika-imgnav a {

   position:absolute;
   text-indent:-5000px;
   display:block;
   z-index:3;

}

.pika-imgnav a.previous {

   background:url(Prev1.png) no-repeat left 45%;
   height:100%;
   width:50px;
   top:0;
   left:0;
   cursor:pointer;

}

.pika-imgnav a.next {

   background:url(Next1.png) no-repeat right 45%;
   height:100%;
   width:50px;
   top:0;
   right:0;
   cursor:pointer;

}


.pika-imgnav a.play {

   background:url(Play1.png) no-repeat 0 50%;
   height:100px;
   width:44px;
   top:0;
   left:50%;
   display:none;
   cursor:pointer;

}

.pika-imgnav a.pause {

   background:url(Pause.png) no-repeat 0 50%;
   height:100px;
   width:44px;
   top:0;
   left:50%;
   display:none;
   cursor:pointer;

}

.pika-textnav {

   overflow:hidden;
   bottom:2px;
   position:absolute;
   width:100%;
   margin:10px 0 0;

}

.pika-textnav a {

   font-size:12px;
   text-decoration:none;
   color:#333;
   padding:4px;

}

.pika-textnav a.previous {

   float:left;
   width:auto;
   display:block;

}

.pika-textnav a.next {

   float:right;
   width:auto;
   display:block;
   margin-right:20px;

}

.pika-tooltip {

   font-size:12px;
   position:absolute;
   color:#FFF;
   background-color:rgba(0,0,0,0.7);
   border:3px solid #000;
   padding:3px;

}

.pika-counter {

   position:absolute;
   bottom:45px;
   left:15px;
   color:#FFF;
   background:rgba(0,0,0,0.7);
   font-size:11px;
   -moz-border-radius:5px;
   border-radius:5px;
   padding:3px;

}

.pika-loader {

   background:url(loading.gif) 3px 3px no-repeat #000;
   background-color:rgba(0,0,0,0.9);
   color:#FFF;
   width:60px;
   font-size:11px;
   text-align:right;
   position:absolute;
   top:15px;
   right:15px;
   padding:5px 3px;

}


.slider img {

   width:auto;

}


.slider .clip img {

   position:relative;
   bottom:40%;

}


.slider .jcarousel-container-horizontal { padding: 15px 20px; overflow:hidden;} .slider.jcarousel-clip-horizontal {height: 90px; width: 485px;} .slider .jcarousel-item-horizontal { margin-right: 10px;}


/***************************************/ /* FOOTER */ /***************************************/

  1. footer {
   border-top: 1px solid rgb(175, 175, 175);
   margin-top: 2em;
   padding: 1em;

}

  1. footer li {
   display: inline-block;
   margin: 0;

}

  1. footer-links {
   text-align: center;

}

  1. footer-text {
   color: #777;
   font-size: 0.8em;
   margin: 0.75em 0;
   text-align: center;

}

  1. footer-links-2 ul {
   margin: 0.75em 0 0.25em;
   padding: 0;

}

  1. footer-links-2 ul li {
   display: inline;
   list-style: none;
   padding-right: 1em;

}

  1. footer-links-2 ul li:last-child {
   padding-right: 0;

}

  1. footer-links-2 ul li a {
   font-size: 0.9em;
   color: #777;
   text-decoration: none;

}

/***************************************/ /* TOC */ /***************************************/

  1. jqtoc {
   background: #3A3A3A;
   color: #fff;
   font-size: 12px;
   font-family: 'Open Sans', sans-serif;
   position: absolute;
   top: 0;
   bottom: 0;  
   width: 150px;
   right: 0;

}

  1. jqtoc ul {
   box-sizing: border-box;
   list-style: none;
   margin: 0;
   padding: 1em 0 0;
   width: 150px;

}

  1. jqtoc li {
   box-sizing: border-box;
   letter-spacing: initial;
   padding: 5px 10px;
   width: 100%;

}

  1. jqtoc a {
   color: #fff;
   text-decoration: none;
   display: block;

}

  1. jqtoc .toc-h1 {
   background-color: rgb(70, 70, 70);

}

  1. jqtoc .toc-h2 {
   padding-left: 10px;

}

  1. jqtoc .toc-h3 {
   padding-left: 20px;

}

  1. jqtoc .toc-active {
   background: rgb(0, 75, 15);

}

.with-toc #inner-content {

   padding-right: 215px;

}

.sticky {

   float: none; 
   position: fixed; 
   z-index: 6; 
   left: auto; 

}

  1. scrolltop {
   background-color: rgb(41, 99, 41);;
   position: fixed; 
   right: 5%;
   color: white;
   bottom: 0px;
   font-size: 2.25em;
   width: 1em;
   text-align: center;
   border-radius: 5px 5px 0 0;
   height: 1em;
   line-height: 1.2;
   padding: 0.1em 0.25em 0.25em 0.2em;

}