Team:Calgary/TestPageCSS

From 2013.igem.org

(Difference between revisions)
 
(One intermediate revision not shown)
Line 8: Line 8:
left: 0;
left: 0;
right: 0;
right: 0;
-
margin: 100px auto 0;
+
margin: 25px auto 0;
display: none;
display: none;
}
}
Line 31: Line 31:
#Carousel .Slide2 {
#Carousel .Slide2 {
left: 420px;
left: 420px;
 +
background-position: top !important;
}
}
Line 55: Line 56:
left: 0;
left: 0;
margin-left: 15px;
margin-left: 15px;
-
background: url(ArrowLeft.png) top;
+
background: url(https://static.igem.org/mediawiki/2013/5/53/2013UCalgaryArrowLeft.png) top;
}
}
Line 61: Line 62:
right: 0;
right: 0;
margin-right: 15px;
margin-right: 15px;
-
background: url(ArrowRight.png) top;
+
background: url(https://static.igem.org/mediawiki/2013/5/56/2013UCalgaryArrowRight.png) top;
}
}
Line 68: Line 69:
cursor: pointer;
cursor: pointer;
}
}
-
 
#Carousel #Person0 {
#Carousel #Person0 {
Line 79: Line 79:
#Carousel #Person2 {
#Carousel #Person2 {
-
background: url(Num2.jpg);
+
background: url(Profile2.png) bottom;
}
}
Line 116: Line 116:
#WriteUp {
#WriteUp {
-
width: 990px;
+
width: 100%;
 +
max-width: 990px;
left: 0;
left: 0;
right: 0;
right: 0;
margin: 0 auto;
margin: 0 auto;
-
background: #E0E0E0;
+
background: #A4A4A4;
}
}
#WriteUp .Info {
#WriteUp .Info {
clear: both;
clear: both;
 +
overflow: auto;
 +
}
 +
 +
#WriteUp .Info .InfoImg {
 +
position: relative;
 +
width: 50%;
 +
height: 100%;
padding: 25px;
padding: 25px;
 +
float: left;
}
}
-
#WriteUp  .Info  img {
+
#WriteUp  .Info  .InfoImg img {
 +
width: 100%;
 +
height: auto;
 +
max-width: 100%;
 +
}
 +
 
 +
#WriteUp .Text {
 +
width: 50%;
 +
min-width: 320px;
 +
height: 100%;
 +
padding: 25px;
float: left;
float: left;
-
height: 300px;
+
}
-
width: 180px;
+
 
-
margin-right: 25px;
+
#WriteUp .Text h2 {
 +
font-family: 'Raleway', Helvetica, Arial, sans-serif;
 +
line-height: 1;
 +
text-align: left;
 +
font-size: 28px;
 +
font-weight: 600;
 +
color: #333333;
 +
}
 +
 
 +
#WriteUp .Text h3 {
 +
font-family: 'Raleway', Helvetica, Arial, sans-serif;
 +
line-height: 1.6;
 +
text-align: left;
 +
font-size: 20px;
 +
font-weight: 500;
 +
color: #333333;
 +
}
 +
 
 +
#WriteUp .Text p, #WriteUp .Text a {
 +
font: 16px/1.2 'Antic Slab', Georgia, serif;
 +
margin: 4px 0 12px 0;
 +
text-indent: 50px;
 +
color: #000000;
 +
text-align:justify;
 +
text-justify:inter-word;
}
}

Latest revision as of 16:52, 28 August 2013

  1. Carousel {

width: 990px; height: 180px; background: #CFCFCF; padding-left: 90px; position: relative; overflow: hidden; left: 0; right: 0; margin: 25px auto 0; display: none; }

  1. Carousel .Person {

width: 150px; height: 150px; position: absolute; top: 15px; }

  1. Carousel .Slide0 {

left: 90px; cursor: pointer; }

  1. Carousel .Slide1 {

left: 255px; cursor: pointer; }

  1. Carousel .Slide2 {

left: 420px; background-position: top !important; }

  1. Carousel .Slide3 {

left: 585px; cursor: pointer; }

  1. Carousel .Slide4 {

left: 750px; cursor: pointer; }

  1. Carousel .Arrow {

position: absolute; width: 60px; height: 60px; top: 0; bottom: 0; margin: auto; }

  1. Carousel #LeftArrow {

left: 0; margin-left: 15px; background: url(2013UCalgaryArrowLeft.png) top; }

  1. Carousel #RightArrow {

right: 0; margin-right: 15px; background: url(2013UCalgaryArrowRight.png) top; }

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

background-position: bottom; cursor: pointer; }

  1. Carousel #Person0 {

background: url(Num0.jpg); }

  1. Carousel #Person1 {

background: url(Num1.jpg); }

  1. Carousel #Person2 {

background: url(Profile2.png) bottom; }

  1. Carousel #Person3 {

background: url(Num3.jpg); }

  1. Carousel #Person4 {

background: url(Num4.jpg); }

  1. Carousel #Person5 {

background: url(Num5.jpg); display: none; }

  1. Carousel #Person6 {

background: url(Num6.jpg); display: none; }

  1. Carousel #Person7 {

background: url(Num7.jpg); display: none; }

  1. Carousel #Person8 {

background: url(Num8.jpg); display: none; }

  1. Carousel #Person9 {

background: url(Num9.jpg); display: none; }

  1. WriteUp {

width: 100%; max-width: 990px; left: 0; right: 0; margin: 0 auto; background: #A4A4A4; }

  1. WriteUp .Info {

clear: both; overflow: auto; }

  1. WriteUp .Info .InfoImg {

position: relative; width: 50%; height: 100%; padding: 25px; float: left; }

  1. WriteUp .Info .InfoImg img {

width: 100%; height: auto; max-width: 100%; }

  1. WriteUp .Text {

width: 50%; min-width: 320px; height: 100%; padding: 25px; float: left; }

  1. WriteUp .Text h2 {

font-family: 'Raleway', Helvetica, Arial, sans-serif; line-height: 1; text-align: left; font-size: 28px; font-weight: 600; color: #333333; }

  1. WriteUp .Text h3 {

font-family: 'Raleway', Helvetica, Arial, sans-serif; line-height: 1.6; text-align: left; font-size: 20px; font-weight: 500; color: #333333; }

  1. WriteUp .Text p, #WriteUp .Text a {

font: 16px/1.2 'Antic Slab', Georgia, serif; margin: 4px 0 12px 0; text-indent: 50px; color: #000000; text-align:justify; text-justify:inter-word; }