forked from filipelinhares/ress
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎉 1.0.0 You can read more about it in the CHANGELOG.md - Sanilize now is ress - Adds travis-ci - Iproves code comments - Adds features to README - ress is under MIT license
- Loading branch information
1 parent
df8c21f
commit a960fa1
Showing
8 changed files
with
145 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
sudo: false | ||
language: node_js | ||
node_js: | ||
- 'stable' | ||
- '0.12' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
# CC0 1.0 Universal License | ||
The MIT License (MIT) | ||
|
||
Public Domain Dedication | ||
Copyright © 2016 [Filipe Linhares](http://filipelinhares.com) | ||
|
||
The person(s) who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. | ||
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: | ||
|
||
You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission. | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
In no way are the patent or trademark rights of any person affected by CC0, nor are the rights that other persons may have in the work or in how the work is used, such as publicity or privacy rights. | ||
|
||
Unless expressly stated otherwise, the person(s) who associated a work with this deed makes no warranties about the work, and disclaims liability for all uses of the work, to the fullest extent permitted by applicable law. | ||
|
||
When using or citing the work, you should not imply endorsement by the author or the affirmer. | ||
|
||
This is a [human-readable summary of the Legal Code](https://creativecommons.org/publicdomain/zero/1.0/) ([read the full text](https://creativecommons.org/publicdomain/zero/1.0/legalcode)). | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,30 @@ | ||
# sanilize.css | ||
# ress | ||
Modern CSS reset | ||
|
||
> A merge between [sanitize.css][sanitize] by [Jonathan Neal][jonathan] and [normalize.css][normalize] by [Necolas][necolas] | ||
[jonathan]:https://github.com/jonathantneal | ||
[sanitize]:https://github.com/10up/sanitize.css | ||
[necolas]:https://github.com/necolas | ||
[normalize]:https://github.com/necolas/normalize.css | ||
|
||
Render elements consistently. Style with best practices. | ||
[](https://travis-ci.org/filipelinhares/ress) | ||
|
||
## Installation | ||
```sh | ||
npm install --save sanilize | ||
npm install --save ress | ||
``` | ||
|
||
## Features | ||
1. Apply `box-sizing: border-box;` in all elements. | ||
2. Reset `padding` and `margin` in all elements. | ||
3. Specify `background-repeat: no-repeat` in all elements. | ||
4. Inherit `text-decoration` and `vertical-align` to `::before` and `::after`. | ||
5. Remove the `outline` when hovering in all browsers. | ||
6. Specify `font-family: monospace` in code elements. | ||
7. Reset `border-radius` in input elements. | ||
8. Specify font inheritance of form elements. | ||
9. Remove the default button styling in all browsers. | ||
10. Specify textarea resizability to vertical. | ||
|
||
## Crossbrowser | ||
**ress** uses [Normalize.css](https://github.com/necolas/normalize.css) under the hood with some customizations to apply a solid base to start your stylesheet. | ||
|
||
## Browser support | ||
Inherit from [Normalize](https://github.com/necolas/normalize.css#browser-support) | ||
|
||
## License | ||
**sanilize.css** is dedicated to the [public domain](LICENSE.md). | ||
[MIT](LICENSE.md) © Filipe Linhares |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.