Template:Harvard css
From 2010.igem.org
(Difference between revisions)
Jjoonathan (Talk | contribs) |
|||
(49 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<style type="text/css"> | <style type="text/css"> | ||
+ | #p-logo>a>img { | ||
+ | position: relative !important; | ||
+ | left: -1px !important; | ||
+ | } | ||
+ | #top-section { | ||
+ | width: 962px !important; | ||
+ | overflow: hidden; | ||
+ | } | ||
- | # | + | #globalWrapper { |
- | + | padding-bottom: 0px; | |
} | } | ||
+ | #footer-box { | ||
+ | width: 952px; | ||
+ | } | ||
+ | |||
+ | |||
+ | #allcontent, #p-logo { | ||
+ | width: 950px !important; | ||
+ | } | ||
+ | |||
+ | .firstHeading { | ||
+ | display:none; | ||
+ | } | ||
body { | body { | ||
- | + | ||
+ | background-image:none; | ||
+ | background-position: center; | ||
+ | background-repeat: no-repeat; | ||
+ | background-attachment: fixed; | ||
+ | margin-left: auto; | ||
margin-right: auto; | margin-right: auto; | ||
font-family: Helvetica, Arial, sans-serif; | font-family: Helvetica, Arial, sans-serif; | ||
Line 23: | Line 48: | ||
color: #254117; | color: #254117; | ||
font-family: Helvetica, Arial, sans-serif; | font-family: Helvetica, Arial, sans-serif; | ||
- | width: | + | width: 950px; |
line-height: 1.2em; | line-height: 1.2em; | ||
Line 33: | Line 58: | ||
} | } | ||
+ | a:visited{ | ||
+ | color:#660000; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
a:hover { | a:hover { | ||
color: #A0C544; | color: #A0C544; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
Line 54: | Line 81: | ||
list-style: none; | list-style: none; | ||
} | } | ||
+ | |||
+ | .abstractext{ | ||
+ | float:right; | ||
+ | width="400px" | ||
+ | } | ||
#nav a { | #nav a { | ||
Line 117: | Line 149: | ||
color: white; | color: white; | ||
} | } | ||
+ | |||
+ | a.labnotebook{ | ||
+ | color: #254117; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | a.labnotebook:hover{ | ||
+ | color: #254117; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | a.labnotebook:visited{ | ||
+ | color: #254117; | ||
+ | text-decoration: none; | ||
+ | } | ||
.bannerlinks { | .bannerlinks { | ||
Line 137: | Line 183: | ||
padding: 3px 20px 3px 20px; | padding: 3px 20px 3px 20px; | ||
} | } | ||
+ | .bannertoplinkslast{ | ||
+ | background-color: #827B60; | ||
+ | border-style: solid; | ||
+ | border-color: white; | ||
+ | border-width: 1px; | ||
+ | color: white; | ||
+ | margin-bottom: -2px; | ||
+ | padding: 3px 20px 3px 20px; | ||
+ | } | ||
#twitter_div { | #twitter_div { | ||
Line 168: | Line 223: | ||
#sidebar { | #sidebar { | ||
+ | right:5px; | ||
width: 300px; | width: 300px; | ||
float: right; | float: right; | ||
margin-right: 0px; | margin-right: 0px; | ||
- | border | + | border: none; |
- | + | ||
- | + | ||
padding: 0px; | padding: 0px; | ||
padding-top:5px; | padding-top:5px; | ||
Line 243: | Line 297: | ||
} | } | ||
+ | #content { | ||
+ | padding: 6px; | ||
+ | padding-top: 1px; | ||
+ | } | ||
</style> | </style> | ||
+ | <script type="text/javascript"> | ||
+ | var fh = document.getElementsByClassName("firstHeading")[0]; | ||
+ | fh.parentElement.removeChild(fh); | ||
+ | var fh=document.getElementById("contentSub"); | ||
+ | fh.parentElement.removeChild(fh); | ||
+ | </script> | ||
<!-- !END HARVARDCSS --> | <!-- !END HARVARDCSS --> | ||
</html> | </html> |
Latest revision as of 03:37, 28 October 2010