Team:Calgary/TestPageCSS

From 2013.igem.org

Revision as of 17:06, 14 August 2013 by Wkeithvan (Talk | contribs)

/* Slider Style */

  1. slides {

position: relative; box-shadow: 0 3px 10px #888888; }

  1. slides .slides-container {

display: none; }

  1. slides .scrollable {

*zoom: 1; position: relative; top: 0; left: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; height: 100%; }

  1. slides .scrollable:after {

content: ""; display: table; clear: both; }

.slides-navigation { margin: 0 auto; position: absolute; z-index: 3; top: 46%; width: 100%; }

.slides-navigation a { position: absolute; display: block; width: 60px; height: 60px; }

.slides-navigation a.prev { background: url(ArrowPrevious.png) top; left: 30px; }

.slides-navigation a.prev:hover { background-position: bottom; }

.slides-navigation a.next { background: url(ArrowNext.png) top; right: 30px; }

.slides-navigation a.next:hover { background-position: bottom; }

.slides-pagination { position: absolute; z-index: 3; bottom: 0; text-align: center; width: 100%; }

.slides-pagination ul {

   background: #787576;

opacity:0.8; filter:alpha(opacity=8); }

.slides-pagination li {

   display: inline-table;

cursor: pointer; }

.slides-pagination a { display: block; width: 100%; height: 100%; color: #FFFFFF; font: 24px Raleway, Arial, san-serif; text-align: center; text-decoration: none; padding: 30px 20px; }

.slides-pagination a:hover { text-decoration: underline; }

/* Other Styles */

h2 { font: 36px/1.6 "Josefin Sans", Helvetica, sans-serif; }

p { font: 18px/1.6 Cabin, Arial, Helvetica, sans-serif; }

  1. Overview {

width: 100%; background: #E7E7E7; padding: 25px 5% 40px 5%; }

  1. Overview p {

margin: 18px 0 0 30px; text-indent: 50px; }

  1. SectionLinks {

overflow: hidden; width: 100%; background: #383132; }

  1. SectionLinks .DescriptionLink {

background: #4F494A; color: #FFFFFF; padding: 30px 40px; }

  1. SectionLinks .DescriptionLink:nth-of-type(odd) {

float: left; }

  1. SectionLinks .DescriptionLink:nth-of-type(even) {

float: right; }


  1. SectionLinks .DescriptionLink:hover {

background: #E79120; }