Semantic grid implementation for Stylus