Team:Calgary/StyleSheets/HomePage

From 2013.igem.org

(Difference between revisions)
 
(40 intermediate revisions not shown)
Line 1: Line 1:
 +
/***
/***
Name: Wm. Keith van der Meulen
Name: Wm. Keith van der Meulen
Line 13: Line 14:
https://2013.igem.org/Team:Calgary/StyleSheets/HomePage?action=raw&ctype=text/css
https://2013.igem.org/Team:Calgary/StyleSheets/HomePage?action=raw&ctype=text/css
***/
***/
 +
 +
#HomePageContent {
 +
position: relative;
 +
top: 108px;
 +
}
 +
 +
#Banner {
 +
display: none;
 +
}
/* Slider Styles */
/* Slider Styles */
Line 18: Line 28:
position: relative;
position: relative;
width: 100%;
width: 100%;
 +
display: none;
}
}
Line 27: Line 38:
#Slider #Slide0 {
#Slider #Slide0 {
-
/*background-image: url(TestSlide0.jpg);*/
+
background-image: url(https://static.igem.org/mediawiki/2013/d/d1/2013UCalgarySlider1.png);
-
background: red;
+
}
}
#Slider #Slide1 {
#Slider #Slide1 {
-
/*background-image: url(TestSlide1.jpg);*/
+
background-image: url(https://static.igem.org/mediawiki/2013/a/ac/2013UCalgarySlider2.png);
-
background: orange;
+
display: none;
display: none;
}
}
#Slider #Slide2 {
#Slider #Slide2 {
-
/*background-image: url(TestSlide2.jpg);*/
+
background-image: url(https://static.igem.org/mediawiki/2013/6/62/2013UCalgarySlider3.png);
-
background: green;
+
display: none;
display: none;
}
}
#Slider #Slide3 {
#Slider #Slide3 {
-
/*background-image: url(TestSlide3.jpg);*/
+
background-image: url(https://static.igem.org/mediawiki/2013/7/72/2013UCalgarySlider4.png);
-
background: blue;
+
display: none;
display: none;
}
}
#Slider #Slide4 {
#Slider #Slide4 {
-
/*background-image: url(TestSlide4.jpg);*/
+
background-image: url(https://static.igem.org/mediawiki/2013/a/a2/2013UCalgarySlider5.png);
-
background: purple;
+
display: none;
 +
}
 +
 
 +
#Slider #Slide5 {
 +
background-image: url(https://static.igem.org/mediawiki/2013/d/de/2013UCalgarySlider6.png);
display: none;
display: none;
}
}
Line 60: Line 71:
padding: 0;
padding: 0;
bottom: 0;
bottom: 0;
-
background: #787675;
+
background: #353132;
text-align: center;
text-align: center;
-
opacity: 0.8;
+
opacity: 0.61;
-
filter: alpha(opacity=80);
+
filter: alpha(opacity=61);
}
}
Line 121: Line 132:
width: 100%;
width: 100%;
background: #E7E7E7;
background: #E7E7E7;
-
padding: 25px 5% 40px 5%;
+
padding: 25px 7.5% 40px 5%;
box-shadow: inset 0 0 20px 5px #888888;
box-shadow: inset 0 0 20px 5px #888888;
text-align: left;
text-align: left;
Line 127: Line 138:
#Overview p {
#Overview p {
-
margin: 18px 0 0 30px;
+
margin: 18px 0 0 30px;
-
text-indent: 50px;
+
text-indent: 50px;
 +
}
 +
 
 +
#Overview i, #Overview em, #Overview b, #Overview strong {
 +
font-size: 18px;
}
}
Line 135: Line 150:
width: 100%;
width: 100%;
background: #383132;
background: #383132;
-
text-align: left;
+
margin: 0 auto;
 +
padding: 10px;
 +
text-align: center;
 +
}
 +
 
 +
#SectionLinks a:hover {
 +
text-decoration: none;
 +
}
 +
 
 +
#SectionLinks .DescriptionLink {
 +
float: left;
 +
margin: 3%;
 +
height: 400px;
 +
width: 440px;
 +
}
 +
 
 +
#SectionLinks .DescriptionLink h2 {
 +
margin: 0;
 +
}
 +
 
 +
#SectionLinks .Clear {
 +
clear: both;
 +
}
 +
 
 +
#SectionLinks .Wrap {
 +
margin: auto;
 +
min-width: 270px;
 +
max-width: 1000px;
 +
display: block;
 +
margin: auto;
 +
border: 0;
 +
padding: 0;
}
}
#SectionLinks .DescriptionLink {
#SectionLinks .DescriptionLink {
background: #4F494A;
background: #4F494A;
-
color: #FFFFFF;
+
padding: 20px;
-
padding: 30px 40px;
+
position: relative;
}
}
-
#SectionLinks .DescriptionLink:nth-of-type(odd) {
+
#SectionLinks .DescriptionLink p {
-
float: left;
+
padding-left: 0;
 +
text-indent: 0;
 +
position: absolute;
 +
bottom: 10px;
 +
padding-right: 20px;
}
}
-
#SectionLinks .DescriptionLink:nth-of-type(even) {
+
#SectionLinks #DescriptionLink1 {
-
float: right;
+
background: #299D77;
}
}
 +
#SectionLinks #DescriptionLink1:hover {
 +
background: #53B092;
 +
}
 +
 +
