Reorganized stylesheet architecture

Temporarily bugged up layout. Don't worry.