User:Klap Trap/global.js

$(function{ mw.util.addCSS('.AccountNavigation .account-navigation-first-item .avatar-container{height:40px;width:40px;background-image:url('+$('.AccountNavigation .account-navigation-first-item .avatar-container>img').attr('src').replace('width/20','width/40')+')}.AccountNavigation .account-navigation-first-item .avatar-container>img{display:none}.global-navigation.inverse .account-navigation-container .logged-avatar{height:40px;width:40px}'); });