make it compilable
minor css tweaks, use border-box