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:
23
node_modules/primer-page-headers/CHANGELOG.md
generated
vendored
Normal file
23
node_modules/primer-page-headers/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
# 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)
|
||||
* Getting rid of as much as possible - Sophie Shepherd [github/github@e2e5de4](https://github.com/github/github/commit/e2e5de4)
|
||||
* Clean up more type css - Sophie Shepherd [github/github@cbf356a](https://github.com/github/github/commit/cbf356a)
|
||||
* 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 headers section - Sophie Shepherd [github/github@6b6ff9d](https://github.com/github/github/commit/6b6ff9d)
|
||||
* 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)
|
||||
* prefix bc => marketing - Patrick Marsceill [github/github@04d509a](https://github.com/github/github/commit/04d509a)
|
||||
* pull in ye olde basecoat files from branch - Patrick Marsceill [github/github@09d47e9](https://github.com/github/github/commit/09d47e9)
|
||||
21
node_modules/primer-page-headers/LICENSE
generated
vendored
Normal file
21
node_modules/primer-page-headers/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.
|
||||
58
node_modules/primer-page-headers/README.md
generated
vendored
Normal file
58
node_modules/primer-page-headers/README.md
generated
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
# Primer Marketing CSS Page Headers
|
||||
|
||||
[](https://www.npmjs.org/package/primer-page-headers)
|
||||
[](https://travis-ci.org/primer/primer-css)
|
||||
|
||||
> Jumbotrons, heroes, and featured content sections for marketing websites at GitHub.
|
||||
|
||||
This repository is a module of the full [primer-css][primer] repository.
|
||||
|
||||
## Documentation
|
||||
|
||||
<!-- %docs
|
||||
title: Page headers
|
||||
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-headers` with this command.
|
||||
|
||||
```
|
||||
$ npm install --save primer-page-headers
|
||||
```
|
||||
|
||||
## 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-headers/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-headers/build/build.css
generated
vendored
Normal file
1
node_modules/primer-page-headers/build/build.css
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.jumbotron{position:relative;padding-top:40px;padding-bottom:40px}@media (min-width: 544px){.jumbotron{padding-top:60px;padding-bottom:60px}}@media (min-width: 1280px){.jumbotron{padding-top:120px;padding-bottom:120px}}@media (min-width: 1012px){.jumbotron-supertron{height:45vw;min-height:590px;max-height:55vh;padding-top:80px;padding-bottom:80px}}.jumbotron-minitron{padding-top:24px;padding-bottom:24px}@media (min-width: 544px){.jumbotron-minitron{padding-top:32px;padding-bottom:32px}}.jumbotron-shadow::after{position:absolute;bottom:0;left:0;width:100%;height:30px;content:" ";background-color:transparent;background-image:linear-gradient(transparent, rgba(0,0,0,0.05));background-repeat:repeat-x;box-shadow:inset 0 -1px 0 rgba(0,0,0,0.05)}.jumbotron-photo{position:relative;background-color:#24292e;background-size:cover}.jumbotron-photo::before{position:absolute;bottom:0;left:0;display:block;width:100%;height:100%;content:"";background-color:rgba(0,0,0,0.25)}
|
||||
1
node_modules/primer-page-headers/build/index.js
generated
vendored
Normal file
1
node_modules/primer-page-headers/build/index.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = {"cssstats":{"size":972,"gzipSize":380,"humanizedSize":"972B","humanizedGzipSize":"380B","rules":{"total":9,"size":{"graph":[3,2,2,5,2,2,10,3,8],"max":10,"average":4.111111111111111}},"selectors":{"total":9,"type":0,"class":9,"id":0,"pseudoClass":0,"pseudoElement":2,"values":[".jumbotron",".jumbotron",".jumbotron",".jumbotron-supertron",".jumbotron-minitron",".jumbotron-minitron",".jumbotron-shadow::after",".jumbotron-photo",".jumbotron-photo::before"],"specificity":{"max":11,"average":10.222222222222221}},"declarations":{"total":37,"unique":32,"properties":{"position":["relative","absolute","relative","absolute"],"padding-top":["40px","60px","120px","80px","24px","32px"],"padding-bottom":["40px","60px","120px","80px","24px","32px"],"height":["45vw","30px","100%"],"min-height":["590px"],"max-height":["55vh"],"bottom":["0","0"],"left":["0","0"],"width":["100%","100%"],"content":["\" \"","\"\""],"background-color":["transparent","#24292e","rgba(0,0,0,0.25)"],"background-image":["linear-gradient(transparent, rgba(0,0,0,0.05))"],"background-repeat":["repeat-x"],"box-shadow":["inset 0 -1px 0 rgba(0,0,0,0.05)"],"background-size":["cover"],"display":["block"]}},"mediaQueries":{"total":4,"unique":3,"values":["(min-width: 544px)","(min-width: 1280px)","(min-width: 1012px)","(min-width: 544px)"],"contents":[{"value":"(min-width: 544px)","rules":{"total":1,"size":{"graph":[2],"max":2,"average":2}},"selectors":{"total":1,"type":0,"class":1,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".jumbotron"],"specificity":{"max":10,"average":10}},"declarations":{"total":2,"unique":2,"properties":{"padding-top":["60px"],"padding-bottom":["60px"]}}},{"value":"(min-width: 1280px)","rules":{"total":1,"size":{"graph":[2],"max":2,"average":2}},"selectors":{"total":1,"type":0,"class":1,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".jumbotron"],"specificity":{"max":10,"average":10}},"declarations":{"total":2,"unique":2,"properties":{"padding-top":["120px"],"padding-bottom":["120px"]}}},{"value":"(min-width: 1012px)","rules":{"total":1,"size":{"graph":[5],"max":5,"average":5}},"selectors":{"total":1,"type":0,"class":1,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".jumbotron-supertron"],"specificity":{"max":10,"average":10}},"declarations":{"total":5,"unique":5,"properties":{"height":["45vw"],"min-height":["590px"],"max-height":["55vh"],"padding-top":["80px"],"padding-bottom":["80px"]}}},{"value":"(min-width: 544px)","rules":{"total":1,"size":{"graph":[2],"max":2,"average":2}},"selectors":{"total":1,"type":0,"class":1,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".jumbotron-minitron"],"specificity":{"max":10,"average":10}},"declarations":{"total":2,"unique":2,"properties":{"padding-top":["32px"],"padding-bottom":["32px"]}}}]}}}
|
||||
4
node_modules/primer-page-headers/index.scss
generated
vendored
Normal file
4
node_modules/primer-page-headers/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/headers.scss";
|
||||
68
node_modules/primer-page-headers/lib/headers.scss
generated
vendored
Normal file
68
node_modules/primer-page-headers/lib/headers.scss
generated
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
.jumbotron {
|
||||
position: relative;
|
||||
padding-top: $spacer-6;
|
||||
padding-bottom: $spacer-6;
|
||||
|
||||
@include breakpoint(sm) {
|
||||
padding-top: $spacer-6 * 1.5;
|
||||
padding-bottom: $spacer-6 * 1.5;
|
||||
}
|
||||
|
||||
@include breakpoint(xl) {
|
||||
padding-top: $spacer-6 * 3;
|
||||
padding-bottom: $spacer-6 * 3;
|
||||
}
|
||||
}
|
||||
|
||||
.jumbotron-supertron {
|
||||
@include breakpoint(lg) {
|
||||
height: 45vw;
|
||||
min-height: 590px;
|
||||
max-height: 55vh;
|
||||
padding-top: $spacer-6 + $spacer-6;
|
||||
padding-bottom: $spacer-6 + $spacer-6;
|
||||
}
|
||||
}
|
||||
|
||||
.jumbotron-minitron {
|
||||
padding-top: $spacer-4;
|
||||
padding-bottom: $spacer-4;
|
||||
|
||||
@include breakpoint(sm) {
|
||||
padding-top: $spacer-5;
|
||||
padding-bottom: $spacer-5;
|
||||
}
|
||||
}
|
||||
|
||||
.jumbotron-shadow {
|
||||
// Shadow
|
||||
&::after {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
content: " ";
|
||||
background-color: transparent;
|
||||
background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
|
||||
background-repeat: repeat-x;
|
||||
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
}
|
||||
|
||||
.jumbotron-photo {
|
||||
position: relative;
|
||||
background-color: $gray-dark;
|
||||
background-size: cover;
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
content: "";
|
||||
background-color: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
}
|
||||
74
node_modules/primer-page-headers/package.json
generated
vendored
Normal file
74
node_modules/primer-page-headers/package.json
generated
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"_from": "primer-page-headers@^1.0.1",
|
||||
"_id": "primer-page-headers@1.0.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-4y4Vz7aixJu5nxzXHDygToF6D3c=",
|
||||
"_location": "/primer-page-headers",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "primer-page-headers@^1.0.1",
|
||||
"name": "primer-page-headers",
|
||||
"escapedName": "primer-page-headers",
|
||||
"rawSpec": "^1.0.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/primer-css",
|
||||
"/primer-marketing"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/primer-page-headers/-/primer-page-headers-1.0.1.tgz",
|
||||
"_shasum": "e32e15cfb6a2c49bb99f1cd71c3ca04e817a0f77",
|
||||
"_spec": "primer-page-headers@^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": "Jumbotrons, heroes, and featured content sections for marketing websites at GitHub.",
|
||||
"devDependencies": {
|
||||
"primer-module-build": "*",
|
||||
"stylelint": "*",
|
||||
"stylelint-config-primer": "*"
|
||||
},
|
||||
"files": [
|
||||
"index.scss",
|
||||
"lib",
|
||||
"build"
|
||||
],
|
||||
"homepage": "http://primercss.io/",
|
||||
"keywords": [
|
||||
"css",
|
||||
"flash",
|
||||
"github",
|
||||
"hero",
|
||||
"jumbotron",
|
||||
"primer",
|
||||
"primercss",
|
||||
"style"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "build/index.js",
|
||||
"name": "primer-page-headers",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/primer/primer-css/tree/master/packages/primer-page-headers"
|
||||
},
|
||||
"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