I somewhat cleaned this up with
https://github.com/discourse/discourse/commit/8248abf73caded433151b8ab5f00cf7839729baf
But I think @awesomerobot needs to do another round of cleanup here, we need to pull all of the box styling into badges.css.scss, its all over the place now.