Template:Code

From 2013.igem.org

(Difference between revisions)
 
(36 intermediate revisions not shown)
Line 19: Line 19:
.main_frame {
.main_frame {
-
margin: 10px;
+
margin-left: 30px;
 +
margin-right: 30px;
}
}
Line 28: Line 29:
a:visited {
a:visited {
color: #428c36;
color: #428c36;
-
}
 
-
 
-
#content {
 
-
color: #001f3d;
 
}
}
Line 52: Line 49:
table tr td {
table tr td {
   vertical-align: text-top;
   vertical-align: text-top;
 +
  color: #001f3d;
}
}
-
.content {
+
.footer {
-
  margin-left: 210px;
+
  font-size: 11pt;
-
  margin-right: 20px;
+
  color: #2b6196;
 +
  line-height: 100%;
 +
  margin-bottom: 10px;
 +
}
 +
 
 +
#content {
 +
  color: #001f3d;
}
}
#side_menu {
#side_menu {
     float: left;
     float: left;
-
     background-color: #E0F8E0;
+
     width:220px;
-
     position: absolute;
+
     font-family: Perpetua, serif;
-
     width:200px;
+
     margin-right: 50px;
 +
}
 +
 
 +
#side_menu a, #side_menu a:visited{
 +
  color: #428c36
 +
}
 +
#side_menu ul {
 +
    list-style: disc;
 +
    margin-left: 0px;
}
}
#side_menu ul li{
#side_menu ul li{
-
    list-style:none;
 
-
    color:#1b2c8a;
 
     margin-right: 10px;
     margin-right: 10px;
-
     font-size: 13px;
+
     font-size: 13.5pt;
     font-weight: bold;
     font-weight: bold;
     display: block;
     display: block;
 +
background-color: #acd8a6;
 +
padding: 5px;
 +
margin-bottom: 5px;
}  
}  
 +
 +
ul {
 +
line-height: 110%;
 +
}
ul.side_submenu {
ul.side_submenu {
     display: none;
     display: none;
     left: -20px;
     left: -20px;
-
    background-color: #4488ff;
+
 
}
}
Line 184: Line 201:
     return document.body.s;
     return document.body.s;
   }
   }
-
 
-
 
-
window.onscroll = function() {
 
-
    var side_menu = document.getElementById("side_menu");
 
-
//    side_menu.style.marginTop = getScrollTop().toString() + "px";
 
-
  $("#side_menu").stop().animate({marginTop: getScrollTop().toString() + "px"}, 100 );
 
-
}
 
$(function() {
$(function() {

Latest revision as of 15:44, 27 September 2013