{"id":19864232,"url":"https://github.com/tachyons-css/tachyons-negative-margins","last_synced_at":"2025-05-02T05:30:51.422Z","repository":{"id":65513971,"uuid":"97324845","full_name":"tachyons-css/tachyons-negative-margins","owner":"tachyons-css","description":"Module moved to the Tachyons monorepo","archived":false,"fork":false,"pushed_at":"2022-09-26T21:41:01.000Z","size":63,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-06T22:42:48.257Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/tachyons-css/tachyons","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tachyons-css.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":"code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-15T15:31:36.000Z","updated_at":"2023-06-13T23:39:38.000Z","dependencies_parsed_at":"2023-01-26T21:00:16.151Z","dependency_job_id":null,"html_url":"https://github.com/tachyons-css/tachyons-negative-margins","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachyons-css%2Ftachyons-negative-margins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachyons-css%2Ftachyons-negative-margins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachyons-css%2Ftachyons-negative-margins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachyons-css%2Ftachyons-negative-margins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tachyons-css","download_url":"https://codeload.github.com/tachyons-css/tachyons-negative-margins/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251992629,"owners_count":21677018,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T15:17:56.261Z","updated_at":"2025-05-02T05:30:46.402Z","avatar_url":"https://github.com/tachyons-css.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tachyons-negative-margins 1.0.1\n\nnegative-margins CSS module for Tachyons\n\n### Stats\n\n716 | 140 | 140\n---|---|---\nbytes | selectors | declarations\n\n## Installation\n\n#### With [npm](https://npmjs.com)\n\n```\nnpm install --save-dev tachyons-negative-margins\n```\n\nLearn more about using css installed with npm:\n* https://webpack.github.io/docs/stylesheets.html\n* https://github.com/defunctzombie/npm-css\n\n#### With Git\n\nhttp:\n```\ngit clone https://github.com/tachyons-css/tachyons-negative-margins\n```\n\nssh:\n```\ngit clone git@github.com:tachyons-css/tachyons-negative-margins.git\n```\n\n## Usage\n\n#### Using with [Postcss](https://github.com/postcss/postcss)\n\nImport the css module\n\n```css\n@import \"tachyons-negative-margins\";\n```\n\nThen process the css using the [`tachyons-cli`](https://github.com/tachyons-css/tachyons-cli)\n\n```sh\n$ npm i -g tachyons-cli\n$ tachyons path/to/css-file.css \u003e dist/t.css\n```\n\n#### Using the css\n\n##### CDN\nThe easiest and most simple way to use the css is to use the cdn hosted version. Include it in the head of your html with:\n\n```\n\u003clink rel=\"stylesheet\" href=\"http://unpkg.com/tachyons-negative-margins@1.0.1/css/tachyons-negative-margins.min.css\" /\u003e\n```\n\n##### Locally\nThe built css is located in the `css` directory. It contains an unminified and minified version.\nYou can either cut and paste that css or link to it directly in your html.\n\n```html\n\u003clink rel=\"stylesheet\" href=\"path/to/module/css/tachyons-negative-margins\"\u003e\n```\n\n#### Development\n\nThe source css files can be found in the `src` directory.\nRunning `$ npm start` will process the source css and place the built css in the `css` directory.\n\n## The css\n\n```css\n/*\n   TACHYONS - NEGATIVE MARGINS\n\n   Base:\n     n = negative\n\n   Modifiers:\n     a = all\n     t = top\n     r = right\n     b = bottom\n     l = left\n\n     1 = 1st step in spacing scale\n     2 = 2nd step in spacing scale\n     3 = 3rd step in spacing scale\n     4 = 4th step in spacing scale\n     5 = 5th step in spacing scale\n     6 = 6th step in spacing scale\n     7 = 7th step in spacing scale\n\n   Media Query Extensions:\n     -ns = not-small\n     -m  = medium\n     -l  = large\n\n*/\n.na1 { margin: undefined; }\n.na2 { margin: undefined; }\n.na3 { margin: undefined; }\n.na4 { margin: undefined; }\n.na5 { margin: undefined; }\n.na6 { margin: undefined; }\n.na7 { margin: undefined; }\n.nl1 { margin-left: undefined; }\n.nl2 { margin-left: undefined; }\n.nl3 { margin-left: undefined; }\n.nl4 { margin-left: undefined; }\n.nl5 { margin-left: undefined; }\n.nl6 { margin-left: undefined; }\n.nl7 { margin-left: undefined; }\n.nr1 { margin-right: undefined; }\n.nr2 { margin-right: undefined; }\n.nr3 { margin-right: undefined; }\n.nr4 { margin-right: undefined; }\n.nr5 { margin-right: undefined; }\n.nr6 { margin-right: undefined; }\n.nr7 { margin-right: undefined; }\n.nb1 { margin-bottom: undefined; }\n.nb2 { margin-bottom: undefined; }\n.nb3 { margin-bottom: undefined; }\n.nb4 { margin-bottom: undefined; }\n.nb5 { margin-bottom: undefined; }\n.nb6 { margin-bottom: undefined; }\n.nb7 { margin-bottom: undefined; }\n.nt1 { margin-top: undefined; }\n.nt2 { margin-top: undefined; }\n.nt3 { margin-top: undefined; }\n.nt4 { margin-top: undefined; }\n.nt5 { margin-top: undefined; }\n.nt6 { margin-top: undefined; }\n.nt7 { margin-top: undefined; }\n@media screen and (min-width: 30em) {\n .na1-ns { margin: undefined; }\n .na2-ns { margin: undefined; }\n .na3-ns { margin: undefined; }\n .na4-ns { margin: undefined; }\n .na5-ns { margin: undefined; }\n .na6-ns { margin: undefined; }\n .na7-ns { margin: undefined; }\n .nl1-ns { margin-left: undefined; }\n .nl2-ns { margin-left: undefined; }\n .nl3-ns { margin-left: undefined; }\n .nl4-ns { margin-left: undefined; }\n .nl5-ns { margin-left: undefined; }\n .nl6-ns { margin-left: undefined; }\n .nl7-ns { margin-left: undefined; }\n .nr1-ns { margin-right: undefined; }\n .nr2-ns { margin-right: undefined; }\n .nr3-ns { margin-right: undefined; }\n .nr4-ns { margin-right: undefined; }\n .nr5-ns { margin-right: undefined; }\n .nr6-ns { margin-right: undefined; }\n .nr7-ns { margin-right: undefined; }\n .nb1-ns { margin-bottom: undefined; }\n .nb2-ns { margin-bottom: undefined; }\n .nb3-ns { margin-bottom: undefined; }\n .nb4-ns { margin-bottom: undefined; }\n .nb5-ns { margin-bottom: undefined; }\n .nb6-ns { margin-bottom: undefined; }\n .nb7-ns { margin-bottom: undefined; }\n .nt1-ns { margin-top: undefined; }\n .nt2-ns { margin-top: undefined; }\n .nt3-ns { margin-top: undefined; }\n .nt4-ns { margin-top: undefined; }\n .nt5-ns { margin-top: undefined; }\n .nt6-ns { margin-top: undefined; }\n .nt7-ns { margin-top: undefined; }\n}\n@media screen and (min-width: 30em) and (max-width: 60em) {\n .na1-m { margin: undefined; }\n .na2-m { margin: undefined; }\n .na3-m { margin: undefined; }\n .na4-m { margin: undefined; }\n .na5-m { margin: undefined; }\n .na6-m { margin: undefined; }\n .na7-m { margin: undefined; }\n .nl1-m { margin-left: undefined; }\n .nl2-m { margin-left: undefined; }\n .nl3-m { margin-left: undefined; }\n .nl4-m { margin-left: undefined; }\n .nl5-m { margin-left: undefined; }\n .nl6-m { margin-left: undefined; }\n .nl7-m { margin-left: undefined; }\n .nr1-m { margin-right: undefined; }\n .nr2-m { margin-right: undefined; }\n .nr3-m { margin-right: undefined; }\n .nr4-m { margin-right: undefined; }\n .nr5-m { margin-right: undefined; }\n .nr6-m { margin-right: undefined; }\n .nr7-m { margin-right: undefined; }\n .nb1-m { margin-bottom: undefined; }\n .nb2-m { margin-bottom: undefined; }\n .nb3-m { margin-bottom: undefined; }\n .nb4-m { margin-bottom: undefined; }\n .nb5-m { margin-bottom: undefined; }\n .nb6-m { margin-bottom: undefined; }\n .nb7-m { margin-bottom: undefined; }\n .nt1-m { margin-top: undefined; }\n .nt2-m { margin-top: undefined; }\n .nt3-m { margin-top: undefined; }\n .nt4-m { margin-top: undefined; }\n .nt5-m { margin-top: undefined; }\n .nt6-m { margin-top: undefined; }\n .nt7-m { margin-top: undefined; }\n}\n@media screen and (min-width: 60em) {\n .na1-l { margin: undefined; }\n .na2-l { margin: undefined; }\n .na3-l { margin: undefined; }\n .na4-l { margin: undefined; }\n .na5-l { margin: undefined; }\n .na6-l { margin: undefined; }\n .na7-l { margin: undefined; }\n .nl1-l { margin-left: undefined; }\n .nl2-l { margin-left: undefined; }\n .nl3-l { margin-left: undefined; }\n .nl4-l { margin-left: undefined; }\n .nl5-l { margin-left: undefined; }\n .nl6-l { margin-left: undefined; }\n .nl7-l { margin-left: undefined; }\n .nr1-l { margin-right: undefined; }\n .nr2-l { margin-right: undefined; }\n .nr3-l { margin-right: undefined; }\n .nr4-l { margin-right: undefined; }\n .nr5-l { margin-right: undefined; }\n .nr6-l { margin-right: undefined; }\n .nr7-l { margin-right: undefined; }\n .nb1-l { margin-bottom: undefined; }\n .nb2-l { margin-bottom: undefined; }\n .nb3-l { margin-bottom: undefined; }\n .nb4-l { margin-bottom: undefined; }\n .nb5-l { margin-bottom: undefined; }\n .nb6-l { margin-bottom: undefined; }\n .nb7-l { margin-bottom: undefined; }\n .nt1-l { margin-top: undefined; }\n .nt2-l { margin-top: undefined; }\n .nt3-l { margin-top: undefined; }\n .nt4-l { margin-top: undefined; }\n .nt5-l { margin-top: undefined; }\n .nt6-l { margin-top: undefined; }\n .nt7-l { margin-top: undefined; }\n}\n```\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## Authors\n\n* [mrmrs](http://mrmrs.io)\n* [johno](http://johnotander.com)\n\n## License\n\nISC\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftachyons-css%2Ftachyons-negative-margins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftachyons-css%2Ftachyons-negative-margins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftachyons-css%2Ftachyons-negative-margins/lists"}