Template:Montgomery Cougars NJUSA/Common CSS

From 2014hs.igem.org

(Difference between revisions)
m (Restyle .editsection)
 
(116 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;
}
}
-
/* Skel */
 
-
/* Resets (http://meyerweb.com/eric/tools/css/reset/ | v2.0 | 20110126 | License: none (public domain)) */
 
-
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}
+
/* CUSTOM STYLES */
-
/* Box Model */
+
#content {
 +
    width: 100%;
 +
    padding: 0;
 +
}
-
*, *:before, *:after {
+
.container {
-
-moz-box-sizing: border-box;
+
    width: 70%;
-
-webkit-box-sizing: border-box;
+
    max-width: 1100px;
-
-o-box-sizing: border-box;
+
    margin: 0 auto;
-
-ms-box-sizing: border-box;
+
}
-
box-sizing: border-box;
+
-
}
+
-
/* Container */
+
p {
 +
    line-height: 1.7;
 +
}
-
body {
+
/***************************************/
-
min-width: 1200px;
+
/* RANDOM                              */
-
}
+
/***************************************/
-
.container {
+
body {
-
width: 1200px;
+
    min-width: 1200px;
-
margin-left: auto;
+
    background-color: white;
-
margin-right: auto;
+
    border-bottom: solid #333 1px;
-
}
+
}
-
/* Modifiers */
+
/* fontawesome */
-
+
[class*="fontawesome-"]:before {
-
.container.small {
+
  font-family: 'FontAwesome', sans-serif;
-
width: 900px;
+
}
-
}
+
-
.container.big {
+
/* http://css-tricks.com/snippets/css/clear-fix/ */
-
width: 100%;
+
.clearfix:after {
-
max-width: 1500px;
+
visibility: hidden;
-
min-width: 1200px;
+
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 */
-
/* Grid */
+
.centered {
 +
    display: table;
 +
    margin-left: auto;
 +
    margin-right: auto;
 +
}
-
/* Cells */
+
th {
 +
    background-color: #e0e0e0;
 +
}
-
.\31 2u { width: 100% }
+
table .green {
-
.\31 1u { width: 91.6666666667% }
+
    background-color: rgb(41, 99, 41);
-
.\31 0u { width: 83.3333333333% }
+
    color: white;
-
.\39 u { width: 75% }
+
    font-weight: 400;
-
.\38 u { width: 66.6666666667% }
+
}
-
.\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 > * {
+
table caption {
-
padding: 40px 0 0 40px;
+
    font-size: 1.5em;
-
float: left;
+
}
-
-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 > * {
+
/***************************************/
-
padding-top: 40px;
+
/* FONT TWEAKS                        */
-
}
+
/***************************************/
-
.row {
+
body {
-
margin-left: -40px;
+
    font-size: 12px;
-
}
+
}
-
/* Rows */
+
p {
 +
    font-size: 16px;
 +
}
-
.row:after {
+
*, body, p, span, blockquote, article, section, aside, nav, th, td, .wikitable th, .wikitable td {
-
content: '';
+
    font-family: 'Open Sans', sans-serif;
-
display: block;
+
}
-
clear: both;
+
-
height: 0;
+
-
}
+
-
.row:first-child > * {
+
h1, h2, h3, h4, h5, h6,
-
padding-top: 0;
+
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;
 +
}
-
.row > * {
+
h1, h1 a {
-
padding-top: 0;
+
    border-bottom: none;
-
}
+
    font-size: 3.75em;
 +
}
-
/* Modifiers */
+
p {
 +
    line-height: 1.5;
 +
}
-
/* Flush */
+
b, strong, th {
 +
    font-weight: 700;
 +
}
-
.row.flush {
+
::selection {
-
margin-left: 0;
+
    color: white;
-
}
+
    background: rgb(0, 102, 0);
 +
}
 +
::-moz-selection {
 +
    color: white;
 +
    background: rgb(0, 102, 0);
 +
}
-
.row.flush > * {
+
/***************************************/
-
padding: 0 !important;
+
/* HEADER                              */
-
}
+
/***************************************/
-
/* Quarter */
+
#header-wrapper {
 +
    position: relative; /* create new stacking context to keep logo on top */
 +
    z-index: 100;
 +
}
 +
#header {
 +
    background-color: rgb(38, 38, 38);
 +
    border-bottom: solid 0.75em rgb(0, 102, 0);
 +
    height: 7.5em;
 +
}
-
.row.quarter > * {
+
#logo {
-
padding: 10px 0 0 10px;
+
    margin-left: 20px;
-
}
+
}
-
.row.quarter + .row.quarter > * {
+
#logo span {
-
padding-top: 10px;
+
    display: none;
-
}
+
}
-
.row.quarter {
+
#logo img {
-
margin-left: -10px;
+
    /*max-width: 275px;*/
-
}
+
    position: absolute;
 +
    width: 250px;
 +
}
-
/* Half */
+
#nav {
 +
    background: none;
 +
    max-width: 1400px;
 +
    margin: 0 auto;
 +
    position: relative;
 +
}
-
.row.half > * {
+
#nav ul {
-
padding: 20px 0 0 20px;
+
    position: absolute;
-
}
+
    left: 320px;
 +
    top: 4.25em;
 +
}
-
.row.half + .row.half > * {
+
#nav li a {
-
padding-top: 20px;
+
    color: #E6E6E6;
-
}
+
    font-family: 'Open Sans', sans-serif;
 +
    font-size: 1.2em;
 +
    font-weight: 300;
