{"action":"created","issue":{"url":"https://api.github.com/repos/maxmx/bootstrap-stylus/issues/113","labels_url":"https://api.github.com/repos/maxmx/bootstrap-stylus/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/maxmx/bootstrap-stylus/issues/113/comments","events_url":"https://api.github.com/repos/maxmx/bootstrap-stylus/issues/113/events","html_url":"https://github.com/maxmx/bootstrap-stylus/issues/113","id":122059741,"number":113,"title":"Block-grid for Bootstrap","user":{"login":"fricks","id":1216136,"avatar_url":"https://avatars.githubusercontent.com/u/1216136?v=3","gravatar_id":"","url":"https://api.github.com/users/fricks","html_url":"https://github.com/fricks","followers_url":"https://api.github.com/users/fricks/followers","following_url":"https://api.github.com/users/fricks/following{/other_user}","gists_url":"https://api.github.com/users/fricks/gists{/gist_id}","starred_url":"https://api.github.com/users/fricks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fricks/subscriptions","organizations_url":"https://api.github.com/users/fricks/orgs","repos_url":"https://api.github.com/users/fricks/repos","events_url":"https://api.github.com/users/fricks/events{/privacy}","received_events_url":"https://api.github.com/users/fricks/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-14T15:02:15Z","updated_at":"2015-12-14T16:32:40Z","closed_at":"2015-12-14T16:11:19Z","body":"Hello. I'm trying to use this mixin in sass https://gist.github.com/Jursdotme/67abe379d4a357233d3c in stylus but it's not working. Is possible adpat this mixin for stylus? Any help is much appreciated. Thank you\r\n"},"comment":{"url":"https://api.github.com/repos/maxmx/bootstrap-stylus/issues/comments/164486809","html_url":"https://github.com/maxmx/bootstrap-stylus/issues/113#issuecomment-164486809","issue_url":"https://api.github.com/repos/maxmx/bootstrap-stylus/issues/113","id":164486809,"user":{"login":"maxmx","id":2332621,"avatar_url":"https://avatars.githubusercontent.com/u/2332621?v=3","gravatar_id":"","url":"https://api.github.com/users/maxmx","html_url":"https://github.com/maxmx","followers_url":"https://api.github.com/users/maxmx/followers","following_url":"https://api.github.com/users/maxmx/following{/other_user}","gists_url":"https://api.github.com/users/maxmx/gists{/gist_id}","starred_url":"https://api.github.com/users/maxmx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxmx/subscriptions","organizations_url":"https://api.github.com/users/maxmx/orgs","repos_url":"https://api.github.com/users/maxmx/repos","events_url":"https://api.github.com/users/maxmx/events{/privacy}","received_events_url":"https://api.github.com/users/maxmx/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T16:32:40Z","updated_at":"2015-12-14T16:32:40Z","body":"Cool\r\n\r\nI ended up testing locally and replaced that line with the `s` function\r\n\r\nThats guaranteed to work since I tried it.\r\n\r\n```\r\n[class*=\"block-grid-\"]\r\n  display: block\r\n  margin: -1 * ($grid-gutter-width/2);\r\n  padding: 0\r\n  clearfix()\r\n\r\n.block-grid-item\r\n  display: inline\r\n  margin: 0\r\n  padding: ($grid-gutter-width / 2)\r\n  height: auto\r\n  float: left\r\n  list-style: none\r\n\r\nblock-grid($per-row)\r\n  & > .block-grid-item\r\n    width: (100% / $per-row)\r\n    $nth-equation = s('%sn+1', $per-row)\r\n    &:nth-of-type(n)\r\n      clear: none\r\n    &:nth-of-type({$nth-equation})\r\n      clear: both\r\n\r\nblock-grids($size)\r\n  .block-grid-{$size}-1\r\n    block-grid(1)\r\n  .block-grid-{$size}-2\r\n    block-grid(2)\r\n  .block-grid-{$size}-3\r\n    block-grid(3)\r\n  .block-grid-{$size}-4\r\n    block-grid(4)\r\n  .block-grid-{$size}-5\r\n    block-grid(5)\r\n  .block-grid-{$size}-6\r\n    block-grid(6)\r\n  .block-grid-{$size}-7\r\n    block-grid(7)\r\n  .block-grid-{$size}-8\r\n    block-grid(8)\r\n  .block-grid-{$size}-9\r\n    block-grid(9)\r\n  .block-grid-{$size}-10\r\n    block-grid(10)\r\n  .block-grid-{$size}-11\r\n    block-grid(11)\r\n  .block-grid-{$size}-12\r\n    block-grid(12)\r\n\r\nblock-grids(xs)\r\n\r\n@media (min-width: $screen-sm-min)\r\n  block-grids(sm)\r\n\r\n@media (min-width: $screen-md-min)\r\n  block-grids(md)\r\n\r\n@media (min-width: $screen-lg-min)\r\n  block-grids(lg)\r\n```"}}