Template:Team:KIT-Kyoto/navi

From 2014.igem.org

(Difference between revisions)
 
(26 intermediate revisions not shown)
Line 9: Line 9:
function(){
function(){
$(this).stop().animate({
$(this).stop().animate({
-
'marginLeft':'-157px'
+
'marginLeft':'-173px'
},'fast','swing');
},'fast','swing');
},
},
Line 18: Line 18:
}
}
);
);
-
        $('#close a')
 
-
        .click(function(){
 
-
                var closed = $("#close").hasClass("close");
 
-
                if(closed){
 
-
                        $("#SideMenu").animate({left:'-215px'},500,'swing');
 
-
                        $("#close").animate({left:'0px'},500,'swing').removeClass("close");
 
-
                }else {
 
-
                        $("#SideMenu").animate({left:'0px'},500,'swing');
 
-
                        $("#close").animate({left:'215px'},500,'swing').addClass("close");
 
-
                }
 
-
        });
 
});
});
</script>
</script>
Line 57: Line 46:
padding:3px 10px;
padding:3px 10px;
margin:0;
margin:0;
-
font-size:15px;
 
z-index:10;
z-index:10;
}
}
Line 81: Line 69:
  'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3',
  'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3',
  Meiryo, メイリオ, sans-serif;
  Meiryo, メイリオ, sans-serif;
 +
font-size:13px;
-moz-transition-duration: 0.5s;
-moz-transition-duration: 0.5s;
-webkit-transition: 0.5s;
-webkit-transition: 0.5s;
Line 93: Line 82:
text-decoration:none;
text-decoration:none;
display:block;
display:block;
 +
text-align:right;
}
}
Line 108: Line 98:
margin-top:0;
margin-top:0;
margin-right:20px;
margin-right:20px;
-
text-align:left;
 
font-size:x-small;
font-size:x-small;
border-bottom:1px solid #ffa200;
border-bottom:1px solid #ffa200;
Line 118: Line 107:
ul.slidemenu li a{
ul.slidemenu li a{
 +
text-align:left;
text-decoration:none;
text-decoration:none;
}
}
Line 131: Line 121:
}
}
.menuimg{
.menuimg{
-
width:384px;
+
width:400px;
height:21px;
height:21px;
text-align:right;
text-align:right;
Line 167: Line 157:
}
}
#close a{
#close a{
-
color:#fff;
 
display:block;
display:block;
-
text-decoration:none;
+
height:20px;
-
font-size:14px;
+
width:35px;
-
font-weight:bold;
+
background-image:url("https://static.igem.org/mediawiki/2014/6/6d/Kit_close.png");
-
background-color:rgba(0,0,0,0.5);
+
background-color:rgba(0,0,0,0.4);
-
background-image:url(/wiki/images/6/6d/Kit_close.png) no-repeat center;
+
background-size:contain;
}
}
#close a:hover{
#close a:hover{
-
background-color:rgba(0,0,0,0.3);
+
background-color:rgba(0,0,0,0.1);
}
}

Latest revision as of 18:30, 17 October 2014