-
.row.half {
 
-
margin-left: -20px;
 
-
}
 
-
/* One and (a) Half */
+
    -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;
 +
}
-
.row.oneandhalf > * {
+
#nav > ul > li:hover > a {
-
padding: 60px 0 0 60px;
+
background: rgb(50, 50, 50);
-
}
+
}
-
.row.oneandhalf + .row.oneandhalf > * {
+
#nav li ul {
-
padding-top: 60px;
+
    background: rgb(50, 50, 50);
-
}
+
    opacity: 0;
 +
    position: absolute;
 +
        top: 2.6em;
 +
        left: 0;
 +
    width: auto;
 +
    z-index: 99;
-
.row.oneandhalf {
+
    -webkit-transition: opacity 0.15s ease-in;
-
margin-left: -60px;
+
    -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;
 +
}
-
/* Double */
+
#nav li:hover ul {
 +
    opacity: 1;
 +
    visibility: visible;
 +
}
-
.row.double > * {
+
#nav li ul li:hover a {
-
padding: 80px 0 0 80px;
+
    background: rgb(75, 75, 75);
-
}
+
}
-
.row.double + .row.double > * {
+
#nav .is-parent:after {
-
padding-top: 80px;
+
    content: '▼';
-
}
+
    color: #C0C0C0;
 +
    margin-left: 0.5em;
 +
    font-size: 0.75em;
 +
}
-
.row.double {
+
#igem-logo {
-
margin-left: -80px;
+
    position: absolute;
-
}
+
    right: 0;
 +
}
-
/*
+
#igem-logo span {
-
Arcana 2.1 by HTML5 UP
+
    display: none;
-
html5up.net | @n33co
+
}
-
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+
#igem-logo  img {
-
*/
+
    width: 200px;
 +
    margin-top: 1em;
 +
}
-
/*********************************************************************************/
+
/***************************************/
-
/* Global                                                                        */
+
/* GALLERY                            */
-
/*********************************************************************************/
+
/***************************************/
-
/* Basic */
+
.generic-image {
 +
    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}
