Team:Freiburg/css/styles.css
From 2014.igem.org
(Difference between revisions)
(20 intermediate revisions not shown) | |||
Line 55: | Line 55: | ||
} | } | ||
- | html | + | html, .wrapper { /*-- changes default wiki settings --*/ |
width: 100%; | width: 100%; | ||
Line 79: | Line 79: | ||
background-color: #transparent; | background-color: #transparent; | ||
margin-top: 0px; | margin-top: 0px; | ||
+ | } | ||
+ | |||
+ | blockquote { | ||
+ | width: 30%; | ||
+ | background: #f9f9f9; | ||
+ | border-left: 10px solid #ccc; | ||
+ | margin: 1.5em 10px; | ||
+ | padding: 0.5em 10px; | ||
+ | quotes: "\201C""\201D""\2018""\2019"; | ||
+ | } | ||
+ | blockquote:before { | ||
+ | color: #ccc; | ||
+ | content: open-quote; | ||
+ | font-size: 4em; | ||
+ | line-height: 0.1em; | ||
+ | margin-right: 0.25em; | ||
+ | vertical-align: -0.4em; | ||
+ | } | ||
+ | |||
+ | blockquote:after { | ||
+ | color: #ccc; | ||
+ | content: close-quote; | ||
+ | font-size: 4em; | ||
+ | line-height: 0.1em; | ||
+ | margin-left: 0.25em; | ||
+ | vertical-align: -0.4em; | ||
+ | } | ||
+ | |||
+ | blockquote p { | ||
+ | display: inline; | ||
+ | font-family: "Bodoni MT", Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", serif; | ||
+ | font-size: 26px; | ||
+ | line-height: 160%; | ||
+ | font-style: italic; | ||
} | } | ||
Line 292: | Line 326: | ||
.sponsorbox { | .sponsorbox { | ||
- | |||
width: 49%; | width: 49%; | ||
background-color: white; | background-color: white; | ||
Line 301: | Line 334: | ||
left: 210px; | left: 210px; | ||
- | |||
} | } | ||
Line 316: | Line 348: | ||
top: 0; | top: 0; | ||
text-align: justify; | text-align: justify; | ||
+ | } | ||
+ | |||
+ | .memberbox{ | ||
+ | background-color: white; | ||
+ | border: 1px #E68A00 solid; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | .memberbox_odd{ | ||
+ | |||
+ | |||
+ | position: relative; | ||
+ | margin-top: 5px; | ||
+ | margin-bottom: 5px; | ||
+ | |||
+ | } | ||
+ | |||
+ | .memberbox_even{ | ||
+ | |||
+ | |||
+ | position: relative; | ||
+ | margin-top: 5px; | ||
+ | margin-bottom: 5px; | ||
+ | |||
+ | } | ||
+ | |||
+ | .memberbox_even img { | ||
+ | display: block; | ||
+ | margin-left: 50%; | ||
+ | margin-right: auto; | ||
+ | |||
+ | } | ||
+ | .memberbox_odd img { | ||
+ | display: block; | ||
+ | margin-left: 50%; | ||
+ | margin-right: auto; | ||
+ | |||
+ | } | ||
+ | |||
+ | .memberbox_odd p { | ||
+ | top: 0; | ||
+ | margin-top: 0; | ||
+ | position: absolute; | ||
+ | margin-left: 22%; | ||
+ | margin-right: 50%; | ||
+ | padding: 5px; | ||
+ | background-color: #F9F9F6; | ||
+ | height: 290px; | ||
+ | } | ||
+ | |||
+ | .memberbox_even p { | ||
+ | top: 0; | ||
+ | margin-top:0; | ||
+ | position: absolute; | ||
+ | margin-left: 80.9%; | ||
+ | margin-right: -9%; | ||
+ | padding: 5px; | ||
+ | background-color: #F9F9F6; | ||
+ | height: 290px; | ||
} | } | ||
Line 373: | Line 464: | ||
- | p:first-letter{ | + | .text p:first-letter{ |
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
- | + | .text p { | |
color: #424242; | color: #424242; | ||
font-family: Times, "Adobe Caslon Pro", "Hoefler Text", Georgia, Garamond, serif; | font-family: Times, "Adobe Caslon Pro", "Hoefler Text", Georgia, Garamond, serif; | ||
Line 392: | Line 483: | ||
.heading{font-weigth: bold; text-align: center; color: white;} | .heading{font-weigth: bold; text-align: center; color: white;} | ||
+ | |||
+ | #testquote { | ||
+ | position: absolute; | ||
+ | width: 50%; | ||
+ | top: 170px; | ||
+ | left: 77%; | ||
+ | } | ||
/* changes main body attributes */ | /* changes main body attributes */ | ||
Line 401: | Line 499: | ||
width: 90%; | width: 90%; | ||
height: 100%; | height: 100%; | ||
- | margin: auto; | + | margin-left: auto; |
+ | margin-right: auto; | ||
padding: 25px; | padding: 25px; | ||
padding-top: 5px; | padding-top: 5px; | ||
Line 439: | Line 538: | ||
#nav ul li:hover{ | #nav ul li:hover{ | ||
- | background-color: # | + | background-color: #F9F9F6; |
padding-bottom: 0; | padding-bottom: 0; | ||
Line 470: | Line 569: | ||
display: none; | display: none; | ||
position: absolute; | position: absolute; | ||
- | background-color: # | + | background-color: #F9F9F6; |
border: 5px solid #F5F4F4; | border: 5px solid #F5F4F4; | ||
border-top: 0; | border-top: 0; |
Latest revision as of 12:44, 5 September 2014