Team:Calgary/StyleSheets/Content

From 2013.igem.org

(Difference between revisions)
m
 
(17 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 60: Line 68:
#Content img {
#Content img {
-
margin: 4px 0 12px 0;
+
margin: 4px 20px 12px 20px;
}
}
Line 112: 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 122: 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 135: 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 160: Line 168:
#Content .Orange, #Content .orange {
#Content .Orange, #Content .orange {
-
color: #E68930;
+
color: #FF5900;
}
}
Line 172: 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 197: Line 215:
padding-left: 40px;
padding-left: 40px;
}
}
-
/***
 
-
Name: Wm. Keith van der Meulen
 
-
Date: Summer 2013
 
-
Organization: University of Calgary iGEM Team 2013
 
-
---Purpose---
+
#ButtonsSection {
-
CSS code to define content page stylings.
+
overflow: hidden;
-
-------------
+
width: 100%;
-
 
+
margin: 0 auto;
-
Cite:
+
padding: 10px;
-
Wm. Keith van der Meulen
+
text-align: center;
-
University of Calgary iGEM 2013
+
-
https://2013.igem.org/Team:Calgary/StyleSheets/Content?action=raw&ctype=text/css
+
-
***/
+
-
 
+
-
html{
+
-
background: #D8D8D8;
+
}
}
-
#globalWrapper {
+
#ButtonsSection a:hover {
-
padding-bottom: 0;
+
text-decoration: none;
}
}
-
#bodyContent {
+
#ButtonsSection .Button {
-
background: #D8D8D8;
+
float: left;
-
text-align: center;
+
margin: 5px;
 +
width: 280px;
}
}
-
#Banner {
+
#ButtonsSection .Button img{
-
display: none;
+
margin: 20px;
-
position: relative;
+
-
height: 180px;
+
-
width: 100%;
+
-
top: 19px;
+
-
background: url(https://static.igem.org/mediawiki/2013/2/2a/2013UCalgaryTopBanner.png) top center;
+
}
}
-
#Banner h1 {
+
#ButtonsSection .Clear {
-
font: 72px/180px Raleway, Arial, sans-serif;
+
clear: both;
-
font-weight: 900;
+
-
color: #231F20;
+
}
}
-
#Banner i {
+
#ButtonsSection .Wrap {
-
font-size: 72px;
+
padding: 5px;
 +
margin: auto;
 +
width: 580px;
 +
display: block;
 +
margin: auto;
 +
border: 0;
 +
padding: 0;
}
}
-
#Content {
+
#ButtonsSection .Button {
 +
background: #4F494A;
 +
padding: 20px;
position: relative;
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;
 
}
}
-
#Content img {
+
#ButtonsSection .Button p {
-
margin: 4px 20px 12px 20px;
+
padding-left: 0;
 +
text-indent: 0;
 +
position: absolute;
 +
bottom: 10px;
 +
padding-right: 20px;
}
}
-
#Content h1, #Content h2, #Content h3, #Content h4, #Content h5, #Content h6 {
+
#ButtonsSection .Button h2 {
-
font-family: 'Raleway', Helvetica, Arial, sans-serif;
+
margin: 0 0 20px 0;
-
line-height: 1.6;
+
-
text-align: left;
+
}
}
-
#Content h1 {
+
#ButtonsSection #Button1 {
-
font-size: 35px;
+
background: #299D77;
-
font-weight: 700;
+
-
border-bottom: 3px solid #5A5A5A;
+
-
color: #111111;
+
-
margin: 0 -20px 30px -20px;
+
-
padding-left: 20px;
+
}
}
-
#Content h1 > i, #Content h1 > em {
+
#ButtonsSection #Button1:hover {
-
font-size: 35px;
+
background: #53B092;
}
}
-
#Content h2 {
+
#ButtonsSection #Button2 {
-
font-size: 28px;
+
background: #87CA7A;
-
font-weight: 600;
+
-
color: #333333;
+
-
margin-top: 30px;
+
}
}
-
#Content h2 > i, #Content h2 > em {
+
#ButtonsSection #Button2:hover {
-
font-size: 28px;
+
background: #9FD494;
}
}
-
#Content h3 {
+
#ButtonsSection #Button3 {
-
font-size: 26px;
+
background: #E68930;
-
font-weight: 500;
+
-
color: #333333;
+
-
padding-left: 20px;
+
}
}
-
#Content h4 {
+
#ButtonsSection #Button3:hover {
-
font-size: 20px;
+
background: #EBA059;
-
font-weight: 500;
+
-
color: #333333;
+
-
padding-left: 20px;
+
}
}
-
#Content h3 > i, #Content h3 > em {
+
#ButtonsSection #Button4 {
-
font-size: 26px;
+
background: #EDB74B;
}
}
-
#Content p {
+
#ButtonsSection #Button4:hover {
-
font: 18px/1.6 'Segoe UI', 'Antic Slab', Georgia, serif;
+
background: #F0C56E;
-
margin: 4px 0 12px 0;
+
-
padding-left: 20px;
+
-
text-indent: 50px;
+
-
color: #000000;
+
-
text-align:justify;
+
-
text-justify:inter-word;
+
}
}
-
#Content a {
+
#ButtonsSection #Button5 {
-
font: 18px/1.6 'Segoe UI', 'Antic Slab', Georgia, serif;
+
background: #CB1F10;
 +
margin-left: 150px;
}
}
-
#Content i, #Content em, #Content b, #Content strong {
+
#ButtonsSection #Button5:hover {
-
font-size: 18px;
+
background: #D54B3F;
-
}
+
-
 
+
-
#Content li a {
+
-
line-height: 1;
+
-
}
+
-
 
+
-
#Content sub {
+
-
vertical-align: sub;
+
-
font-size: smaller;
+
-
}
+
-
 
+
-
#Content sup {
+
-
vertical-align: super;
+
-
font-size: smaller;
+
-
}
+
-
 
+
-
#Content span {
+
-
font-size: inherit;
+
-
}
+
-
 
+
-
#Content .noIndent {
+
-
text-indent: 0;
+
-
}
+
-
 
+
-
#Content .Blue, #Content .blue {
+
-
color: #299D7F;
+
-
}
+
-
 
+
-
#Content .Green, #Content .green {
+
-
color: #87CA7A;
+
-
}
+
-
 
+
-
#Content .Orange, #Content .orange {
+
-
color: #E68930;
+
-
}
+
-
 
+
-
#Content .Yellow, #Content .yellow {
+
-
color: #EDB74B;
+
-
}
+
-
 
+
-
#Content ul, #Content ol {
+
-
padding-left: 40px;
+
-
}
+
-
 
+
-
#Content li {
+
-
font: 18px/1 'Segoe UI', 'Antic Slab', Georgia, serif;
+
-
margin: 4px 0 12px 0;
+
-
color: #000000;
+
-
text-align:justify;
+
-
text-justify:inter-word;
+
-
}
+
-
 
+
-
#Content figure {
+
-
margin-bottom: 20px;
+
-
}
+
-
 
+
-
#Content figcaption {
+
-
padding: 0 50px;
+
-
}
+
-
 
+
-
#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;
+
-
}
+
-
 
+
-
#Content h3 + p, h3 + p + p, h3 + p + p + p, h3 + p + p + p + p {
+
-
padding-left: 40px;
+
}
}

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