+
.gallery {
 +
    position: relative;
 +
}
-
body
+
#slider {
-
{
+
    margin-right: 0;
-
background: #f0f0f0 url('https://static.igem.org/mediawiki/2014hs/c/c2/Bg1.png');
+
    margin-bottom: 0;
-
font-family: 'Open Sans Condensed', sans-serif;
+
    position: relative;  
-
font-size: 14px;
+
    overflow: auto;  
-
line-height: 1.75em;
+
    width: 100%;
-
color: #4c4c4c;
+
}
}
-
h1,h2,h3,h4,#bodyContent h1,#bodyContent h2,#bodyContent h3, #bodyContent h4
+
#slider ul {
-
{
+
    margin-top: 0;
-
font-family: 'Open Sans Condensed', sans-serif;
+
    padding-left: 0;
-
color: #1d1d1d;
+
}
}
-
h2, h3
+
#slider li  {
-
{
+
    list-style: none;  
-
font-size: 1.6em;
+
    position: relative;
-
letter-spacing: -1px;
+
-
margin: 0 0 0.75em 0;
+
}
}
-
strong
+
#slider ul li {
 +
    float: left;
 +
}
-
{ color: #1d1d1d;
+
#slider ul li a {
 +
    display: block;
}
}
-
a
+
.slider img {
-
{
+
    display: table;
-
color: #478903;
+
    margin: 0 auto;
-
text-decoration: underline;
+
    width: 100%;
}
}
-
a:hover
+
#slider .caption {
-
{
+
    background-color: rgba(0,10,5,.8);
-
text-decoration: none;
+
    padding: 1.5em 1em;
 +
    text-align: center;
 +
    color: white;
 +
    position: absolute;
 +
    bottom: 0;
 +
    width: 100%;
}
}
-
/* Reusable */
+
.slider .caption {
 +
    display: table;
 +
    margin: 0;
 +
    width: auto;
 +
}
-
.button
+
#slider .caption h2 {
-
{
+
    color: white;
-
display: inline-block;
+
    border-bottom: none;
-
background: #0893cf;
+
    font-size: 3em;
-
box-shadow: inset 0px 0px 0px 1px #48d3FF, 0px 2px 3px 0px rgba(0,0,0,0.25);
+
    font-weight: 300;
-
border: solid 1px #0893cf;
+
    margin: 0.25em 0 0.75em;
-
border-radius: 6px;
+
    padding: 0;
-
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
+
#slider .caption h2:after {
-
{
+
    content: '►';
-
background: #28a3df;
+
    font-size: 0.5em;
-
background-image: -moz-linear-gradient(top, #58d3FF, #28a3df);
+
    margin-left: 0.25em;
-
background-image: -webkit-linear-gradient(top, #58d3FF, #28a3df);
+
    color: rgb(9, 124, 9);
-
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#58d3FF), to(#28a3df));
+
    position: relative;
-
background-image: -ms-linear-gradient(top, #58d3FF, #28a3df);
+
    top: -0.2em;
-
background-image: -o-linear-gradient(top, #58d3FF, #28a3df);
+
-
background-image: linear-gradient(top, #58d3FF, #28a3df);
+
}
}
-
.button:active
+
#slider .caption span{
-
{
+
    color: white;
-
background: #38C3FF;
+
    font-size: 1.25em;
-
background-image: -moz-linear-gradient(top, #0893cf, #38C3FF);
+
    font-weight: 300;
-
background-image: -webkit-linear-gradient(top, #0893cf, #38C3FF);
+
    margin: 0;
-
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0893cf), to(#38C3FF));
+
-
background-image: -ms-linear-gradient(top, #0893cf, #38C3FF);
+
-
background-image: -o-linear-gradient(top, #0893cf, #38C3FF);
+
-
background-image: linear-gradient(top, #0893cf, #38C3FF);
+
}
}
-
.divider
+
/***************************************/
-
{
+
/* LEFT LINKS                          */
-
border-top: solid 1px #e5e5e5;
+
/***************************************/
-
border-bottom: solid 1px #e5e5e5;
+
 
-
height: 4px;
+
#left-links-wrapper {
-
margin: 2em 0 2em 0;
+
    font-size: 12px;
 +
    box-sizing: border-box;
 +
    -moz-box-sizing: border-box;
 +
    padding-right: 15px;
}
}
-
.divider-top
+
#left-links {
-
{
+
-
margin-bottom: 0;
+
}
}
-
.divider-bottom
+
#left-links h1,
-
{
+
#left-links ul li a,
-
margin-top: 0;
+
#left-links ul li .selflink {
 +
    color: rgb(245, 245, 245);
 +
    font-family: 'Open Sans', sans-serif;
 +
    text-decoration: none;
}
}
-
.cta-box
+
#left-links h1 {
-
{
+
    background-color: rgb(0,102,0);
-
background: url('https://static.igem.org/mediawiki/2014hs/b/b3/Bg2.png');
+
    font-size: 2.25em;
-
text-align: center;
+
    font-weight: 300;
-
padding: 1.25em 0 1.25em 0;
+
    line-height: 1.15;
-
text-shadow: 1px 2px 0px #fff;
+
    padding: 10px;
-
font-size: 2em;
+
    margin: 0 0 -1px;
 +
    float: left;
 +
    min-width: 80%;
}
}
-
.cta-box .button
+
#left-links ul {
-
{
+
  float: left;
-
margin-left: 0.8em;
+
  margin: 0;
-
}
+
  padding: 0;
 +
  width: 100%;
 +
}
-
.highlight-box
+
#left-links ul li {
-
{
+
    display: block;
-
background: url('https://static.igem.org/mediawiki/2014hs/b/b3/Bg2.png');
+
    font-size: 1.5em;
-
text-align: center;
+
    font-weight: 300;
-
padding: 3.5em 0 3.5em 0;
+
    margin-bottom: 0;
-
text-shadow: 1px 2px 0px #fff;
+
    width: 100%;
}
}
-
.highlight-box h2
+
#left-links ul li a,
-
{
+
#left-links ul li .selflink {
-
font-size: 3.2em;
+
    display: block;
-
letter-spacing: -3px;
+
    clear: left;
-
margin: 0 0 0.6em 0;
+
    float: left;
-
}
+
    padding: 10px 15px;
-
+
-
.highlight-box span
+
-
{
+
-
font-size: 2em;
+
-
color: #a1a1a1;
+
-
}
+
-
.thumbnails
+
    -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%;
}
}
-
.thumbnails .divider
+
#left-links ul li a:hover {
-
{
+
    background-color: rgb(50,50,50);
-
border-bottom: 0;
+
}
-
border-top: solid 1px #e5e5e5;
+
-
margin: 1em 0 1em 0;
+
-
}
+
-
.thumbnails .thumbnail
+
#left #left-links-title {
-
{
+
    background-color: rgba(0, 102, 0, 1);
-
overflow: hidden;
+
    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);
 +
}
-
.thumbnails .thumbnail img
 
