jekyll-theme-primer 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.md +21 -0
- data/README.md +21 -0
- data/_includes/.gitkeep +1 -0
- data/_layouts/default.html +14 -0
- data/_sass/jekyll-theme-primer.scss +8 -0
- data/_sass/normalize.css/CHANGELOG.md +135 -0
- data/_sass/normalize.css/LICENSE.md +21 -0
- data/_sass/normalize.css/README.md +128 -0
- data/_sass/normalize.css/normalize.scss +419 -0
- data/_sass/normalize.css/package.json +111 -0
- data/_sass/primer-base/CHANGELOG.md +48 -0
- data/_sass/primer-base/LICENSE +21 -0
- data/_sass/primer-base/README.md +48 -0
- data/_sass/primer-base/build/build.css +2 -0
- data/_sass/primer-base/index.scss +5 -0
- data/_sass/primer-base/lib/base.scss +66 -0
- data/_sass/primer-base/lib/typography-base.scss +85 -0
- data/_sass/primer-base/package.json +109 -0
- data/_sass/primer-layout/CHANGELOG.md +44 -0
- data/_sass/primer-layout/LICENSE +21 -0
- data/_sass/primer-layout/README.md +141 -0
- data/_sass/primer-layout/build/build.css +2 -0
- data/_sass/primer-layout/index.scss +4 -0
- data/_sass/primer-layout/lib/columns.scss +69 -0
- data/_sass/primer-layout/lib/container.scss +33 -0
- data/_sass/primer-layout/lib/grid-offset.scss +30 -0
- data/_sass/primer-layout/lib/grid.scss +48 -0
- data/_sass/primer-layout/package.json +105 -0
- data/_sass/primer-markdown/CHANGELOG.md +168 -0
- data/_sass/primer-markdown/LICENSE +21 -0
- data/_sass/primer-markdown/README.md +223 -0
- data/_sass/primer-markdown/build/build.css +2 -0
- data/_sass/primer-markdown/index.scss +8 -0
- data/_sass/primer-markdown/lib/blob-csv.scss +27 -0
- data/_sass/primer-markdown/lib/code.scss +76 -0
- data/_sass/primer-markdown/lib/headings.scss +65 -0
- data/_sass/primer-markdown/lib/images.scss +119 -0
- data/_sass/primer-markdown/lib/lists.scss +72 -0
- data/_sass/primer-markdown/lib/markdown-body.scss +111 -0
- data/_sass/primer-markdown/lib/tables.scss +29 -0
- data/_sass/primer-markdown/package.json +109 -0
- data/_sass/primer-support/CHANGELOG.md +66 -0
- data/_sass/primer-support/LICENSE +21 -0
- data/_sass/primer-support/README.md +42 -0
- data/_sass/primer-support/index.scss +7 -0
- data/_sass/primer-support/lib/mixins/layout.scss +52 -0
- data/_sass/primer-support/lib/mixins/misc.scss +29 -0
- data/_sass/primer-support/lib/mixins/typography.scss +76 -0
- data/_sass/primer-support/lib/variables.scss +179 -0
- data/_sass/primer-support/package.json +105 -0
- data/_sass/primer-utilities/CHANGELOG.md +94 -0
- data/_sass/primer-utilities/LICENSE +21 -0
- data/_sass/primer-utilities/README.md +48 -0
- data/_sass/primer-utilities/build/build.css +2 -0
- data/_sass/primer-utilities/build/index.js +2 -0
- data/_sass/primer-utilities/index.scss +9 -0
- data/_sass/primer-utilities/lib/animations.scss +156 -0
- data/_sass/primer-utilities/lib/border.scss +29 -0
- data/_sass/primer-utilities/lib/colors.scss +45 -0
- data/_sass/primer-utilities/lib/layout.scss +109 -0
- data/_sass/primer-utilities/lib/margin.scss +58 -0
- data/_sass/primer-utilities/lib/padding.scss +54 -0
- data/_sass/primer-utilities/lib/typography.scss +155 -0
- data/_sass/primer-utilities/package.json +108 -0
- data/_sass/rouge.scss +209 -0
- data/assets/style.scss +4 -0
- metadata +138 -0
@@ -0,0 +1,111 @@
|
|
1
|
+
{
|
2
|
+
"_args": [
|
3
|
+
[
|
4
|
+
{
|
5
|
+
"raw": "normalize.css@4.1.1",
|
6
|
+
"scope": null,
|
7
|
+
"escapedName": "normalize.css",
|
8
|
+
"name": "normalize.css",
|
9
|
+
"rawSpec": "4.1.1",
|
10
|
+
"spec": "4.1.1",
|
11
|
+
"type": "version"
|
12
|
+
},
|
13
|
+
"/Users/benbalter/projects/jekyll-theme-primer/node_modules/primer-base"
|
14
|
+
]
|
15
|
+
],
|
16
|
+
"_from": "normalize.css@4.1.1",
|
17
|
+
"_id": "normalize.css@4.1.1",
|
18
|
+
"_inCache": true,
|
19
|
+
"_location": "/normalize.css",
|
20
|
+
"_nodeVersion": "5.4.1",
|
21
|
+
"_npmOperationalInternal": {
|
22
|
+
"host": "packages-12-west.internal.npmjs.com",
|
23
|
+
"tmp": "tmp/normalize.css-4.1.1.tgz_1460465805641_0.36554792197421193"
|
24
|
+
},
|
25
|
+
"_npmUser": {
|
26
|
+
"name": "jonathantneal",
|
27
|
+
"email": "jonathantneal@hotmail.com"
|
28
|
+
},
|
29
|
+
"_npmVersion": "3.7.5",
|
30
|
+
"_phantomChildren": {},
|
31
|
+
"_requested": {
|
32
|
+
"raw": "normalize.css@4.1.1",
|
33
|
+
"scope": null,
|
34
|
+
"escapedName": "normalize.css",
|
35
|
+
"name": "normalize.css",
|
36
|
+
"rawSpec": "4.1.1",
|
37
|
+
"spec": "4.1.1",
|
38
|
+
"type": "version"
|
39
|
+
},
|
40
|
+
"_requiredBy": [
|
41
|
+
"/primer-base"
|
42
|
+
],
|
43
|
+
"_resolved": "https://registry.npmjs.org/normalize.css/-/normalize.css-4.1.1.tgz",
|
44
|
+
"_shasum": "4f0b1d5a235383252b04d8566b866cc5fcad9f0c",
|
45
|
+
"_shrinkwrap": null,
|
46
|
+
"_spec": "normalize.css@4.1.1",
|
47
|
+
"_where": "/Users/benbalter/projects/jekyll-theme-primer/node_modules/primer-base",
|
48
|
+
"bugs": {
|
49
|
+
"url": "https://github.com/necolas/normalize.css/issues"
|
50
|
+
},
|
51
|
+
"contributors": [
|
52
|
+
{
|
53
|
+
"name": "Jonathan Neal",
|
54
|
+
"email": "jonathantneal@hotmail.com",
|
55
|
+
"url": "http://jonathantneal.com/"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"name": "Nicolas Gallagher",
|
59
|
+
"email": "nicolas@nicolasgallagher.com",
|
60
|
+
"url": "http://nicolasgallagher.com/"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"dependencies": {},
|
64
|
+
"description": "A modern alternative to CSS resets",
|
65
|
+
"devDependencies": {
|
66
|
+
"stylelint": "^5.4.0",
|
67
|
+
"stylelint-config-standard": "^5.0.0"
|
68
|
+
},
|
69
|
+
"directories": {},
|
70
|
+
"dist": {
|
71
|
+
"shasum": "4f0b1d5a235383252b04d8566b866cc5fcad9f0c",
|
72
|
+
"tarball": "https://registry.npmjs.org/normalize.css/-/normalize.css-4.1.1.tgz"
|
73
|
+
},
|
74
|
+
"files": [
|
75
|
+
"LICENSE.md",
|
76
|
+
"normalize.css"
|
77
|
+
],
|
78
|
+
"gitHead": "39c21b3678ff1ebd2aebc51ec56d55d18a5a68e3",
|
79
|
+
"homepage": "https://necolas.github.io/normalize.css#readme",
|
80
|
+
"license": "MIT",
|
81
|
+
"main": "normalize.css",
|
82
|
+
"maintainers": [
|
83
|
+
{
|
84
|
+
"name": "jonathantneal",
|
85
|
+
"email": "jonathantneal@hotmail.com"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"name": "necolas",
|
89
|
+
"email": "nicolasgallagher@gmail.com"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"name": "tjholowaychuk",
|
93
|
+
"email": "tj@vision-media.ca"
|
94
|
+
}
|
95
|
+
],
|
96
|
+
"name": "normalize.css",
|
97
|
+
"optionalDependencies": {},
|
98
|
+
"readme": "ERROR: No README data found!",
|
99
|
+
"repository": {
|
100
|
+
"type": "git",
|
101
|
+
"url": "git+https://github.com/necolas/normalize.css.git"
|
102
|
+
},
|
103
|
+
"scripts": {
|
104
|
+
"test": "stylelint normalize.css"
|
105
|
+
},
|
106
|
+
"style": "normalize.css",
|
107
|
+
"stylelint": {
|
108
|
+
"extends": "stylelint-config-standard"
|
109
|
+
},
|
110
|
+
"version": "4.1.1"
|
111
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# v0.3.0
|
2
|
+
|
3
|
+
* Updating version - Jon Rohan [github/github@6bf5fe5](https://github.com/github/github/commit/6bf5fe5)
|
4
|
+
* Updating link to real primer-css repository - Jon Rohan [github/github@bbaedda](https://github.com/github/github/commit/bbaedda)
|
5
|
+
* Updating the modules stylelint - Jon Rohan [github/github@389609f](https://github.com/github/github/commit/389609f)
|
6
|
+
* move over override for octicons to type base for now - Mark Otto [github/github@529af66](https://github.com/github/github/commit/529af66)
|
7
|
+
* move over all bold variable changes - Mark Otto [github/github@6b5b021](https://github.com/github/github/commit/6b5b021)
|
8
|
+
* Make sure the modules build without error before publishing - Jon Rohan [github/github@57ac5e6](https://github.com/github/github/commit/57ac5e6)
|
9
|
+
|
10
|
+
# v0.2.3
|
11
|
+
|
12
|
+
* Publishing a new version - Jon Rohan [github/github@eed0e96](https://github.com/github/github/commit/eed0e96)
|
13
|
+
* Removing some unnecessary lint plugins and using native - Jon Rohan [github/github@2ae0070](https://github.com/github/github/commit/2ae0070)
|
14
|
+
* including no-utility lint plugin - Jon Rohan [github/github@5cb86ed](https://github.com/github/github/commit/5cb86ed)
|
15
|
+
* un-delete this - Jon Rohan [github/github@207793a](https://github.com/github/github/commit/207793a)
|
16
|
+
* Adding lint plugins for new config - Jon Rohan [github/github@7fb9613](https://github.com/github/github/commit/7fb9613)
|
17
|
+
|
18
|
+
# v0.2.2
|
19
|
+
|
20
|
+
* Mentioning the build file - Jon Rohan [github/github@64ca4a7](https://github.com/github/github/commit/64ca4a7)
|
21
|
+
* Including build/build.css in distributed npm module - Jon Rohan [github/github@e4effbf](https://github.com/github/github/commit/e4effbf)
|
22
|
+
* Updating modules to run on prepublish to include build.css in distribution - Jon Rohan [github/github@5b573a0](https://github.com/github/github/commit/5b573a0)
|
23
|
+
* Re-ordering the docs to the bottom of the readme - Jon Rohan [github/github@9c1f291](https://github.com/github/github/commit/9c1f291)
|
24
|
+
|
25
|
+
# v0.2.1
|
26
|
+
|
27
|
+
* Bumping version to include postcss.json in npm - Jon Rohan [github/github@9e560ba](https://github.com/github/github/commit/9e560ba)
|
28
|
+
* Using stylelint to lint the modules instead of scss_lint - Jon Rohan [github/github@cb0b8fd](https://github.com/github/github/commit/cb0b8fd)
|
29
|
+
* Updating for stylelint instead of scss_lint - Jon Rohan [github/github@87a2c68](https://github.com/github/github/commit/87a2c68)
|
30
|
+
|
31
|
+
# v0.2.0
|
32
|
+
|
33
|
+
* Cutting new version 0.2.0 - Jon Rohan [github/github@a6f6586](https://github.com/github/github/commit/a6f6586)
|
34
|
+
* cleanup after merge - Jon Rohan [github/github@f9378ca](https://github.com/github/github/commit/f9378ca)
|
35
|
+
* Don't link requirements - Jon Rohan [github/github@7740e81](https://github.com/github/github/commit/7740e81)
|
36
|
+
* Fixing a few import paths - Jon Rohan [github/github@73e2c51](https://github.com/github/github/commit/73e2c51)
|
37
|
+
* Updating the README with more detailed instructions - Jon Rohan [github/github@5dd7c34](https://github.com/github/github/commit/5dd7c34)
|
38
|
+
* Reorganize the module folders into a more flexible organization - Jon Rohan [github/github@5a07101](https://github.com/github/github/commit/5a07101)
|
39
|
+
* cleaning up the package.json files - Jon Rohan [github/github@77763a1](https://github.com/github/github/commit/77763a1)
|
40
|
+
* Adding npm version badges to readme - Jon Rohan [github/github@90b1871](https://github.com/github/github/commit/90b1871)
|
41
|
+
* Adding tavisci build badges to the readmes - Jon Rohan [github/github@1a6126f](https://github.com/github/github/commit/1a6126f)
|
42
|
+
|
43
|
+
# v0.1.0
|
44
|
+
|
45
|
+
* Moving text base utilities to utilities module - Jon Rohan [github/github@ac7383e](https://github.com/github/github/commit/ac7383e)
|
46
|
+
* renaming to typography-base - Jon Rohan [github/github@e34449b](https://github.com/github/github/commit/e34449b)
|
47
|
+
* Updating the readme - Jon Rohan [github/github@29ef203](https://github.com/github/github/commit/29ef203)
|
48
|
+
* Creating a base module from normalize and our primer base css - Jon Rohan [github/github@97e460f](https://github.com/github/github/commit/97e460f)
|
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 GitHub Inc.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# Primer CSS Base
|
2
|
+
|
3
|
+
[![NPM version](http://img.shields.io/npm/v/primer-base.svg)](https://www.npmjs.org/package/primer-base)
|
4
|
+
[![Build Status](https://travis-ci.org/primer/base.svg?branch=master)](https://travis-ci.org/primer/base)
|
5
|
+
|
6
|
+
> GitHub's CSS to reset the browsers default styles. Built on top of normalize.css
|
7
|
+
|
8
|
+
This repository is a module of the full [primer-css][primer-css] repository. And is built off of [normalize.css](https://github.com/necolas/normalize.css/)
|
9
|
+
|
10
|
+
## Install
|
11
|
+
|
12
|
+
This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-base` with this command.
|
13
|
+
|
14
|
+
```
|
15
|
+
$ npm install --save primer-base
|
16
|
+
```
|
17
|
+
|
18
|
+
## Usage
|
19
|
+
|
20
|
+
The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
|
21
|
+
|
22
|
+
```scss
|
23
|
+
@import "primer-base/index.scss";
|
24
|
+
```
|
25
|
+
|
26
|
+
You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
|
27
|
+
|
28
|
+
## Build
|
29
|
+
|
30
|
+
For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css` The built css file is also included in the npm package.
|
31
|
+
|
32
|
+
```
|
33
|
+
$ npm run build
|
34
|
+
```
|
35
|
+
|
36
|
+
## Documentation
|
37
|
+
|
38
|
+
You can read more about base in the [docs][docs].
|
39
|
+
|
40
|
+
## License
|
41
|
+
|
42
|
+
[MIT](./LICENSE) © [GitHub](https://github.com/)
|
43
|
+
|
44
|
+
[primer-css]: https://github.com/primer/primer
|
45
|
+
[docs]: http://primercss.io/
|
46
|
+
[npm]: https://www.npmjs.com/
|
47
|
+
[install-npm]: https://docs.npmjs.com/getting-started/installing-node
|
48
|
+
[sass]: http://sass-lang.com/
|
@@ -0,0 +1,2 @@
|
|
1
|
+
/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}progress{vertical-align:baseline}template,[hidden]{display:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}button,input,select,textarea{font:inherit;margin:0}optgroup{font-weight:bold}button,input{overflow:visible}button,select{text-transform:none}button,html [type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-cancel-button,[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-input-placeholder{color:inherit;opacity:0.54}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}*{box-sizing:border-box}input,select,textarea,button{font-family:inherit;font-size:inherit;line-height:inherit}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;line-height:1.5;color:#333;background-color:#fff}a{color:#4078c0;text-decoration:none}a:hover,a:active{text-decoration:underline}strong{font-weight:600}hr,.rule{height:0;margin:15px 0;overflow:hidden;background:transparent;border:0;border-bottom:1px solid #ddd}hr::before,.rule::before{display:table;content:""}hr::after,.rule::after{display:table;clear:both;content:""}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}button{cursor:pointer}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:0}h1{font-size:32px;font-weight:600}h2{font-size:24px;font-weight:600}h3{font-size:20px;font-weight:600}h4{font-size:16px;font-weight:600}h5{font-size:14px;font-weight:600}h6{font-size:12px;font-weight:600}p{margin-top:0;margin-bottom:10px}small{font-size:90%}blockquote{margin:0}ul,ol{padding-left:0;margin-top:0;margin-bottom:0}ol ol,ul ol{list-style-type:lower-roman}ul ul ol,ul ol ol,ol ul ol,ol ol ol{list-style-type:lower-alpha}dd{margin-left:0}tt,code{font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px}pre{margin-top:0;margin-bottom:0;font:12px Consolas,"Liberation Mono",Menlo,Courier,monospace}.octicon{vertical-align:text-bottom}
|
2
|
+
|
@@ -0,0 +1,66 @@
|
|
1
|
+
* {
|
2
|
+
box-sizing: border-box;
|
3
|
+
}
|
4
|
+
|
5
|
+
input,
|
6
|
+
select,
|
7
|
+
textarea,
|
8
|
+
button {
|
9
|
+
font-family: inherit;
|
10
|
+
font-size: inherit;
|
11
|
+
line-height: inherit;
|
12
|
+
}
|
13
|
+
|
14
|
+
body {
|
15
|
+
font-family: $body-font;
|
16
|
+
font-size: $body-font-size;
|
17
|
+
line-height: $body-line-height;
|
18
|
+
color: $text-gray-dark;
|
19
|
+
background-color: $bg-white;
|
20
|
+
}
|
21
|
+
|
22
|
+
a {
|
23
|
+
color: $text-blue;
|
24
|
+
text-decoration: none;
|
25
|
+
|
26
|
+
&:hover,
|
27
|
+
&:active {
|
28
|
+
text-decoration: underline;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
strong {
|
33
|
+
font-weight: $font-weight-bold;
|
34
|
+
}
|
35
|
+
|
36
|
+
// Horizontal lines
|
37
|
+
//
|
38
|
+
// TODO-MDO: Remove `.rule` from everywhere and replace with `<hr>`s
|
39
|
+
hr,
|
40
|
+
.rule {
|
41
|
+
height: 0;
|
42
|
+
margin: 15px 0;
|
43
|
+
overflow: hidden;
|
44
|
+
background: transparent;
|
45
|
+
border: 0;
|
46
|
+
border-bottom: 1px solid #ddd;
|
47
|
+
@include clearfix();
|
48
|
+
}
|
49
|
+
|
50
|
+
//
|
51
|
+
// Remove most spacing between table cells.
|
52
|
+
//
|
53
|
+
|
54
|
+
table {
|
55
|
+
border-spacing: 0;
|
56
|
+
border-collapse: collapse;
|
57
|
+
}
|
58
|
+
|
59
|
+
td,
|
60
|
+
th {
|
61
|
+
padding: 0;
|
62
|
+
}
|
63
|
+
|
64
|
+
button {
|
65
|
+
cursor: pointer;
|
66
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
// Headings
|
2
|
+
// --------------------------------------------------
|
3
|
+
|
4
|
+
h1,
|
5
|
+
h2,
|
6
|
+
h3,
|
7
|
+
h4,
|
8
|
+
h5,
|
9
|
+
h6 {
|
10
|
+
margin-top: 0;
|
11
|
+
margin-bottom: 0;
|
12
|
+
}
|
13
|
+
|
14
|
+
h1 { @include h1; }
|
15
|
+
h2 { @include h2; }
|
16
|
+
h3 { @include h3; }
|
17
|
+
h4 { @include h4; }
|
18
|
+
h5 { @include h5; }
|
19
|
+
h6 { @include h6; }
|
20
|
+
|
21
|
+
// Body text
|
22
|
+
// --------------------------------------------------
|
23
|
+
|
24
|
+
p {
|
25
|
+
margin-top: 0;
|
26
|
+
margin-bottom: 10px;
|
27
|
+
}
|
28
|
+
|
29
|
+
small {
|
30
|
+
font-size: 90%;
|
31
|
+
}
|
32
|
+
|
33
|
+
blockquote {
|
34
|
+
margin: 0;
|
35
|
+
}
|
36
|
+
|
37
|
+
// Lists
|
38
|
+
// --------------------------------------------------
|
39
|
+
|
40
|
+
ul,
|
41
|
+
ol {
|
42
|
+
padding-left: 0;
|
43
|
+
margin-top: 0;
|
44
|
+
margin-bottom: 0;
|
45
|
+
}
|
46
|
+
|
47
|
+
ol ol,
|
48
|
+
ul ol {
|
49
|
+
list-style-type: lower-roman;
|
50
|
+
}
|
51
|
+
|
52
|
+
ul ul ol,
|
53
|
+
ul ol ol,
|
54
|
+
ol ul ol,
|
55
|
+
ol ol ol {
|
56
|
+
list-style-type: lower-alpha;
|
57
|
+
}
|
58
|
+
|
59
|
+
dd {
|
60
|
+
margin-left: 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
// Code
|
64
|
+
// --------------------------------------------------
|
65
|
+
|
66
|
+
tt,
|
67
|
+
code {
|
68
|
+
font-family: $mono-font;
|
69
|
+
font-size: 12px;
|
70
|
+
}
|
71
|
+
|
72
|
+
pre {
|
73
|
+
margin-top: 0;
|
74
|
+
margin-bottom: 0;
|
75
|
+
font: 12px $mono-font;
|
76
|
+
}
|
77
|
+
|
78
|
+
// Octicons
|
79
|
+
// --------------------------------------------------
|
80
|
+
|
81
|
+
// Move this over here as a temporary override to the octicons source repo
|
82
|
+
// instead of updating that upstream.
|
83
|
+
.octicon {
|
84
|
+
vertical-align: text-bottom;
|
85
|
+
}
|
@@ -0,0 +1,109 @@
|
|
1
|
+
{
|
2
|
+
"_args": [
|
3
|
+
[
|
4
|
+
{
|
5
|
+
"raw": "primer-base@^0.3.0",
|
6
|
+
"scope": null,
|
7
|
+
"escapedName": "primer-base",
|
8
|
+
"name": "primer-base",
|
9
|
+
"rawSpec": "^0.3.0",
|
10
|
+
"spec": ">=0.3.0 <0.4.0",
|
11
|
+
"type": "range"
|
12
|
+
},
|
13
|
+
"/Users/benbalter/projects/jekyll-theme-primer"
|
14
|
+
]
|
15
|
+
],
|
16
|
+
"_from": "primer-base@>=0.3.0 <0.4.0",
|
17
|
+
"_id": "primer-base@0.3.0",
|
18
|
+
"_inCache": true,
|
19
|
+
"_location": "/primer-base",
|
20
|
+
"_nodeVersion": "5.12.0",
|
21
|
+
"_npmOperationalInternal": {
|
22
|
+
"host": "packages-12-west.internal.npmjs.com",
|
23
|
+
"tmp": "tmp/primer-base-0.3.0.tgz_1471631006733_0.9127871482633054"
|
24
|
+
},
|
25
|
+
"_npmUser": {
|
26
|
+
"name": "jonrohan",
|
27
|
+
"email": "yes@jonrohan.codes"
|
28
|
+
},
|
29
|
+
"_npmVersion": "3.8.6",
|
30
|
+
"_phantomChildren": {},
|
31
|
+
"_requested": {
|
32
|
+
"raw": "primer-base@^0.3.0",
|
33
|
+
"scope": null,
|
34
|
+
"escapedName": "primer-base",
|
35
|
+
"name": "primer-base",
|
36
|
+
"rawSpec": "^0.3.0",
|
37
|
+
"spec": ">=0.3.0 <0.4.0",
|
38
|
+
"type": "range"
|
39
|
+
},
|
40
|
+
"_requiredBy": [
|
41
|
+
"/"
|
42
|
+
],
|
43
|
+
"_resolved": "https://registry.npmjs.org/primer-base/-/primer-base-0.3.0.tgz",
|
44
|
+
"_shasum": "c6f41c95fb458ac388eedc06f931550773f52cbd",
|
45
|
+
"_shrinkwrap": null,
|
46
|
+
"_spec": "primer-base@^0.3.0",
|
47
|
+
"_where": "/Users/benbalter/projects/jekyll-theme-primer",
|
48
|
+
"author": {
|
49
|
+
"name": "GitHub, Inc."
|
50
|
+
},
|
51
|
+
"bugs": {
|
52
|
+
"url": "https://github.com/primer/base/issues"
|
53
|
+
},
|
54
|
+
"dependencies": {
|
55
|
+
"normalize.css": "4.1.1",
|
56
|
+
"primer-support": "*"
|
57
|
+
},
|
58
|
+
"description": "CSS to reset the browsers default styles",
|
59
|
+
"devDependencies": {
|
60
|
+
"autoprefixer": "^6.3.6",
|
61
|
+
"node-sass": "^3.7.0",
|
62
|
+
"postcss-cli": "^2.5.2",
|
63
|
+
"stylelint": "^7.0.3",
|
64
|
+
"stylelint-config-primer": "^1.1.0"
|
65
|
+
},
|
66
|
+
"directories": {},
|
67
|
+
"dist": {
|
68
|
+
"shasum": "c6f41c95fb458ac388eedc06f931550773f52cbd",
|
69
|
+
"tarball": "https://registry.npmjs.org/primer-base/-/primer-base-0.3.0.tgz"
|
70
|
+
},
|
71
|
+
"files": [
|
72
|
+
"index.scss",
|
73
|
+
"lib",
|
74
|
+
"build"
|
75
|
+
],
|
76
|
+
"gitHead": "b7aafff245cb7418263190fb2a44f28ecce72183",
|
77
|
+
"homepage": "http://primercss.io/",
|
78
|
+
"keywords": [
|
79
|
+
"primer",
|
80
|
+
"css",
|
81
|
+
"github",
|
82
|
+
"primercss",
|
83
|
+
"base",
|
84
|
+
"reset",
|
85
|
+
"normalize"
|
86
|
+
],
|
87
|
+
"license": "MIT",
|
88
|
+
"maintainers": [
|
89
|
+
{
|
90
|
+
"name": "jonrohan",
|
91
|
+
"email": "yes@jonrohan.codes"
|
92
|
+
}
|
93
|
+
],
|
94
|
+
"name": "primer-base",
|
95
|
+
"optionalDependencies": {},
|
96
|
+
"readme": "ERROR: No README data found!",
|
97
|
+
"repository": {
|
98
|
+
"type": "git",
|
99
|
+
"url": "git+https://github.com/primer/base.git"
|
100
|
+
},
|
101
|
+
"scripts": {
|
102
|
+
"build": "node-sass index.scss --include-path node_modules --output-style compressed | postcss -c .postcss.json -o build/build.css",
|
103
|
+
"prepublish": "npm run setup && npm run build",
|
104
|
+
"setup": "if [ ! -d \"node_modules\" ]; then npm install; fi",
|
105
|
+
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
|
106
|
+
},
|
107
|
+
"style": "index.scss",
|
108
|
+
"version": "0.3.0"
|
109
|
+
}
|