Extract and factorize the header css in a new file

 fix ugly registration header design

One step forward for #3796