Team:Calgary/StyleSheets/Content
From 2013.igem.org
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 | + | margin: 4px 20px 12px 20px; |
} | } | ||
Line 112: | Line 120: | ||
#Content p { | #Content p { | ||
- | font: 18px/1.6 'Segoe UI', | + | 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', | + | 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: | + | font-size: 69%; |
} | } | ||
#Content sup { | #Content sup { | ||
vertical-align: super; | vertical-align: super; | ||
- | font-size: | + | font-size: 69%; |
} | } | ||
Line 160: | Line 168: | ||
#Content .Orange, #Content .orange { | #Content .Orange, #Content .orange { | ||
- | color: # | + | color: #FF5900; |
} | } | ||
Line 172: | Line 180: | ||
#Content li { | #Content li { | ||
- | font: 18px/1 'Segoe UI', | + | 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; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | + | #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; | 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; }
- globalWrapper {
padding-bottom: 0; }
- bodyContent {
background: #D8D8D8; text-align: center; }
- contentSub{
display: none;
}
- Banner {
display: none; position: relative; height: 180px; width: 100%; top: 19px; background: url() top center; }
- Banner h1 {
font: 72px/180px Raleway, Arial, sans-serif; font-weight: 900; color: #231F20; }
- Banner i {
font-size: 72px; }
- 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; }
- Content img {
margin: 4px 20px 12px 20px; }
- 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; }
- Content h1 {
font-size: 35px; font-weight: 700; border-bottom: 3px solid #5A5A5A; color: #111111; margin: 0 -20px 30px -20px; padding-left: 20px; }
- Content h1 > i, #Content h1 > em {
font-size: 35px; }
- Content h2 {
font-size: 28px; font-weight: 600; color: #333333; margin-top: 30px; }
- Content h2 > i, #Content h2 > em {
font-size: 28px; }
- Content h3 {
font-size: 26px; font-weight: 500; color: #333333; padding-left: 20px; }
- Content h4 {
font-size: 20px; font-weight: 500; color: #333333; padding-left: 20px; }
- Content h3 > i, #Content h3 > em {
font-size: 26px; }
- 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; }
- Content a {
font: 18px/1.6 'Segoe UI', Calibri, Helvetica, sans-serif; }
- Content i, #Content em, #Content b, #Content strong {
font-size: 18px; }
- Content li a {
line-height: 1; }
- Content sub {
vertical-align: sub; font-size: 69%; }
- Content sup {
vertical-align: super; font-size: 69%; }
- 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: #FF5900; }
- Content .Yellow, #Content .yellow {
color: #EDB74B; }
- Content ul, #Content ol {
padding-left: 40px; }
- 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; }
- Content table {
background: none; margin: 4px 20px 12px 20px; }
- Content td {
border: 1px solid #000000; padding: 5px; }
- 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; }
- 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; }