mirror of
https://github.com/zhigang1992/probot.github.io.git
synced 2026-04-25 21:05:31 +08:00
Initial hacky version of site
This commit is contained in:
21
node_modules/primer-page-sections/CHANGELOG.md
generated
vendored
Normal file
21
node_modules/primer-page-sections/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# v0.1.1
|
||||
|
||||
* bumping the version - Jon Rohan [github/github@4a72b25](https://github.com/github/github/commit/4a72b25)
|
||||
* Pointing main js file to build - Jon Rohan [github/github@3575651](https://github.com/github/github/commit/3575651)
|
||||
* don't change the versions yet - Jon Rohan [github/github@6bebcff](https://github.com/github/github/commit/6bebcff)
|
||||
* Bumping version - Jon Rohan [github/github@df8b91c](https://github.com/github/github/commit/df8b91c)
|
||||
* Cleaning up devDependencies versions and simplifying npm scripts - Jon Rohan [github/github@2c42571](https://github.com/github/github/commit/2c42571)
|
||||
* Sorting and table objects. We also don't need homepage - Jon Rohan [github/github@798629d](https://github.com/github/github/commit/798629d)
|
||||
* Removing duplicate headers - Jon Rohan [github/github@225cee1](https://github.com/github/github/commit/225cee1)
|
||||
|
||||
# v0.1.0
|
||||
|
||||
* Rename repository with prefix primer- - Jon Rohan [github/github@ec8774a](https://github.com/github/github/commit/ec8774a)
|
||||
* Fix broken paths - Patrick Marsceill [github/github@b5dc395](https://github.com/github/github/commit/b5dc395)
|
||||
* Update the names in the README files - Patrick Marsceill [github/github@75fed58](https://github.com/github/github/commit/75fed58)
|
||||
* Update names for npm publising - Patrick Marsceill [github/github@451f97a](https://github.com/github/github/commit/451f97a)
|
||||
* Fix import path across all scss files - Patrick Marsceill [github/github@a566f31](https://github.com/github/github/commit/a566f31)
|
||||
* Add page sections to docs - Sophie Shepherd [github/github@667d1e7](https://github.com/github/github/commit/667d1e7)
|
||||
* Fix variable collisions and add basecoat to site to test sass compilation errors - Patrick Marsceill [github/github@c73eee3](https://github.com/github/github/commit/c73eee3)
|
||||
* Remove basecoat - Patrick Marsceill [github/github@1b1503d](https://github.com/github/github/commit/1b1503d)
|
||||
* section => page-section - Patrick Marsceill [github/github@a789873](https://github.com/github/github/commit/a789873)
|
||||
21
node_modules/primer-page-sections/LICENSE
generated
vendored
Normal file
21
node_modules/primer-page-sections/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016 GitHub Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
57
node_modules/primer-page-sections/README.md
generated
vendored
Normal file
57
node_modules/primer-page-sections/README.md
generated
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
# Primer CSS Page Sections
|
||||
|
||||
[](https://www.npmjs.org/package/primer-page-sections)
|
||||
[](https://travis-ci.org/primer/primer-css)
|
||||
|
||||
> Flash messages, or alerts, inform users of successful or pending actions. Use them sparingly. Don’t show more than one at a time.
|
||||
|
||||
This repository is a module of the full [primer-css][primer] repository.
|
||||
|
||||
## Documentation
|
||||
|
||||
<!-- %docs
|
||||
title: Page sections
|
||||
status: In review
|
||||
-->
|
||||
|
||||
Documentation & refactor coming very soon
|
||||
|
||||
<!-- %enddocs -->
|
||||
|
||||
## Install
|
||||
|
||||
This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-page-sections` with this command.
|
||||
|
||||
```
|
||||
$ npm install --save primer-page-sections
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
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.
|
||||
|
||||
```scss
|
||||
@import "primer-page-sections/index.scss";
|
||||
```
|
||||
|
||||
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._
|
||||
|
||||
## Build
|
||||
|
||||
For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css`
|
||||
|
||||
```
|
||||
$ npm run build
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT © [GitHub](https://github.com/)
|
||||
|
||||
[primer]: https://github.com/primer/primer
|
||||
[primer-support]: https://github.com/primer/primer-support
|
||||
[support]: https://github.com/primer/primer-support
|
||||
[docs]: http://primercss.io/
|
||||
[npm]: https://www.npmjs.com/
|
||||
[install-npm]: https://docs.npmjs.com/getting-started/installing-node
|
||||
[sass]: http://sass-lang.com/
|
||||
1
node_modules/primer-page-sections/build/build.css
generated
vendored
Normal file
1
node_modules/primer-page-sections/build/build.css
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.page-section{padding:32px 0;margin-top:0}@media (min-width: 768px){.page-section{padding:56px 0}}.page-section-jumplink:target{padding-top:112px}@media (min-width: 768px){.page-section-jumplink:target{padding-top:80px}}
|
||||
1
node_modules/primer-page-sections/build/index.js
generated
vendored
Normal file
1
node_modules/primer-page-sections/build/index.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = {"cssstats":{"size":221,"gzipSize":132,"humanizedSize":"221B","humanizedGzipSize":"132B","rules":{"total":4,"size":{"graph":[2,1,1,1],"max":2,"average":1.25}},"selectors":{"total":4,"type":0,"class":4,"id":0,"pseudoClass":2,"pseudoElement":0,"values":[".page-section",".page-section",".page-section-jumplink:target",".page-section-jumplink:target"],"specificity":{"max":20,"average":15}},"declarations":{"total":5,"unique":5,"properties":{"padding":["32px 0","56px 0"],"margin-top":["0"],"padding-top":["112px","80px"]}},"mediaQueries":{"total":2,"unique":1,"values":["(min-width: 768px)","(min-width: 768px)"],"contents":[{"value":"(min-width: 768px)","rules":{"total":1,"size":{"graph":[1],"max":1,"average":1}},"selectors":{"total":1,"type":0,"class":1,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".page-section"],"specificity":{"max":10,"average":10}},"declarations":{"total":1,"unique":1,"properties":{"padding":["56px 0"]}}},{"value":"(min-width: 768px)","rules":{"total":1,"size":{"graph":[1],"max":1,"average":1}},"selectors":{"total":1,"type":0,"class":1,"id":0,"pseudoClass":1,"pseudoElement":0,"values":[".page-section-jumplink:target"],"specificity":{"max":20,"average":20}},"declarations":{"total":1,"unique":1,"properties":{"padding-top":["80px"]}}}]}}}
|
||||
4
node_modules/primer-page-sections/index.scss
generated
vendored
Normal file
4
node_modules/primer-page-sections/index.scss
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
// support files
|
||||
@import "primer-support/index.scss";
|
||||
@import "primer-marketing-support/index.scss";
|
||||
@import "./lib/page-section.scss";
|
||||
18
node_modules/primer-page-sections/lib/page-section.scss
generated
vendored
Normal file
18
node_modules/primer-page-sections/lib/page-section.scss
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
// Styles for page sections
|
||||
.page-section {
|
||||
padding: $spacer-5 0;
|
||||
margin-top: 0;
|
||||
|
||||
@include breakpoint(md) {
|
||||
padding: $spacer-6 + $spacer-3 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Adds a little extra headroom for sections linked to via in-page anchor links
|
||||
.page-section-jumplink:target {
|
||||
padding-top: ($spacer-6 * 2) + $spacer-5;
|
||||
|
||||
@include breakpoint(md) {
|
||||
padding-top: $spacer-6 * 2;
|
||||
}
|
||||
}
|
||||
73
node_modules/primer-page-sections/package.json
generated
vendored
Normal file
73
node_modules/primer-page-sections/package.json
generated
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"_from": "primer-page-sections@^1.0.1",
|
||||
"_id": "primer-page-sections@1.0.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-D0Knyc6P4SrIq9IdTToTIUFDWek=",
|
||||
"_location": "/primer-page-sections",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "primer-page-sections@^1.0.1",
|
||||
"name": "primer-page-sections",
|
||||
"escapedName": "primer-page-sections",
|
||||
"rawSpec": "^1.0.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/primer-css",
|
||||
"/primer-marketing"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/primer-page-sections/-/primer-page-sections-1.0.1.tgz",
|
||||
"_shasum": "0f42a7c9ce8fe12ac8abd21d4d3a1321414359e9",
|
||||
"_spec": "primer-page-sections@^1.0.1",
|
||||
"_where": "/Users/bkeepers/projects/probot/probot.github.io/node_modules/primer-css",
|
||||
"author": {
|
||||
"name": "GitHub, Inc."
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/primer/primer-css/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"primer-marketing-support": "^1.0.1",
|
||||
"primer-support": "^4.0.6"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Styles to create distinct sections of marketing pages at GitHub.",
|
||||
"devDependencies": {
|
||||
"primer-module-build": "*",
|
||||
"stylelint": "*",
|
||||
"stylelint-config-primer": "*"
|
||||
},
|
||||
"files": [
|
||||
"index.scss",
|
||||
"lib",
|
||||
"build"
|
||||
],
|
||||
"homepage": "http://primercss.io/",
|
||||
"keywords": [
|
||||
"css",
|
||||
"github",
|
||||
"page sections",
|
||||
"primer",
|
||||
"primercss",
|
||||
"sections",
|
||||
"style"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "build/index.js",
|
||||
"name": "primer-page-sections",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/primer/primer-css/tree/master/packages/primer-page-sections"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "primer-module-build index.scss",
|
||||
"prepare": "npm run build",
|
||||
"test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
|
||||
},
|
||||
"style": "build/build.css",
|
||||
"version": "1.0.1"
|
||||
}
|
||||
Reference in New Issue
Block a user