Added type-weight mixin and fixed normalize base styling