Team:Kyoto/Header2

From 2009.igem.org

(Difference between revisions)
m
(#navigation ul#navi_CiC{ margin-bottom:30px; })
 
(65 intermediate revisions not shown)
Line 1: Line 1:
 +
__NOTOC__
<html>
<html>
 +
<!--[if IE 6]>
 +
<script type="text/javascript" src="http://dillerdesign.com/experiment/DD_belatedPNG/DD_belatedPNG_0.0.8a-min.js"></script>
 +
<script type="text/javascript">
 +
DD_belatedPNG.fix('a');
 +
</script>
 +
<![endif]-->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js"></script>
<script type="text/javascript">
<script type="text/javascript">
<!--
<!--
-
initialize = function(prj){
+
  function initialize(prj){
-
  alert("ok");
+
    if(prj == "GSDD"){
-
  if(prj == "GSDD"){
+
      $("#extract_button_GSDD").css("background-position", "bottom");
-
    $("#extract_button_GSDD").css("background-position", "bottom");
+
      $("#navigation ul#navi_CiC li ul").css("display", "none");
-
    $("#navigation ul#navi_CiC li ul").css("display", "none");
+
      switch_CiC = false;
-
    switch_CiC = false;
+
      switch_GSDD = true;
-
    switch_GSDD = true;
+
    }else if(prj == "CiC"){
-
  }elsif(prj == "CiC"){
+
      $("#extract_button_CiC").css("background-position", "bottom");
-
    $("#extract_button_CiC").css("background-position", "bottom");
+
      $("#navigation ul#navi_GSDD li ul").css("display", "none");
-
    $("#navigation ul#navi_GSDD li ul").css("display", "none");
+
      switch_GSDD = false;
-
    switch_GSDD = false;
+
      switch_CiC = true;
-
    switch_CiC = true;
+
    }
   }
   }
-
};
 
-
 
$(function(){
$(function(){
   $("#navigation ul#navi_GSDD").append("<div id='extract_button_GSDD'></div>");
   $("#navigation ul#navi_GSDD").append("<div id='extract_button_GSDD'></div>");
   $("#navigation ul#navi_CiC").append("<div id='extract_button_CiC'></div>");
   $("#navigation ul#navi_CiC").append("<div id='extract_button_CiC'></div>");
 +
   $("#extract_button_GSDD").click(function(){
   $("#extract_button_GSDD").click(function(){
Line 72: Line 78:
body{
body{
   background:#41e5ff url(https://static.igem.org/mediawiki/2009/5/54/Kyoto_bg_tilt.png) repeat;
   background:#41e5ff url(https://static.igem.org/mediawiki/2009/5/54/Kyoto_bg_tilt.png) repeat;
 +
}
 +
a{
 +
  outline:0;
}
}
h1.firstHeading{
h1.firstHeading{
Line 85: Line 94:
   padding-top:0.1em;
   padding-top:0.1em;
   background:#E0E0E0;
   background:#E0E0E0;
 +
  _border-bottom: 1px solid rgb(68, 68, 68);/*ie6*/
}
}
#Kyoto_logo{
#Kyoto_logo{
Line 100: Line 110:
   margin-top:-0.5em;
   margin-top:-0.5em;
   background:url(https://static.igem.org/mediawiki/2009/9/9d/Kyoto_topicpath_bg.png) repeat-x;
   background:url(https://static.igem.org/mediawiki/2009/9/9d/Kyoto_topicpath_bg.png) repeat-x;
 +
  _width:965px;/*ie6*/
 +
  _margin:0;/*ie6*/
}
}
#topicpath ol{
#topicpath ol{
Line 105: Line 117:
   padding:0;
   padding:0;
   margin:0;
   margin:0;
 +
  width:975px;
 +
  _width:965px;/*ie6*/
}
}
#topicpath ol li{
#topicpath ol li{
-
  display:inline;
 
-
  margin-left:5px;
 
   color:white;
   color:white;
 +
  display:inline;
 +
  padding-left:5px;
 +
  line-height:20px;
}
}
#topicpath ol li a{
#topicpath ol li a{
   background:url(https://static.igem.org/mediawiki/2009/3/36/Kyoto_topicpath_arrow.png) no-repeat right;
   background:url(https://static.igem.org/mediawiki/2009/3/36/Kyoto_topicpath_arrow.png) no-repeat right;
-
}
 
-
#topicpath ol li a{
 
   padding-right:22px;
   padding-right:22px;
   line-height:20px;
   line-height:20px;
   color:white;
   color:white;
 +
}
 +
#topicpath ol li ol{
 +
  list-style:none;
 +
  padding:0;
 +
  margin:-18px 0 0 0;
 +
  margin-left:auto;
 +
  width:250px;
 +
}
 +
#topicpath ol li ol li{
 +
  display:inline;
 +
  color:white;
 +
  font-size:85%;
 +
}
 +
#topicpath ol li ol li a{
 +
  background:none;
 +
  line-height:20px;
 +
  color:white;
 +
  font-size:85%;
 +
  text-align:right;
}
}
#leftnavi{
#leftnavi{
   width:200px;
   width:200px;
-
  background:#777;
 
   float:left;
   float:left;
}
}
Line 128: Line 159:
}
}
#navigation ul{
#navigation ul{
-
   margin:0 0 0 20px;
