Optimize repo element styles