Team:Calgary/StyleSheets/HomePage
From 2013.igem.org
Line 28: | Line 28: | ||
#Slider #Slide0 { | #Slider #Slide0 { | ||
- | + | background-image: url(https://static.igem.org/mediawiki/2013/a/a0/2013UCalgarySliderBackground.png); | |
- | + | ||
} | } | ||
Revision as of 22:11, 13 September 2013
/*** Name: Wm. Keith van der Meulen Date: Summer 2013 Organization: University of Calgary iGEM Team 2013
---Purpose--- CSS code to define home page stylings.
Cite: Wm. Keith van der Meulen University of Calgary iGEM 2013 https://2013.igem.org/Team:Calgary/StyleSheets/HomePage?action=raw&ctype=text/css
- /
/* Slider Styles */
- Slider {
position: relative; width: 100%; display: none; }
- Slider .Slides {
width: 100%; height: 100%; background-size: 100%, auto; }
- Slider #Slide0 {
background-image: url(); }
- Slider #Slide1 {
/*background-image: url(TestSlide1.jpg);*/ background: orange; display: none; }
- Slider #Slide2 {
/*background-image: url(TestSlide2.jpg);*/ background: green; display: none; }
- Slider #Slide3 {
/*background-image: url(TestSlide3.jpg);*/ background: blue; display: none; }
- Slider #Slide4 {
/*background-image: url(TestSlide4.jpg);*/ background: purple; display: none; }
- Slider #BottomLinks {
position: absolute; width: 100%; padding: 0; bottom: 0; background: #787675; text-align: center; opacity: 0.8; filter: alpha(opacity=80); }
- Slider #BottomLinks li {
display: inline-table; list-style: none; height: 100%; color: #FFFFFF; font: 24px Raleway, Arial, san-serif; text-align: center; padding: 15px 20px; }
- Slider #BottomLinks li:hover {
cursor: pointer; text-decoration: underline; }
- Slider .SideBar {
position: absolute; top: 0; width: 90px; z-index: 1; }
- Slider #LeftBar {
left: 0; }
- Slider #RightBar {
right: 0; }
- Slider #LeftArrow {
position: absolute; width: 60px; height: 60px; margin-left: 30px; background: url() top no-repeat; }
- Slider #RightArrow {
position: absolute; width: 60px; height: 60px; margin-right: 30px; background: url() top no-repeat; }
- Slider #LeftArrow:hover, #Slider #RightArrow:hover {
background-position: bottom; cursor: pointer; }
/* Other Styles */
- Overview {
width: 100%; background: #E7E7E7; padding: 25px 7.5% 40px 5%; box-shadow: inset 0 0 20px 5px #888888; text-align: left; }
- Overview p {
margin: 18px 0 0 30px; text-indent: 50px; }
- SectionLinks {
overflow: hidden; width: 100%; background: #383132; text-align: left; }
- 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; }
h1, h2, h3 { font-family: 'Raleway', Helvetica, Arial, sans-serif; line-height: 1.6; text-align: left; }
h1 { font-size: 35px; font-weight: 700; border-bottom: 3px solid #5A5A5A; color: #111111; margin: 0 -20px; padding-left: 20px; }
h2 { font-size: 28px; font-weight: 600; color: #333333; margin-top: 30px; }
h3 { font-size: 26px; font-weight: 500; color: #333333; padding-left: 20px; }
p { font: 18px/1.6 'Antic Slab', Georgia, serif; margin: 4px 0 12px 0; padding-left: 20px; text-indent: 50px; color: #000000; text-align:justify; text-justify:inter-word; }
- Content h3 + p, h3 + p + p, h3 + p + p + p, h3 + p + p + p + p {
padding-left: 40px; }