Team:Calgary/StyleSheets/Content

From 2013.igem.org

(Difference between revisions)
 
(22 intermediate revisions not shown)
Line 16: Line 16:
html{
html{
background: #D8D8D8;
background: #D8D8D8;
 +
}
 +
 +
body {
 +
min-width: 766px;
}
}
Line 25: Line 29:
background: #D8D8D8;
background: #D8D8D8;
text-align: center;
text-align: center;
 +
}
 +
 +
#contentSub{
 +
    display: none;
}
}
Line 33: Line 41:
width: 100%;
width: 100%;
top: 19px;
top: 19px;
-
background: url(https://static.igem.org/mediawiki/2013/8/89/2013UCalgaryTeamBackground.png) top center;
+
background: url(https://static.igem.org/mediawiki/2013/2/2a/2013UCalgaryTopBanner.png) top center;
}
}
Line 39: Line 47:
font: 72px/180px Raleway, Arial, sans-serif;
font: 72px/180px Raleway, Arial, sans-serif;
font-weight: 900;
font-weight: 900;
 +
color: #231F20;
}
}
Line 59: Line 68:
#Content img {
#Content img {
-
margin: 4px 0 12px 0;
+
margin: 4px 20px 12px 20px;
}
}
-
#Content h1, h2, h3 {
+
#Content h1, #Content h2, #Content h3, #Content h4, #Content h5, #Content h6 {
font-family: 'Raleway', Helvetica, Arial, sans-serif;
font-family: 'Raleway', Helvetica, Arial, sans-serif;
line-height: 1.6;
line-height: 1.6;
Line 94: Line 103:
#Content h3 {
#Content h3 {
font-size: 26px;
font-size: 26px;
 +
font-weight: 500;
 +
color: #333333;
 +
padding-left: 20px;
 +
}
 +
 +
#Content h4 {
 +
font-size: 20px;
font-weight: 500;
font-weight: 500;
color: #333333;
color: #333333;
Line 104: Line 120:
#Content p {
#Content p {
-
font: 18px/1.6 'Segoe UI', 'Antic Slab', Georgia, serif;
+
font: 18px/1.6 'Segoe UI', Calibri, Helvetica, sans-serif;
margin: 4px 0 12px 0;
margin: 4px 0 12px 0;
padding-left: 20px;
padding-left: 20px;
Line 114: Line 130:
#Content a {
#Content a {
-
font: 18px/1.6 'Segoe UI', 'Antic Slab', Georgia, serif;
+
font: 18px/1.6 'Segoe UI', Calibri, Helvetica, sans-serif;
}
}
Line 127: Line 143:
#Content sub {
#Content sub {
vertical-align: sub;
vertical-align: sub;
-
font-size: smaller;
+
font-size: 69%;
}
}
#Content sup {
#Content sup {
vertical-align: super;
vertical-align: super;
-
font-size: smaller;
+
font-size: 69%;
}
}
Line 143: Line 159:
}
}
-
#Content .Blue {
+
#Content .Blue, #Content .blue {
color: #299D7F;
color: #299D7F;
}
}
-
#Content .Green {
+
#Content .Green, #Content .green {
color: #87CA7A;
color: #87CA7A;
}
}
-
#Content .Orange {
+
#Content .Orange, #Content .orange {
-
color: #E68930;
+
color: #FF5900;
}
}
-
#Content .Yellow {
+
#Content .Yellow, #Content .yellow {
color: #EDB74B;
color: #EDB74B;
}
}
Line 164: Line 180:
#Content li {
#Content li {
-
font: 18px/1 'Segoe UI', 'Antic Slab', Georgia, serif;
+
font: 18px/1 'Segoe UI', Calibri, Helvetica, sans-serif;
margin: 4px 0 12px 0;
margin: 4px 0 12px 0;
color: #000000;
color: #000000;
text-align:justify;
text-align:justify;
text-justify:inter-word;
text-justify:inter-word;
 +
}
 +
 +
#Content table {
 +
background: none;
 +
