Difference between revisions of "Template:Fudan-CHINA"

Line 2: Line 2:
 
 
 
 
 
 
<!--start---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 
<!--start---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 
 
Line 13: Line 12:
 
#top_menu_14{position: fixed;top:0;}
 
#top_menu_14{position: fixed;top:0;}
 
#mw-content-text>p{padding: 0; margin: 0;width: 100%;}
 
#mw-content-text>p{padding: 0; margin: 0;width: 100%;}
 +
a, button, input, textarea {
 +
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
 +
    -moz-transition: all .3s ease;
 +
    -webkit-transition: all .3s ease;
 +
    transition: all .3s ease;
 +
}
 
</style>
 
</style>
  
Line 378: Line 383:
 
var barHeight=$("#top_menu_14").height();
 
var barHeight=$("#top_menu_14").height();
 
if(topDis >0.2*winHeight){
 
if(topDis >0.2*winHeight){
$("#navUl").stop().animate({top:barHeight,backgroundColor:"rgba(42,52,72,0.5)",boxShadow:"0px 0px 5px"},"fast");
+
$("#navUl").stop().animate({top:barHeight,backgroundColor:"rgba(42,52,72,0.8)",boxShadow:"0px 0px 5px"},"fast");
 
    $(".navA:not(.activeA)").hover(function () {
 
    $(".navA:not(.activeA)").hover(function () {
 
                 $(this).addClass("jqhover");
 
                 $(this).addClass("jqhover");
Line 401: Line 406:
 
 
 
<!---------------------------------------------------------------------------------------------------------------------------------------------------->
 
<!---------------------------------------------------------------------------------------------------------------------------------------------------->
 
 
  
 
 

Revision as of 10:11, 28 September 2018