Template:Harvard css
From 2010.igem.org
(Difference between revisions)
Jjoonathan (Talk | contribs) |
Jjoonathan (Talk | contribs) |
||
(67 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; | ||
font-family: Helvetica, Arial, sans-serif; | font-family: Helvetica, Arial, sans-serif; | ||
width: 900px; | width: 900px; | ||
} | } | ||
+ | |||
+ | table { | ||
+ | color: #254117; | ||
+ | font-family: Helvetica, Arial, sans-serif; | ||
+ | } | ||
#content { | #content { | ||
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 28: | 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 45: | Line 81: | ||
list-style: none; | list-style: none; | ||
} | } | ||
+ | |||
+ | .abstractext{ | ||
+ | float:right; | ||
+ | width="400px" | ||
+ | } | ||
#nav a { | #nav a { | ||
Line 66: | Line 107: | ||
left: auto; | left: auto; | ||
text-decoration: none; | text-decoration: none; | ||
- | color: white; | + | color: white !important; |
} | } | ||
Line 73: | Line 114: | ||
left: auto; | left: auto; | ||
text-decoration: none; | text-decoration: none; | ||
- | color: white; | + | color: white !important; |
} | } | ||
Line 94: | Line 135: | ||
a.bannerlinks { | a.bannerlinks { | ||
- | color: white; | + | color: white !important; |
text-decoration: none; | text-decoration: none; | ||
} | } | ||
Line 100: | Line 141: | ||
a.bannertoplinks { | a.bannertoplinks { | ||
- | color: white; | + | color: white !important; |
text-decoration: none; | text-decoration: none; | ||
} | } | ||
Line 108: | 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 128: | 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 { | ||
font-size: 0.8em; | font-size: 0.8em; | ||
- | + | margin-right: 0px; | |
} | } | ||
Line 155: | Line 219: | ||
} | } | ||
- | #twitter_head p {layout:block;} | + | #twitter_head p {layout:block; margin-bottom:2px;} |
#twitter_head a {float:right; layout:block;} | #twitter_head a {float:right; layout:block;} | ||
#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; | ||
} | } | ||
Line 219: | Line 283: | ||
margin-bottom: 5px | margin-bottom: 5px | ||
} | } | ||
+ | |||
a.sidebarlinks:hover { | a.sidebarlinks:hover { | ||
background-color: #A0C544; | background-color: #A0C544; | ||
- | + | color: white !important; | |
} | } | ||
Line 232: | 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