margin: 4px 20px 12px 20px;
 +
}
 +
 +
#Content td {
 +
border: 1px solid #000000;
 +
padding: 5px;
}
}
Line 188: Line 214:
#Content h3 + p, h3 + p + p, h3 + p + p + p, h3 + p + p + p + p {
#Content h3 + p, h3 + p + p, h3 + p + p + p, h3 + p + p + p + p {
padding-left: 40px;
padding-left: 40px;
 +
}
 +
 +
#ButtonsSection {
 +
overflow: hidden;
 +
width: 100%;
 +
margin: 0 auto;
 +
padding: 10px;
 +
text-align: center;
 +
}
 +
 +
#ButtonsSection a:hover {
 +
text-decoration: none;
 +
}
 +
 +
#ButtonsSection .Button {
 +
float: left;
 +
margin: 5px;
 +
width: 280px;
 +
}
 +
 +
#ButtonsSection .Button img{
 +
margin: 20px;
 +
}
 +
 +
#ButtonsSection .Clear {
 +
clear: both;
 +
}
 +
 +
#ButtonsSection .Wrap {
 +
padding: 5px;
 +
margin: auto;
 +
width: 580px;
 +
display: block;
 +
margin: auto;
 +
border: 0;
 +
padding: 0;
 +
}
 +
 +
#ButtonsSection .Button {
 +
background: #4F494A;
 +
padding: 20px;
 +
position: relative;
 +
}
 +
 +
#ButtonsSection .Button p {
 +
padding-left: 0;
 +
text-indent: 0;
 +
position: absolute;
 +
bottom: 10px;
 +
padding-right: 20px;
 +
}
 +
 +
#ButtonsSection .Button h2 {
 +
margin: 0 0 20px 0;
 +
}
 +
 +
#ButtonsSection #Button1 {
 +
background: #299D77;
 +
}
 +
 +
#ButtonsSection #Button1:hover {
 +
background: #53B092;
 +
}
 +
 +
#ButtonsSection #Button2 {
 +
background: #87CA7A;
 +
}
 +
 +
#ButtonsSection #Button2:hover {
 +
background: #9FD494;
 +
}
 +
 +
#ButtonsSection #Button3 {
 +
background: #E68930;
 +
}
 +
 +
#ButtonsSection #Button3:hover {
 +
background: #EBA059;
 +
}
 +
 +
#ButtonsSection #Button4 {
 +
background: #EDB74B;
 +
}
 +
 +
#ButtonsSection #Button4:hover {
 +
background: #F0C56E;
 +
}
 +
 +
#ButtonsSection #Button5 {
 +
background: #CB1F10;
 +
margin-left: 150px;
 +
}
 +
 +
#ButtonsSection #Button5:hover {
 +
background: #D54B3F;
}
}

Latest revision as of 01:54, 28 October 2013