#SectionLinks #DescriptionLink2 {
 +
background: #87CA7A;
 +
}
 +
 +
#SectionLinks #DescriptionLink2:hover {
 +
background: #9FD494;
 +
}
 +
 +
#SectionLinks #DescriptionLink3 {
 +
background: #E68930;
 +
}
 +
 +
#SectionLinks #DescriptionLink3:hover {
 +
background: #EBA059;
 +
}
 +
 +
#SectionLinks #DescriptionLink4 {
 +
background: #EDB74B;
 +
}
 +
 +
#SectionLinks #DescriptionLink4:hover {
 +
background: #F0C56E;
 +
}
 +
 +
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 'Segoe UI', Calibri, Helvetica, sans-serif;
 +
margin: 4px 0 12px 0;
 +
padding-left: 20px;
 +
text-indent: 50px;
 +
color: #000000;
 +
text-align:justify;
 +
text-justify:inter-word;
 +
}
 +
 +
p i {
 +
font-size: 18px;
 +
}
-
#SectionLinks .DescriptionLink:hover {
+
#Content h3 + p, h3 + p + p, h3 + p + p + p, h3 + p + p + p + p {
-
background: #E79120;
+
padding-left: 40px;
}
}

Latest revision as of 21:03, 28 October 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

      • /
  1. HomePageContent {

position: relative; top: 108px; }

  1. Banner {

display: none; }

/* Slider Styles */

  1. Slider {

position: relative; width: 100%; display: none; }

  1. Slider .Slides {

width: 100%; height: 100%; background-size: 100%, auto; }

  1. Slider #Slide0 {

background-image: url(2013UCalgarySlider1.png); }

  1. Slider #Slide1 {

background-image: url(2013UCalgarySlider2.png); display: none; }

  1. Slider #Slide2 {

background-image: url(2013UCalgarySlider3.png); display: none; }

  1. Slider #Slide3 {

background-image: url(2013UCalgarySlider4.png); display: none; }

  1. Slider #Slide4 {

background-image: url(2013UCalgarySlider5.png); display: none; }

  1. Slider #Slide5 {

background-image: url(2013UCalgarySlider6.png); display: none; }

  1. Slider #BottomLinks {

position: absolute; width: 100%; padding: 0; bottom: 0; background: #353132; text-align: center; opacity: 0.61; filter: alpha(opacity=61); }

  1. 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; }

  1. Slider #BottomLinks li:hover {

cursor: pointer; text-decoration: underline; }

  1. Slider .SideBar {

position: absolute; top: 0; width: 90px; z-index: 1; }

  1. Slider #LeftBar {

left: 0; }

  1. Slider #RightBar {

right: 0; }

  1. Slider #LeftArrow {

position: absolute; width: 60px; height: 60px; margin-left: 30px; background: url(2013UCalgaryArrowLeft.png) top no-repeat; }

  1. Slider #RightArrow {

position: absolute; width: 60px; height: 60px; margin-right: 30px; background: url(2013UCalgaryArrowRight.png) top no-repeat; }

  1. Slider #LeftArrow:hover, #Slider #RightArrow:hover {

background-position: bottom; cursor: pointer; }

/* Other Styles */

  1. Overview {

width: 100%; background: #E7E7E7; padding: 25px 7.5% 40px 5%; box-shadow: inset 0 0 20px 5px #888888; text-align: left; }

  1. Overview p {

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

  1. Overview i, #Overview em, #Overview b, #Overview strong {

font-size: 18px; }

  1. SectionLinks {

overflow: hidden; width: 100%; background: #383132; margin: 0 auto; padding: 10px; text-align: center; }

  1. SectionLinks a:hover {

text-decoration: none; }

  1. SectionLinks .DescriptionLink {

float: left; margin: 3%; height: 400px; width: 440px; }

  1. SectionLinks .DescriptionLink h2 {

margin: 0; }

  1. SectionLinks .Clear {

clear: both; }

  1. SectionLinks .Wrap {

margin: auto; min-width: 270px; max-width: 1000px; display: block; margin: auto; border: 0; padding: 0; }

  1. SectionLinks .DescriptionLink {

background: #4F494A; padding: 20px; position: relative; }

  1. SectionLinks .DescriptionLink p {

padding-left: 0; text-indent: 0; position: absolute; bottom: 10px; padding-right: 20px; }

  1. SectionLinks #DescriptionLink1 {

background: #299D77; }

  1. SectionLinks #DescriptionLink1:hover {

background: #53B092; }

  1. SectionLinks #DescriptionLink2 {

background: #87CA7A; }

  1. SectionLinks #DescriptionLink2:hover {

background: #9FD494; }

  1. SectionLinks #DescriptionLink3 {

background: #E68930; }

  1. SectionLinks #DescriptionLink3:hover {

background: #EBA059; }

  1. SectionLinks #DescriptionLink4 {

background: #EDB74B; }

  1. SectionLinks #DescriptionLink4:hover {

background: #F0C56E; }

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 'Segoe UI', Calibri, Helvetica, sans-serif; margin: 4px 0 12px 0; padding-left: 20px; text-indent: 50px; color: #000000; text-align:justify; text-justify:inter-word; }

p i { font-size: 18px; }

  1. Content h3 + p, h3 + p + p, h3 + p + p + p, h3 + p + p + p + p {

padding-left: 40px; }