Team:Calgary/TestPageCSS
From 2013.igem.org
(Created page with "- →Slider Style: #slides { position: relative; box-shadow: 0 3px 10px #888888; } #slides .slides-container { display: none; } #slides .scrollable { *zoom: 1; position: r...") |
|||
Line 131: | Line 131: | ||
#SectionLinks .DescriptionLink:nth-of-type(even) { | #SectionLinks .DescriptionLink:nth-of-type(even) { | ||
float: right; | float: right; | ||
+ | } | ||
+ | |||
+ | |||
+ | #SectionLinks .DescriptionLink:hover { | ||
+ | background: #E79120; | ||
} | } |
Revision as of 17:06, 14 August 2013
/* Slider Style */
- slides {
position: relative; box-shadow: 0 3px 10px #888888; }
- slides .slides-container {
display: none; }
- slides .scrollable {
*zoom: 1; position: relative; top: 0; left: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; height: 100%; }
- 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; }
- Overview {
width: 100%; background: #E7E7E7; padding: 25px 5% 40px 5%; }
- Overview p {
margin: 18px 0 0 30px; text-indent: 50px; }
- SectionLinks {
overflow: hidden; width: 100%; background: #383132; }
- SectionLinks .DescriptionLink {
background: #4F494A; color: #FFFFFF; padding: 30px 40px; }
- SectionLinks .DescriptionLink:nth-of-type(odd) {
float: left; }
- SectionLinks .DescriptionLink:nth-of-type(even) {
float: right; }
- SectionLinks .DescriptionLink:hover {
background: #E79120; }