Template:Harvard css
From 2010.igem.org
(Difference between revisions)
Jjoonathan (Talk | contribs) |
|||
(116 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 28: | Line 58: | ||
} | } | ||
+ | a:visited{ | ||
+ | color:#660000; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
a:hover { | a:hover { | ||
color: #A0C544; | color: #A0C544; | ||
+ | text-decoration: none; | ||
} | } | ||
+ | |||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
Line 44: | Line 81: | ||
list-style: none; | list-style: none; | ||
} | } | ||
+ | |||
+ | .abstractext{ | ||
+ | float:right; | ||
+ | width="400px" | ||
+ | } | ||
#nav a { | #nav a { | ||
Line 65: | Line 107: | ||
left: auto; | left: auto; | ||
text-decoration: none; | text-decoration: none; | ||
- | color: white; | + | color: white !important; |
} | } | ||
Line 72: | Line 114: | ||
left: auto; | left: auto; | ||
text-decoration: none; | text-decoration: none; | ||
- | color: white; | + | color: white !important; |
} | } | ||
Line 93: | Line 135: | ||
a.bannerlinks { | a.bannerlinks { | ||
- | color: white; | + | color: white !important; |
text-decoration: none; | text-decoration: none; | ||
} | } | ||
Line 99: | Line 141: | ||
a.bannertoplinks { | a.bannertoplinks { | ||
- | color: white; | + | color: white !important; |
+ | text-decoration: none; | ||
} | } | ||
Line 106: | 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 126: | 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; | |
} | } | ||
#twitter_div ul { | #twitter_div ul { | ||
line-height: 1.3em; | line-height: 1.3em; | ||
- | + | list-style-type: none; | |
- | + | ||
} | } | ||
+ | |||
+ | #twitter_div img { | ||
+ | float: left; | ||
+ | margin-top:.5em; | ||
+ | margin-right:.5em; | ||
+ | } | ||
+ | |||
+ | #twitter_update_list { | ||
+ | margin-left: 0px; | ||
+ | } | ||
+ | |||
+ | #twitter_head { | ||
+ | margin-bottom: .6em; | ||
+ | border-bottom: 1px solid #AAA; | ||
+ | font-size: 150%; | ||
+ | } | ||
+ | |||
+ | #twitter_head p {layout:block; margin-bottom:2px;} | ||
+ | #twitter_head a {float:right; layout:block;} | ||
#sidebar { | #sidebar { | ||
+ | right:5px; | ||
width: 300px; | width: 300px; | ||
float: right; | float: right; | ||
- | margin-right: | + | margin-right: 0px; |
- | border | + | border: none; |
- | + | ||
- | + | ||
padding: 0px; | padding: 0px; | ||
+ | padding-top:5px; | ||
} | } | ||
Line 155: | Line 239: | ||
padding: 10px; | padding: 10px; | ||
line-height: 1.2em; | line-height: 1.2em; | ||
+ | font-size: 14px; | ||
} | } | ||
Line 176: | Line 261: | ||
#headerlinks > #nav > li { | #headerlinks > #nav > li { | ||
border-bottom: 4px solid white; | border-bottom: 4px solid white; | ||
+ | } | ||
+ | |||
+ | #sidebar a{ | ||
+ | text-decoration: none; | ||
+ | color: #7F5217; | ||
+ | } | ||
+ | |||
+ | #sidebar a:hover{ | ||
+ | color: #A0C544; | ||
+ | text-decoration: none; | ||
} | } | ||
Line 184: | Line 279: | ||
text-align: center; | text-align: center; | ||
background-color: #827B60; | background-color: #827B60; | ||
- | color: white; | + | color: white !important; |
padding: 10px 0px 10px 0px; | padding: 10px 0px 10px 0px; | ||
- | margin-bottom: 5px | + | margin-bottom: 5px |
} | } | ||
+ | |||
a.sidebarlinks:hover { | a.sidebarlinks:hover { | ||
background-color: #A0C544; | background-color: #A0C544; | ||
- | + | color: white !important; | |
} | } | ||
- | + | a.timelinelinks { | |
- | + | color: #7F5217 !important; | |
- | + | ||
} | } | ||
- | + | a.timelinelinks:hover { | |
- | + | color: #A0C544 !important; | |
- | + | ||
} | } | ||
- | + | #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 --> | ||
</html> | </html> |
Latest revision as of 03:37, 28 October 2010