-
{
 
-
border: solid 5px #fff;
 
-
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
 
-
float: left;
 
-
margin-right: 25px;
 
-
}
 
-
 
-
.thumbnails .thumbnail blockquote
 
-
{
 
-
margin: 0 0 0.75em 0;
 
-
margin-left: 130px;
 
-
}
 
-
.thumbnails .thumbnail cite
+
/***************************************/
-
{
+
/* CONTENT                            */
-
color: #888;
+
/***************************************/
-
margin-left: 130px;
+
-
display: block;
+
-
}
+
-
.thumbnails .thumbnail cite strong
+
#main {
-
{
+
    position: relative;
-
padding-right: 0.25em;
+
-
}
+
-
+
-
.link-list
+
-
{
+
}
}
-
.link-list li
+
#main-wrapper {
-
{
+
    max-width: 1400px;
-
border-top: solid 1px #d0d0d0;
+
    margin: 0 auto;
-
line-height: 2.5em;
+
    position: relative;
-
}
+
}
-
+
-
.link-list li:first-child
+
-
{
+
-
border-top: none;
+
-
}
+
-
/*
+
#inner-content {
-
Arcana 2.1 by HTML5 UP
+
    box-sizing: border-box;
-
html5up.net | @n33co
+
    -moz-box-sizing: border-box;
-
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+
    padding-right: 2em;
-
*/
+
}
-
/*********************************************************************************/
+
#inner-content h1 {
-
/* Desktop (>= 480px)                                                            */
+
    margin: 0.1em 0 0.5em;
