mirror of
https://github.com/robsheldon/sscaffold-css.git
synced 2025-09-30 23:56:55 +02:00
Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
9d18129c15 | ||
|
03ba3378c6 | ||
|
9cdcbad728 | ||
|
400ec8e232 | ||
|
90686f5f43 | ||
|
dd2ea33000 | ||
|
897ae6a473 | ||
|
b0467d948f | ||
|
737bb3878b | ||
|
0c176db4a7 |
23
CHANGELOG.md
Normal file
23
CHANGELOG.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# CHANGELOG
|
||||
|
||||
[sscaffold-css](https://sscaffold-css.com/) does its best to follow [semantic versioning](https://semver.org/):
|
||||
|
||||
* MAJOR releases may break layouts using previous versions and should be thoroughly tested;
|
||||
* MINOR releases make an effort to not break layouts using previous versions but may contain bugfixes that could change some aspects of the layout;
|
||||
* PATCH releases include only small, simple bug fixes and should be compatible with all previous versions of the same MAJOR release.
|
||||
|
||||
PATCH releases will be backported to previous MAJOR releases when applicable and I'm in the mood for it.
|
||||
|
||||
## RELEASES
|
||||
|
||||
### 0.1.1
|
||||
March 8, 2020
|
||||
|
||||
* Fix missing `and` from `@media` queries (https://github.com/robsheldon/sscaffold-css/issues/10)
|
||||
* Fix `svg+xml` values mangled by a naughty CSS minifier; trying a different minifier (https://github.com/robsheldon/sscaffold-css/issues/9)
|
||||
|
||||
|
||||
### 0.1.0
|
||||
January 15, 2020
|
||||
|
||||
* Initial release following limited pre-release testing.
|
20
README.md
20
README.md
@@ -23,20 +23,32 @@ sscaffold is a little bit heftier than skeleton or milligram:
|
||||
| ------- | ---------------------------: |
|
||||
| Skeleton 2.0.4 <sup>(2)</sup> | 7.7K |
|
||||
| Milligram 1.3.0 <sup>(3)</sup> | 11K |
|
||||
| sscaffold 0.1.0 <sup>(4)</sup> | 14K |
|
||||
| sscaffold 0.1.1 <sup>(4)</sup> | 14K |
|
||||
|
||||
* <sup>(1) Each css file was run through [cssminifier](https://cssminifier.com/) for an apples-to-apples comparison.</sup>
|
||||
* <sup>(2) The Skeleton 2.0.4 package includes Normalize 3.0.2. The current version of Normalize is 8.0.1. Normalize 3.0.2 was added to the Skeleton 2.0.4 file before minifying it.</sup>
|
||||
* <sup>(3) Milligram 1.3.0 requires Normalize 5.0.0. The current version of Normalize is 8.0.1. Normalize 5.0.0 was added to the Milligram 1.3.0 file before minifying it.</sup>
|
||||
* <sup>(4) sscaffold 0.1.0 has no external dependencies. Normalize 8.0.1 has already been integrated into sscaffold.css.</sup>
|
||||
* <sup>(4) sscaffold 0.1.1 has no external dependencies. Normalize 8.0.1 has already been integrated into sscaffold.css.</sup>
|
||||
|
||||
For 3K over Milligram and 7K over Skeleton you save an https request and get the features of both plus a few extras.
|
||||
|
||||
## Using sscaffold
|
||||
|
||||
I'm releasing it now as a preview. Once 0.1.0 is released, I'll see about getting it onto cdnjs and then following a semantic versioning system from there.
|
||||
The current version is 0.1.1.
|
||||
|
||||
If you want it added to your favorite repository / dependency management system, open an issue requesting it so that I know it's worth doing and I'll get on it.
|
||||
#### jsdelivr:
|
||||
|
||||
```
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sscaffold-css@0.1.1/sscaffold.min.css" integrity="sha256-tNrNp6fPTVnhpywTjgNV4jCx6W9d1wuALpwVmAQEYcs=" crossorigin="anonymous">
|
||||
```
|
||||
|
||||
#### npm:
|
||||
|
||||
```
|
||||
npm install sscaffold-css
|
||||
```
|
||||
|
||||
If you want it added to another repository, dependency management system, or cdn, open an issue requesting it and I'll get on it.
|
||||
|
||||
|
||||
## Documentation
|
||||
|
33
package.json
33
package.json
@@ -1,18 +1,19 @@
|
||||
{
|
||||
"name": "sscaffold-css",
|
||||
"version": "0.1.0",
|
||||
"description": "Base file for sscaffold-css.",
|
||||
"homepage": "https://sscaffold-css.com/",
|
||||
"repository": "robsheldon/sscaffold-css",
|
||||
"license": "MIT",
|
||||
"author": "Rob Sheldon <rob@rescue.dev>",
|
||||
"private": false,
|
||||
"main": "sscaffold.css",
|
||||
"keywords": [
|
||||
"css",
|
||||
"sscaffold",
|
||||
"milligram",
|
||||
"skeleton",
|
||||
"normalize"
|
||||
]
|
||||
"name": "sscaffold-css",
|
||||
"version": "0.1.1",
|
||||
"description": "Updated alternative to milligram and skeleton.",
|
||||
"filename": "sscaffold.min.css",
|
||||
"homepage": "https://sscaffold-css.com/",
|
||||
"repository": "robsheldon/sscaffold-css",
|
||||
"license": "MIT",
|
||||
"author": "Rob Sheldon <rob@rescue.dev>",
|
||||
"private": false,
|
||||
"main": "sscaffold.css",
|
||||
"keywords": [
|
||||
"css",
|
||||
"sscaffold",
|
||||
"milligram",
|
||||
"skeleton",
|
||||
"normalize"
|
||||
]
|
||||
}
|
||||
|
@@ -407,7 +407,7 @@ only screen and (-webkit-max-device-pixel-ratio: 0.9) and (min-width: 750px) {
|
||||
12px at 2560 x 1600 and larger. */
|
||||
@media
|
||||
only screen and (min-resolution: 91dpi) and (max-resolution: 119dpi),
|
||||
only screen (-webkit-min-device-pixel-ratio: 0.91) and (-webkit-max-device-pixel-ratio: 1) {
|
||||
only screen and (-webkit-min-device-pixel-ratio: 0.91) and (-webkit-max-device-pixel-ratio: 1) {
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
}
|
||||
@@ -416,7 +416,7 @@ only screen (-webkit-min-device-pixel-ratio: 0.91) and (-webkit-max-device-pixel
|
||||
|
||||
@media
|
||||
only screen and (min-resolution: 91dpi) and (max-resolution: 119dpi) and (min-width: 1500px),
|
||||
only screen (-webkit-min-device-pixel-ratio: 0.91) and (-webkit-max-device-pixel-ratio: 1) and (min-width: 1500px) {
|
||||
only screen and (-webkit-min-device-pixel-ratio: 0.91) and (-webkit-max-device-pixel-ratio: 1) and (min-width: 1500px) {
|
||||
html {
|
||||
font-size: 68.75%;
|
||||
}
|
||||
@@ -425,7 +425,7 @@ only screen (-webkit-min-device-pixel-ratio: 0.91) and (-webkit-max-device-pixel
|
||||
|
||||
@media
|
||||
only screen and (min-resolution: 91dpi) and (max-resolution: 119dpi) and (min-width: 2500px),
|
||||
only screen (-webkit-min-device-pixel-ratio: 0.91) and (-webkit-max-device-pixel-ratio: 1) and (min-width: 2500px) {
|
||||
only screen and (-webkit-min-device-pixel-ratio: 0.91) and (-webkit-max-device-pixel-ratio: 1) and (min-width: 2500px) {
|
||||
html {
|
||||
font-size: 75%;
|
||||
}
|
||||
|
2
sscaffold.min.css
vendored
2
sscaffold.min.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user