ported core.scss from scratch