-
/*********************************************************************************/
+
}
-
/* Wrappers */
+
#inner-content p {
 +
    margin: 1.5em 0 .5em;
 +
}
-
#main-wrapper
+
.editsection, .editsection a {
-
{
+
    font-size: 16px;
-
background: #fff;
+
}
-
padding: 2em 0 4em 0;
+
-
}
+
-
#header-wrapper
+
.toc {
-
{
+
    float: right;
-
box-shadow: inset 0px 10px 80px 0px rgba(0,0,0,0.2);
+
    margin: 3em 0 2em 2em;
-
height: 102px;
+
}
-
position: relative;
+
-
padding: 2.25em 0 2.25em 0;
+
-
}
+
-
#footer-wrapper
+
.thumb {
-
{
+
    margin: 1em 0;
-
padding: 3.5em 0 5em 0;
+
}
-
box-shadow: inset 0px 10px 60px 0px rgba(0,0,0,0.15);
+
-
}
+
-
/* Site Header */
+
/***************************************/
 +
/* PIKACHOOSE                          */
 +
/***************************************/
-
#site-header
+
.slider {
-
{
+
    margin-left: 10%;
-
position: relative;
+
    width: 75%;
-
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 */
+
.pika-thumbs {
 +
    height:75px;
 +
    padding:0 16px;
 +
}
-
#logo
+
.pika-thumbs li {
-
{
+
    width:144px;
-
position: absolute;
+
    height:74px;
-
left: 40px;
+
    overflow:hidden;
-
top: 0;
+
    float:left;
-
height: 85px;
+
    list-style-type:none;
-
line-height: 85px;
+
    background:#fafafa;
-
}
+
    border:1px solid #e5e5e5;
 +
    cursor:pointer;
 +
    margin:0 5px;
 +
    padding:3px;
 +
}
-
#logo h1
+
.pika-thumbs li .clip {
-
{
+
    position:relative;
-
font-size: 2.25em;
+
    height:100%;
-
letter-spacing: -1px;
+
    text-align:center;
-
color: #fff;
+
    vertical-align:middle;
-
}
+
    overflow:hidden;
-
+
}
-
#logo span
+
-
{
+
-
display: inline-block;
+
-
border-left: solid 2px #d0d0d0;
+
-
margin-left: 1em;
+
-
padding-left: 1em;
+
-
}
+
-
/* Site Nav */
+
.pika-stage {
 +
    position:relative;
 +
    background:#fafafa;
 +
    border:1px solid #e5e5e5;
 +
    text-align:center;
 +
    margin:0 auto;
 +
    padding:10px 10px 40px;
 +
}
-
#nav
+
.pika-stage img {
-
{
+
    height:100%;
-
position: absolute;
+
}
-
top: 0;
+
-
right: 50px;
+
-
font-family: 'Open Sans Condensed', sans-serif;
+
-
text-align: right;
+
-
}
+
-
#nav ul
+
.pika-stage .caption {
-
{
+
    position:absolute;
-
list-style: none;
+
    background:rgba(0,0,0,0.75);
-
overflow: hidden;
+
    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;
 +
}
-
#nav ul li
+
.pika-imgnav a {
-
{
+
    position:absolute;
-
display: block;
+
    text-indent:-5000px;
-
float: left;
+
    display:block;
-
text-decoration: none;
+
    z-index:3;
-
font-size: 1.2em;
+
}
-
height: 90px;
+
-
line-height: 90px;
+
-
margin: 0 0 0 1.75em;
+
-
}
+
-
#nav ul li a
+
.pika-imgnav a.previous {
-
{
+
    background:url(https://static.igem.org/mediawiki/2014hs/3/39/Prev1.png) no-repeat left 45%;
-
color: #c0c0c0;
+
    height:100%;
-
text-decoration: none;
+
    width:50px;
-
outline: 0;
+
    top:0;
-
}
+
    left:0;
 +
    cursor:pointer;
 +
}
-
#nav ul li a:hover
+
.pika-imgnav a.next {
-
{
+
    background:url(https://static.igem.org/mediawiki/2014hs/a/a1/Next1.png) no-repeat right 45%;
-
color: #eee;
+
    height:100%;
-
}
+
    width:50px;
 +
    top:0;
 +
    right:0;
 +
    cursor:pointer;
 +
}
-
#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 */
+
.pika-imgnav a.play {
 +
    background:url(https://static.igem.org/mediawiki/2014hs/3/3c/Play1.png) no-repeat 0 50%;
 +
    height:100px;
 +
    width:44px;
 +
    top:0;
 +
    left:50%;
 +
    display:none;
 +
    cursor:pointer;
 +
}
-
#banner
+
.pika-imgnav a.pause {
-
{
+
    background:url(https://static.igem.org/mediawiki/2014hs/4/47/Pause.png) no-repeat 0 50%;
-
margin: 0 0 3em 0;
+
    height:100px;
-
}
+
    width:44px;
 +
    top:0;
 +
    left:50%;
 +
    display:none;
 +
    cursor:pointer;
 +
}
-
#banner a
+
.pika-textnav {
-
{
+
    overflow:hidden;
-
}
+
    bottom:2px;
 +
    position:absolute;
 +
    width:100%;
 +
    margin:10px 0 0;
 +
}
-
#banner a img
+
.pika-textnav a {
-
{
+
    font-size:12px;
-
width: 100%;
+
    text-decoration:none;
-
display: block;
+
    color:#333;
-
}
+
    padding:4px;
 +
}
-
#banner .caption
+
.pika-textnav a.previous {
-
{
+
    float:left;
-
background: #1e1e1e url('https://static.igem.org/mediawiki/2014hs/e/ee/Bg3.png') top left repeat-x;
+
    width:auto;
-
font-size: 2em;
+
    display:block;
-
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
+
.pika-textnav a.next {
-
{
+
    float:right;
-
}
+
    width:auto;
-
+
    display:block;
-
#banner .caption span strong
+
    margin-right:20px;
-
{
+
}
-
color: #ffffff;
+
-
}
+
-
+
-
#banner .caption .button
+
-
{
+
-
border: solid 1px #001916;
+
-
margin-left: 0.8em;
+
-
}
+
-
/* Site Footer */
+
.pika-tooltip {
-
+
    font-size:12px;
-
#site-footer
+
    position:absolute;
-
{
+
    color:#FFF;
-
text-shadow: 1px 2px 0px #fff;
+
    background-color:rgba(0,0,0,0.7);
-
}
+
    border:3px solid #000;
 +
    padding:3px;
 +
}
-
#site-footer a
+
.pika-counter {
-
{
+
    position:absolute;
-
text-decoration: none;
+
    bottom:45px;
-
color: #525252;
+
    left:15px;
-
}
+
    color:#FFF;
 +
    background:rgba(0,0,0,0.7);
 +
    font-size:11px;
 +
    -moz-border-radius:5px;
 +
    border-radius:5px;
 +
    padding:3px;
 +
}
-
#site-footer a:hover
+
.pika-loader {
-
{
+
-
text-decoration: underline;
+
-
}
+
 +
    background:url(loading.gif) 3px 3px no-repeat #000;
-
#site-footer ul li
+
    background-color:rgba(0,0,0,0.9);
-
{
+
-
line-height: 2.5em;
+
-
}
+
-
#site-footer .divider
+
    color:#FFF;
-
{
+
-
border-top: solid 1px #d0d0d0;
+
-
border-bottom: solid 1px #d0d0d0;
+
-
height: 4px;
+
-
margin: 1em 0 1em 0;
+
-
}
+
-
/* Copyright */
+
    width:60px;
-
+
-
#copyright
+
-
{
+
-
text-align: center;
+
-
color: #868686;
+
-
}
+
-
#copyright a
+
    font-size:11px;
-
{
+
-
color: #868686;
+
-
}
+
-
+
-
/* Subpage */
+
-
.subpage
+
    text-align:right;
-
{
+
-
padding-top: 2em !important;
+
-
}
+
-
.subpage article
+
    position:absolute;
-
{
+
-
padding: 0 1em 0 1em;
+
-
}
+
-
.subpage article.first
+
    top:15px;
-
{
+
-
padding: 0 1em 0 0;
+
-
}
+
-
.subpage article.last
+
    right:15px;
-
{
+
-
padding: 0 0 0 1em;
+
-
}
+
-
.subpage h2
+
    padding:5px 3px;
-
{
+
-
font-size: 2.2em;
+
-
}
+
-
.subpage p
+
}
-
{
+
-
margin: 0 0 1.5em 0;
+
-
}
+
-
.subpage section, .subpage article
 
-
{
 
-
margin: 0 0 2em 0;
 
-
}
 
-
/* CUSTOM STYLES */
+
.slider img {
 +
 
 +
    width:auto;
-
#globalWrapper {
 
-
font-size: auto !important;
 
}
}
-
#content {
+
 
-
width: 100%;
+
 
-
padding: 0;
+
.slider .clip img {
 +
 
 +
    position:relative;
 +
 
 +
    bottom:40%;
 +
 
}
}
-
.container {
+
 
-
width: 70%;
+
 
-
max-width: 1100px;
+
.slider .jcarousel-container-horizontal { padding: 15px 20px; overflow:hidden;}
-
margin: 0 auto;
+
.slider.jcarousel-clip-horizontal {height: 90px; width: 485px;}
 +
.slider .jcarousel-item-horizontal { margin-right: 10px;}
 +
 
 +
 
 +
/***************************************/
 +
/* FOOTER                              */
 +
/***************************************/
 +
 
 +
#footer {
 +
    border-top: 1px solid rgb(175, 175, 175);
 +
    margin-top: 2em;
 +
    padding: 1em;
}
}
-
p {
+
#footer li {
-
line-height: 1.5;
+
    display: inline-block;
 +
    margin: 0;
 +
}
 +
 
 +
#footer-links {
 +
    text-align: center;
 +
}
 +
 
 +
#footer-text {
 +
    color: #777;
 +
    font-size: 0.8em;
 +
    margin: 0.75em 0;
 +
    text-align: center;
 +
}
 +
 
 +
#footer-links-2 ul {
 +
    margin: 0.75em 0 0.25em;
 +
    padding: 0;
 +
}
 +
 
 +
#footer-links-2 ul li {
 +
    display: inline;
 +
    list-style: none;
 +
    padding-right: 1em;
 +
}
 +
 
 +
#footer-links-2 ul li:last-child {
 +
    padding-right: 0;
 +
}
 +
 
 +
#footer-links-2 ul li a {
 +
    font-size: 0.9em;
 +
    color: #777;
 +
    text-decoration: none;
 +
}
 +
 
 +
