Reorganized CSS in header file

Moved badge class to layout so it can be reused else where