{"_id":"8-point","_rev":"6-013f24ccb27a784e9a9fea3cba1ddaab","name":"8-point","description":"8-point soft-grid classes.","dist-tags":{"latest":"1.2.1"},"versions":{"1.0.0":{"name":"8-point","version":"1.0.0","description":"8-point soft-grid classes.","main":"8-point.css","style":"8-point.css","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chantastic/8-point.git"},"author":{"name":"Michael Chan","url":"chantastic"},"license":"MIT","bugs":{"url":"https://github.com/chantastic/8-point/issues"},"homepage":"https://github.com/chantastic/8-point#readme","gitHead":"560d3edec8554f25efe087184aab287edc670739","_id":"8-point@1.0.0","_shasum":"682b4b7fd6c36a2379458eeddab10567e66e1113","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"chantastic","email":"mijoch@gmail.com"},"dist":{"shasum":"682b4b7fd6c36a2379458eeddab10567e66e1113","tarball":"https://registry.npmjs.org/8-point/-/8-point-1.0.0.tgz","integrity":"sha512-icPTtPhkEsc+wGmIenVjRIXD6bmkUePCfUrnmiIWnr4UpQ8ISvllQ6qSJmKpnZ21iT5aI5eFZIswYr7tRgBMOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNVx0usL5ZlpAudeR2kcilzfuJsFEJagPkyBdOlCcehQIgWKT3v+J5Z3JbdFp2vOa6M5Aggx1TB8QaRSb4WKyAkVw="}]},"maintainers":[{"name":"chantastic","email":"mijoch@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/8-point-1.0.0.tgz_1484172142632_0.5876667283009738"},"directories":{}},"1.1.0":{"name":"8-point","version":"1.1.0","description":"8-point soft-grid classes.","main":"8-point.css","style":"8-point.css","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chantastic/8-point.git"},"author":{"name":"Michael Chan","url":"chantastic"},"license":"MIT","bugs":{"url":"https://github.com/chantastic/8-point/issues"},"homepage":"https://github.com/chantastic/8-point#readme","licenseText":"MIT License\n\nCopyright (c) 2016 Michael Chan\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"8-point@1.1.0","dist":{"shasum":"9701e46c260feb0c31167ad83e4d9037ed88bec2","tarball":"https://registry.npmjs.org/8-point/-/8-point-1.1.0.tgz","integrity":"sha512-Fydrm9qqgF1DnHGUNMRmMOG+fSv3pAudrcdG6Fpmc0KUyu9mbxrqnrY6Y3tnrdnxxAW1v49B5mDzpagMftBBQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA6VnDGO9Bvvd7Z8xe0lsl1PuyEu/bRMabBFx/WKoa0uAiEAiBSWxv5YCsN0t4loRYX1h/6w0BOL/DdYtQfB9lUnPwI="}]},"maintainers":[{"name":"chantastic","email":"mijoch@gmail.com"}],"_npmUser":{"name":"chantastic","email":"mijoch@gmail.com"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/8-point-1.1.0.tgz_1484596807797_0.8674124039243907"},"directories":{}},"1.2.0":{"name":"8-point","version":"1.2.0","description":"8-point soft-grid classes.","main":"8-point.css","style":"8-point.css","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chantastic/8-point.git"},"author":{"name":"Michael Chan","url":"chantastic"},"license":"MIT","bugs":{"url":"https://github.com/chantastic/8-point/issues"},"homepage":"https://github.com/chantastic/8-point#readme","gitHead":"7b1798f2b8337a6504eb9945cc23f7cbfd0e2217","_id":"8-point@1.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"chantastic","email":"mijoch@gmail.com"},"dist":{"integrity":"sha512-Mkrv5NXOPc+iV8JydEg8wWz++q0m2+bwDaXRAmYb/3MhmPywzAmUCtulNb4tVmrUsPYEHqkZ3MK0JpvAu53LOA==","shasum":"8defe01bca7a99b67a4cd2e051b082a14f59b5ac","tarball":"https://registry.npmjs.org/8-point/-/8-point-1.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICcyPjASJEUfiqOlS24VQxwsCikrVMAAGR0abxIbKdoYAiA3xVdZ7huqzcOT5OJWSrxQBqur+F86J0bIv/DP9jXZjw=="}]},"maintainers":[{"name":"chantastic","email":"mijoch@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/8-point-1.2.0.tgz_1513143699587_0.12199704023078084"},"directories":{}},"1.2.1":{"name":"8-point","version":"1.2.1","description":"8-point soft-grid classes.","main":"8-point.css","style":"8-point.css","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/chantastic/8-point.git"},"author":{"name":"Michael Chan","url":"chantastic"},"license":"MIT","bugs":{"url":"https://github.com/chantastic/8-point/issues"},"homepage":"https://github.com/chantastic/8-point#readme","gitHead":"869ed9d14fa4eaeb1e3aff6f7faf18bffac46663","_id":"8-point@1.2.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"chantastic","email":"mijoch@gmail.com"},"dist":{"integrity":"sha512-9RAax22s9NXhOo5uwHlq49fA1R68dA7sL+j0Q6DrI38z6Rl9srd/Ifd+hkoUUsAE+e+FRxxuqWKW7l/YMXkSgA==","shasum":"d4c3b59ceaf5d2f518430b65a2961a4f3fd8896b","tarball":"https://registry.npmjs.org/8-point/-/8-point-1.2.1.tgz","fileCount":14,"unpackedSize":69843,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa42PHCRA9TVsSAnZWagAAvnUP/3W2Rx5tWViKUgR+QZnJ\n6isJDwIuNs8KL+cWq50Jf6y0RYUzTwDTxRyY2WesDBguSjhX5TBuq9H9M30g\nPMfSCIWqFZ3aOQTw9sd3UalhroJWdMzyyiwZD7cFJXbaKIfY8kU3jNDUZ61n\nBq4AQ5fSrijLtL/MlO79CXCRRMNjQJmCG8vL+UE+GXon7Ocn/ehpBwE+GmDr\n96iScbSPi5fzYZaWIkakUxk6k+gpIkWUeHuq1GlbB3uqzgC1zbNZk89OTRS2\nKidmlKvbEnVtOrI5Kk5I9FJ7nYxHBhDQ+2WoN2ir+pm/nfQKYmG/615nb+Oe\nOr/7BNvJE9D9DHcBe8oq7EuQNtwqF1bJkELJPc3Pi9nr/S+VGOBQP3DfUyDa\nHe+RxaIxqptJyUNMdb9LSfjiHkH2BHyrwwoGXraECtzDSgjLqMWypWTnYUvj\njxa2RmKwktdX0ToQWOylZN11ljLJ5a+l894CLQP3cX89iJjf2s9s7HO0kxOX\nemDmHHvsFwvFFTavnXoKooUC+jaJv35g+qCT45C0HC/3OcFs4IZOnTqCOtVh\n2rH96QlTS92X13w2KPTVKZ1xVscwcMEwJuCUYx4cAvC6cC5/gbvs49fBVFmz\nTU5rxhW9VZISlbPJPH8i4eFUbZ+RyF4cQFqriPc9qQ3/5zhXWSpBHeWkpj2F\nA6Io\r\n=4LAH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnsy2cWuNMorEhke+t7tueQ9tJhBklCE6KRfn2NQhnJAIhAMaGwDYUchs6ammLbQ7u/+562TrPI5JW/GNxFEC/4y5y"}]},"maintainers":[{"name":"chantastic","email":"mijoch@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/8-point_1.2.1_1524851654346_0.22099501559911294"},"_hasShrinkwrap":false}},"readme":"# 8-point\nA set of 8 point grid classes.\n\n## Why\n\n[8-point grid](https://spec.fm/specifics/8-pt-grid) is a thing.\nIt's a good thing at that.\n\n8 has a lot of advantages as a number.\nIt's chief adavntage is that it bifurcates evenly.\nSo devices that do any type of strange scaling don't end up with half-values.\n\nThis is good.\n\nThis lib just offers a set of classes for using an 8-point soft grid with the css box model. It incluedes classes for `margin`, `padding`, `TRBL`, `width`, `height`, and \"size\".\n\n## Anatomy\n\nThe class names break down like this:\n\n```txt\n{acronymized CSS property}-{n × 8px}\n```\n\nFor example:\n\n```css\n.p-1 { padding:  8px }  /* 1 × 8px */\n.p-2 { padding: 16px } /* 2 × 8px */\n.p-3 { padding: 24px } /* 3 × 8px */\n```\n\nYou can use side-specific properties as well:\n\n```css\n.mt-1 { margin-top: 8px }\n.mr-1 { margin-right: 8px }\n.mb-1 { margin-bottom: 8px }\n.ml-1 { margin-left: 8px }\n\n/* x and y added for convenience */\n\n.my-1 { margin-top: 8px; margin-bottom: 8px }\n.mx-1 { margin-right: 8px; margin-left: 8px }\n```\n\n## Legend\n\n#### properties\n\n```txt\nm  = margin\nmt = margin-top\nmr = margin-right\nmb = margin-bottom\nml = margin-left\nmy = margin-top; margin-bottom\nmx = margin-right; margin-left\n\np  = padding\npt = padding-top\npr = padding-right\npb = padding-bottom\npl = padding-left\npy = padding-top; padding-bottom\npx = padding-right; margin-left\n\nt = top\nr = right\nb = bottom\nl = left\n\nlh = line-height\n\nw = width\nh = height\n\ns = width; height\n```\n\n#### values\n\n```txt\n1 = 8px\n2 = 16px\n3 = 24px\n4 = 32px\n5 = 40px\n6 = 48px\n7 = 56px\n8 = 64px\n```\n\n## Install\nNPM:\n`npm i -S 8-point`\n\n## Use\n```html\n<div class=\"m-1 p-3\">\n  This has 8px margin and 24px padding.\n</div>\n\n<img\n  src=\"./path/img.ext\"\n  class=\"s-8\"\n  alt=\"this img is 64px high and wide\"\n/>\n```\n\n## License\n\nMIT License\n\nCopyright (c) 2016 Michael Chan\n","maintainers":[{"name":"chantastic","email":"mijoch@gmail.com"}],"time":{"modified":"2022-06-12T14:08:43.310Z","created":"2017-01-11T22:02:24.639Z","1.0.0":"2017-01-11T22:02:24.639Z","1.1.0":"2017-01-16T20:00:08.016Z","1.2.0":"2017-12-13T05:41:40.245Z","1.2.1":"2018-04-27T17:54:14.450Z"},"homepage":"https://github.com/chantastic/8-point#readme","repository":{"type":"git","url":"git+https://github.com/chantastic/8-point.git"},"author":{"name":"Michael Chan","url":"chantastic"},"bugs":{"url":"https://github.com/chantastic/8-point/issues"},"license":"MIT","readmeFilename":"README.md"}