/***************************************/
 +
/* TOC                                */
 +
/***************************************/
 +
 
 +
#jqtoc {
 +
    background: #3A3A3A;
 +
    color: #fff;
 +
    font-size: 12px;
 +
    font-family: 'Open Sans', sans-serif;
 +
    position: absolute;
 +
    top: 0;
 +
    bottom: 0; 
 +
    width: 150px;
 +
    right: 0;
 +
}
 +
 
 +
#jqtoc ul {
 +
    box-sizing: border-box;
 +
    list-style: none;
 +
    margin: 0;
 +
    padding: 1em 0 0;
 +
    width: 150px;
 +
}
 +
 
 +
#jqtoc li {
 +
    box-sizing: border-box;
 +
    letter-spacing: initial;
 +
    padding: 5px 10px;
 +
    width: 100%;
 +
}
 +
 
 +
#jqtoc a {
 +
    color: #fff;
 +
    text-decoration: none;
 +
    display: block;
 +
}
 +
 
 +
#jqtoc .toc-h1 {
 +
    background-color: rgb(70, 70, 70);
 +
}
 +
 
 +
#jqtoc .toc-h2 {
 +
    padding-left: 10px;
 +
}
 +
 
 +
#jqtoc .toc-h3 {
 +
    padding-left: 20px;
 +
}
 +
 
 +
#jqtoc .toc-active {
 +
    background: rgb(0, 75, 15);
 +
}
 +
 
 +
.with-toc #inner-content {
 +
    padding-right: 215px;
}
}
-
h1 {
+
.sticky {  
-
font-size: ;
+
    float: none;
 +
    position: fixed;
 +
    z-index: 6;
 +
    left: auto;  
}
}
-
.editsection {
+
#scrolltop {
-
font-size: 0.5em;
+
    background-color: rgb(41, 99, 41);;
-
vertical-align: bottom;
+
    position: fixed;
-
line-height: 2.5;
+
    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;
}
}

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;

}