+
   margin:0;
   list-style-type:none;
   list-style-type:none;
   list-style-image:none;
   list-style-image:none;
Line 154: Line 185:
#navigation ul#navi_CiC li a{
#navigation ul#navi_CiC li a{
   background-position:right top;
   background-position:right top;
 +
}
 +
#navigation ul#navi_CiC{
 +
  margin-bottom:30px;
}
}
#navigation ul#navi_CiC li a:hover{
#navigation ul#navi_CiC li a:hover{
Line 163: Line 197:
#navigation ul li ul li{
#navigation ul li ul li{
   list-style:none;
   list-style:none;
-
   height:40px;
+
   height:30px;
-
   width:160px;
+
   width:200px;
   margin:0;
   margin:0;
}
}
#navigation ul li ul li a{
#navigation ul li ul li a{
   display:block;
   display:block;
-
   height:40px;
+
   height:30px;
-
   width:160px;
+
   width:200px;
-
   line-height:40px;
+
   line-height:30px;
   text-indent:1em;
   text-indent:1em;
   background-image:url(https://static.igem.org/mediawiki/2009/2/26/Kyoto_menu_item.png);
   background-image:url(https://static.igem.org/mediawiki/2009/2/26/Kyoto_menu_item.png);
Line 185: Line 219:
   background-position:left top;
   background-position:left top;
}
}
 +
 +
#rightcontents{
#rightcontents{
   background:white;
   background:white;
-
   width:745px;  /* 965-200(left_width)-10*2(padding) */
+
   width:725px;  /* 965-200(left_width)-20*2(padding) */
-
   padding:10px;
+
   padding:20px;
   float:right;
   float:right;
}
}
 +
#calendar dl{
 +
  margin:10px;
 +
  padding:10px;
 +
  border:3px #AAA solid;
 +
  *border:none; /* ie6,7 */
 +
  background:#DDD;
 +
}
 +
#calendar dl dt{
 +
  border-top:1px #AAA solid;
 +
  padding:0;
 +
}
 +
#calendar dl dt a{
 +
  display:block;
 +
  width:6em;
 +
  text-align:right;
 +
}
 +
#calendar dl dd{
 +
  margin:-1.6em 0 0 10em;
 +
  font-size:90%;
 +
}
 +
 +
hr.pad_separator_start{
 +
  height:30px;
 +
  margin:30px 0 0 0;
 +
  background:url(https://static.igem.org/mediawiki/2009/7/79/Kyoto_pad_top.png);
 +
  *background:none; /* ie6,7 */
 +
  *display:none; /* ie6,7 */
 +
}
 +
div.pad_contents{
 +
  padding:20px 35px 20px 20px;
 +
  background:url(https://static.igem.org/mediawiki/2009/d/da/Kyoto_pad_center.png);
 +
  background-repeat:repeat-y;
 +
  *background:none; /* ie6,7 */
 +
  *background-color:#EEE; /* ie6,7 */
 +
}
 +
div.pad_contents h3{
 +
  display:inline;
 +
  padding:0.5em 1em;
 +
  line-height:2.5em;
 +
  border:2px #CCC solid;
 +
  background:#FFF
 +
}
 +
div.pad_contents h4{
 +
  margin-top:25px;
 +
  padding-left:10px;
 +
  width:50%;
 +
  height:25px;
 +
  line-height:25px;
 +
  border-top:2px #AAA solid;
 +
  border-left:2px #AAA solid;
 +
}
 +
div.pad_contents h5{
 +
  margin-top:25px;
 +
  padding-left:10px;
 +
  width:30%;
 +
  border-bottom:2px #AAA dotted;
 +
}
 +
 +
hr.pad_separator_end{
 +
  height:15px;
 +
  margin:0;
 +
  background:url(https://static.igem.org/mediawiki/2009/3/38/Kyoto_pad_bottom.png);
 +
  *background:none; /* ie6,7 */
 +
  *display:none; /* ie6,7 */
 +
}
 +
table.table,
 +
table.table th,
 +
table.table td{
 +
  border:1px #CCC solid;
 +
}
 +
table.table th{
 +
  text-align:center;
 +
}
 +
table.table td{
 +
  text-align:right;
 +
}
 +
h1,h2,h3,h4,h5{
 +
  border-bottom:1px #aaa solid;
 +
}
 +
</style><!-- ****************************************************************** -->
</style><!-- ****************************************************************** -->
</html>
</html>

Latest revision as of 02:52, 22 October 2009