Difference between revisions of "Team:Cambridge-JIC/Templates/Menu"
Line 52: | Line 52: | ||
$(this).children("div").data("ml", $(this).children("div").css("margin-left")); | $(this).children("div").data("ml", $(this).children("div").css("margin-left")); | ||
$(this).children("div").css("margin-left", "30px") | $(this).children("div").css("margin-left", "30px") | ||
+ | |||
+ | $(this).children(".team .face .profile p").data("fsz", $(this).children(".team .face .profile p").css("font-size")); | ||
+ | $(this).children(".team .face .profile p").css("font-size", "70%") | ||
$(this).data("img", $(this).css("background-image")); | $(this).data("img", $(this).css("background-image")); | ||
Line 75: | 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")) | ||
+ | $(this).children(".team .face .profile p").css("font-size", $(this).children(".team .face .profile p").data("fsz")) | ||
} | } | ||
}); | }); |
Revision as of 09:56, 28 July 2015