/*** Name: Wm. Keith van der Meulen Date: Summer 2013 Organization: University of Calgary iGEM Team 2013

---Purpose--- CSS code to define content page stylings.


Cite: Wm. Keith van der Meulen University of Calgary iGEM 2013 https://2013.igem.org/Team:Calgary/StyleSheets/Content?action=raw&ctype=text/css

      • /

html{ background: #D8D8D8; }

body { min-width: 766px; }

  1. globalWrapper {

padding-bottom: 0; }

  1. bodyContent {

background: #D8D8D8; text-align: center; }

  1. contentSub{
   display: none;

}

  1. Banner {

display: none; position: relative; height: 180px; width: 100%; top: 19px; background: url(2013UCalgaryTopBanner.png) top center; }

  1. Banner h1 {

font: 72px/180px Raleway, Arial, sans-serif; font-weight: 900; color: #231F20; }

  1. Banner i {

font-size: 72px; }

  1. Content {

position: relative; top: 108px; height: 100%; width: 100%; max-width: 1200px; background: #E7E7E7; display: inline-block; padding: 30px 50px; box-shadow: 0px 8px 10px #888, -10px 8px 15px #888, 10px 8px 15px #888; margin-bottom: 20px; }

  1. Content img {

margin: 4px 20px 12px 20px; }

  1. Content h1, #Content h2, #Content h3, #Content h4, #Content h5, #Content h6 {

font-family: 'Raleway', Helvetica, Arial, sans-serif; line-height: 1.6; text-align: left; }

  1. Content h1 {

font-size: 35px; font-weight: 700; border-bottom: 3px solid #5A5A5A; color: #111111; margin: 0 -20px 30px -20px; padding-left: 20px; }

  1. Content h1 > i, #Content h1 > em {

font-size: 35px; }

  1. Content h2 {

font-size: 28px; font-weight: 600; color: #333333; margin-top: 30px; }

  1. Content h2 > i, #Content h2 > em {

font-size: 28px; }

  1. Content h3 {

font-size: 26px; font-weight: 500; color: #333333; padding-left: 20px; }

  1. Content h4 {

font-size: 20px; font-weight: 500; color: #333333; padding-left: 20px; }

  1. Content h3 > i, #Content h3 > em {

font-size: 26px; }

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

  1. Content a {

font: 18px/1.6 'Segoe UI', Calibri, Helvetica, sans-serif; }

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

font-size: 18px; }

  1. Content li a {

line-height: 1; }

  1. Content sub {

vertical-align: sub; font-size: 69%; }

  1. Content sup {

vertical-align: super; font-size: 69%; }

  1. Content span {

font-size: inherit; }

  1. Content .noIndent {

text-indent: 0; }

  1. Content .Blue, #Content .blue {

color: #299D7F; }

  1. Content .Green, #Content .green {

color: #87CA7A; }

  1. Content .Orange, #Content .orange {

color: #FF5900; }

  1. Content .Yellow, #Content .yellow {

color: #EDB74B; }

  1. Content ul, #Content ol {

padding-left: 40px; }

  1. Content li {

font: 18px/1 'Segoe UI', Calibri, Helvetica, sans-serif; margin: 4px 0 12px 0; color: #000000; text-align:justify; text-justify:inter-word; }

  1. Content table {

background: none; margin: 4px 20px 12px 20px; }

  1. Content td {

border: 1px solid #000000; padding: 5px; }

  1. Content figure {

margin-bottom: 20px; }

  1. Content figcaption {

padding: 0 50px; }

  1. Content figcaption p, #Content figcaption b, #Content figcaption i, #Content figcaption u, #Content figcaption em, #Content figcaption strong {

font-family: Arial, sans-serif; font-size: 14px; text-indent: 0; text-align: center; }

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

padding-left: 40px; }

  1. ButtonsSection {

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

  1. ButtonsSection a:hover {

text-decoration: none; }

  1. ButtonsSection .Button {

float: left; margin: 5px; width: 280px; }

  1. ButtonsSection .Button img{

margin: 20px; }

  1. ButtonsSection .Clear {

clear: both; }

  1. ButtonsSection .Wrap {

padding: 5px; margin: auto; width: 580px; display: block; margin: auto; border: 0; padding: 0; }

  1. ButtonsSection .Button {

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

  1. ButtonsSection .Button p {

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

  1. ButtonsSection .Button h2 {

margin: 0 0 20px 0; }

  1. ButtonsSection #Button1 {

background: #299D77; }

  1. ButtonsSection #Button1:hover {

background: #53B092; }

  1. ButtonsSection #Button2 {

background: #87CA7A; }

  1. ButtonsSection #Button2:hover {

background: #9FD494; }

  1. ButtonsSection #Button3 {

background: #E68930; }

  1. ButtonsSection #Button3:hover {

background: #EBA059; }

  1. ButtonsSection #Button4 {

background: #EDB74B; }

  1. ButtonsSection #Button4:hover {

background: #F0C56E; }

  1. ButtonsSection #Button5 {

background: #CB1F10; margin-left: 150px; }

  1. ButtonsSection #Button5:hover {

background: #D54B3F; }