Difference between revisions of "Team:Cambridge-JIC/Templates/Menu"
Line 53: | Line 53: | ||
$(this).children("div").css("margin-left", "30px") | $(this).children("div").css("margin-left", "30px") | ||
− | $ | + | $(".team .face .profile p").data("fsz", $(".team .face .profile p").css("font-size")); |
− | $ | + | $(".team .face .profile p").css("font-size", "70%") |
$(this).data("img", $(this).css("background-image")); | $(this).data("img", $(this).css("background-image")); | ||
Line 78: | Line 78: | ||
$(this).children("div").css("font-size", $(this).children("div").data("fsz")) | $(this).children("div").css("font-size", $(this).children("div").data("fsz")) | ||
$(this).children("div").css("margin-left", $(this).children("div").data("ml")) | $(this).children("div").css("margin-left", $(this).children("div").data("ml")) | ||
− | $ | + | $(".team .face .profile p").css("font-size", $(this).children(".team .face .profile p").data("fsz")) |
} | } | ||
}); | }); |
Revision as of 09:59, 28 July 2015