You can use a stylus for loop for these but it can't be nested.

https://github.com/mozilla/fireplace/blob/master/hearth/media/css/site.styl#L424