Add @mixin rhythm-adjust; reorganize code