Skip to content

Commit

Permalink
1.0.0-alpha-8
Browse files Browse the repository at this point in the history
  • Loading branch information
ungoldman committed Oct 9, 2016
1 parent 5d99cee commit 1df84a3
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 21 deletions.
4 changes: 3 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased
## [1.0.0-alpha-8](https://github.com/ungoldman/style.css/releases/v1.0.0-alpha-8) - 2016-10-08

[view diff](https://github.com/ungoldman/style.css/compare/v1.0.0-alpha-7...v1.0.0-alpha-8)

### Changes

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "style.css",
"description": "Classless stylesheet for markdown documents.",
"version": "1.0.0-alpha-7",
"version": "1.0.0-alpha-8",
"author": "Nate Goldman <[email protected]>",
"bugs": {
"url": "https://github.com/ungoldman/style.css/issues"
Expand Down
31 changes: 24 additions & 7 deletions serif.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
/*! style.css v1.0.0-alpha-8 | ISC License | https://github.com/ungoldman/style.css */
html {
font-family: charter, constantia, "lucida bright", lucidabright, "lucida serif", lucida, "dejavu serif", "bitstream vera serif", "liberation serif", georgia, serif;
font-size: calc(16px + 0.25vw);
line-height: 1.55em;
color: #303030;
background-color: white;
box-sizing: border-box;
font-family: charter, constantia, "lucida bright", lucidabright, "lucida serif", lucida, "dejavu serif", "bitstream vera serif", "liberation serif", georgia, serif;
font-size: calc(16px + 0.25vw);
line-height: 1.55;
font-kerning: normal;
text-rendering: optimizeLegibility;
font-feature-settings: "kern", "liga" 1, "calt" 0;
Expand All @@ -27,6 +29,12 @@ main {
display: block;
}

*,
*::before,
*::after {
box-sizing: inherit;
}

main {
max-width: 42em;
margin: 2em auto;
Expand Down Expand Up @@ -71,6 +79,18 @@ h6 {
position: relative;
}

h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
font-weight: 400;
font-size: 0.7em;
margin-left: 0.5em;
color: #777;
}

h1 {
font-size: 2.02729em;
}
Expand Down Expand Up @@ -205,7 +225,7 @@ pre {
overflow: auto;
word-wrap: normal;
padding: 1em;
line-height: 1.45em;
line-height: 1.45;
}

pre code {
Expand Down Expand Up @@ -311,7 +331,6 @@ img {
border-style: none;
border: 0;
max-width: 100%;
box-sizing: border-box;
}

svg:not(:root) {
Expand Down Expand Up @@ -430,7 +449,6 @@ fieldset {
}

legend {
box-sizing: border-box;
color: inherit;
display: table;
max-width: 100%;
Expand All @@ -449,7 +467,6 @@ textarea {

[type="checkbox"],
[type="radio"] {
box-sizing: border-box;
padding: 0;
}

Expand Down
4 changes: 2 additions & 2 deletions src/scss/_document.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ main { // 2
// apply a natural box layout model to all elements, but allowing components to change
// https://www.paulirish.com/2012/box-sizing-border-box-ftw/
*,
*:before,
*:after {
*::before,
*::after {
box-sizing: inherit;
}
4 changes: 2 additions & 2 deletions src/scss/typography/_headings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ h6 {
// rep the smallies
small {
font-weight: 400;
font-size: .7em;
margin-left: .5em;
font-size: 0.7em;
margin-left: 0.5em;
color: #777;
}
}
Expand Down
32 changes: 24 additions & 8 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/*! style.css v1.0.0-alpha-7 | ISC License | https://github.com/ungoldman/style.css */
/*! style.css v1.0.0-alpha-8 | ISC License | https://github.com/ungoldman/style.css */
html {
font-family: -apple-system, BlinkMacSystemFont, "avenir next", avenir, "segoe ui", "fira sans", roboto, noto, "droid sans", "liberation sans", "lucida grande", "helvetica neue", helvetica, "franklin gothic medium", "century gothic", cantarell, oxygen, ubuntu, sans-serif;
font-size: calc(16px + 0.25vw);
line-height: 1.55em;
color: #303030;
background-color: white;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, "avenir next", avenir, "segoe ui", "fira sans", roboto, noto, "droid sans", "liberation sans", "lucida grande", "helvetica neue", helvetica, "franklin gothic medium", "century gothic", cantarell, oxygen, ubuntu, sans-serif;
font-size: calc(16px + 0.25vw);
line-height: 1.55;
-webkit-font-kerning: normal;
font-kerning: normal;
text-rendering: optimizeLegibility;
Expand All @@ -30,6 +31,12 @@ main {
display: block;
}

*,
*::before,
*::after {
box-sizing: inherit;
}

main {
max-width: 42em;
margin: 2em auto;
Expand Down Expand Up @@ -74,6 +81,18 @@ h6 {
position: relative;
}

h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
font-weight: 400;
font-size: 0.7em;
margin-left: 0.5em;
color: #777;
}

h1 {
font-size: 2.02729em;
}
Expand Down Expand Up @@ -208,7 +227,7 @@ pre {
overflow: auto;
word-wrap: normal;
padding: 1em;
line-height: 1.45em;
line-height: 1.45;
}

pre code {
Expand Down Expand Up @@ -315,7 +334,6 @@ img {
border-style: none;
border: 0;
max-width: 100%;
box-sizing: border-box;
}

svg:not(:root) {
Expand Down Expand Up @@ -434,7 +452,6 @@ fieldset {
}

legend {
box-sizing: border-box;
color: inherit;
display: table;
max-width: 100%;
Expand All @@ -453,7 +470,6 @@ textarea {

[type="checkbox"],
[type="radio"] {
box-sizing: border-box;
padding: 0;
}

Expand Down

0 comments on commit 1df84a3

Please sign in to comment.