Template:Harvard css

From 2010.igem.org

(Difference between revisions)
 
(100 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<head>
 
<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;
 +
}
-
#allcontent {
+
#globalWrapper {
-
       width: 950px;
+
       padding-bottom: 0px;
}
}
 +
#footer-box {
 +
      width: 952px;
 +
}
 +
 +
 +
#allcontent, #p-logo {
 +
      width: 950px !important;
 +
}
 +
 +
.firstHeading {
 +
  display:none;
 +
}
body {
body {
-
        margin-left: 10%;
+
 +
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: 965px;
+
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;
}
}
 +
   
   
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;  
   text-decoration: none;  
}
}
Line 107: 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 127: 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;
-
         width: 280px;
+
         margin-right: 0px;
}
}
#twitter_div ul {
#twitter_div ul {
line-height: 1.3em;
line-height: 1.3em;
-
text-indent: 3px;
+
        list-style-type: none;
-
list-style-image: url('https://static.igem.org/mediawiki/2010/1/11/Harvard2010leaficon.png');
+
}
}
 +
 +
#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: 6px;
+
margin-right: 0px;
-
border-style: solid;
+
border: none;
-
border-color: white;
+
-
border-width: 1px;
+
padding: 0px;
padding: 0px;
 +
        padding-top:5px;
}
}
Line 178: 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 186: 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;
+
        color: white !important;
}
}
-
#sidebar a{
+
a.timelinelinks {
-
      text-decoration: none;
+
      color: #7F5217 !important;
-
      color: #7F5217;
+
}
}
-
#sidebar a:hover{
+
a.timelinelinks:hover {
-
    color: #A0C544;
+
      color: #A0C544 !important;
-
    text-decoration: none;
+
}
}
-
 
+
#content {
 +
      padding: 6px;
 +
      padding-top: 1px;
 +
}
</style>
</style>
-
</head>
+
<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