port premod css change to plainstyle