Rework inheritance to support @media
release 0.3.0