Skip to content

Commit 1df84a3

Browse files
committed
1.0.0-alpha-8
1 parent 5d99cee commit 1df84a3

File tree

6 files changed

+56
-21
lines changed

6 files changed

+56
-21
lines changed

changelog.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8-
## Unreleased
8+
## [1.0.0-alpha-8](https://github.com/ungoldman/style.css/releases/v1.0.0-alpha-8) - 2016-10-08
9+
10+
[view diff](https://github.com/ungoldman/style.css/compare/v1.0.0-alpha-7...v1.0.0-alpha-8)
911

1012
### Changes
1113

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "style.css",
33
"description": "Classless stylesheet for markdown documents.",
4-
"version": "1.0.0-alpha-7",
4+
"version": "1.0.0-alpha-8",
55
"author": "Nate Goldman <[email protected]>",
66
"bugs": {
77
"url": "https://github.com/ungoldman/style.css/issues"

serif.css

+24-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
/*! style.css v1.0.0-alpha-8 | ISC License | https://github.com/ungoldman/style.css */
12
html {
2-
font-family: charter, constantia, "lucida bright", lucidabright, "lucida serif", lucida, "dejavu serif", "bitstream vera serif", "liberation serif", georgia, serif;
3-
font-size: calc(16px + 0.25vw);
4-
line-height: 1.55em;
53
color: #303030;
64
background-color: white;
5+
box-sizing: border-box;
6+
font-family: charter, constantia, "lucida bright", lucidabright, "lucida serif", lucida, "dejavu serif", "bitstream vera serif", "liberation serif", georgia, serif;
7+
font-size: calc(16px + 0.25vw);
8+
line-height: 1.55;
79
font-kerning: normal;
810
text-rendering: optimizeLegibility;
911
font-feature-settings: "kern", "liga" 1, "calt" 0;
@@ -27,6 +29,12 @@ main {
2729
display: block;
2830
}
2931

32+
*,
33+
*::before,
34+
*::after {
35+
box-sizing: inherit;
36+
}
37+
3038
main {
3139
max-width: 42em;
3240
margin: 2em auto;
@@ -71,6 +79,18 @@ h6 {
7179
position: relative;
7280
}
7381

82+
h1 small,
83+
h2 small,
84+
h3 small,
85+
h4 small,
86+
h5 small,
87+
h6 small {
88+
font-weight: 400;
89+
font-size: 0.7em;
90+
margin-left: 0.5em;
91+
color: #777;
92+
}
93+
7494
h1 {
7595
font-size: 2.02729em;
7696
}
@@ -205,7 +225,7 @@ pre {
205225
overflow: auto;
206226
word-wrap: normal;
207227
padding: 1em;
208-
line-height: 1.45em;
228+
line-height: 1.45;
209229
}
210230

211231
pre code {
@@ -311,7 +331,6 @@ img {
311331
border-style: none;
312332
border: 0;
313333
max-width: 100%;
314-
box-sizing: border-box;
315334
}
316335

317336
svg:not(:root) {
@@ -430,7 +449,6 @@ fieldset {
430449
}
431450

432451
legend {
433-
box-sizing: border-box;
434452
color: inherit;
435453
display: table;
436454
max-width: 100%;
@@ -449,7 +467,6 @@ textarea {
449467

450468
[type="checkbox"],
451469
[type="radio"] {
452-
box-sizing: border-box;
453470
padding: 0;
454471
}
455472

src/scss/_document.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ main { // 2
3838
// apply a natural box layout model to all elements, but allowing components to change
3939
// https://www.paulirish.com/2012/box-sizing-border-box-ftw/
4040
*,
41-
*:before,
42-
*:after {
41+
*::before,
42+
*::after {
4343
box-sizing: inherit;
4444
}

src/scss/typography/_headings.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ h6 {
1313
// rep the smallies
1414
small {
1515
font-weight: 400;
16-
font-size: .7em;
17-
margin-left: .5em;
16+
font-size: 0.7em;
17+
margin-left: 0.5em;
1818
color: #777;
1919
}
2020
}

style.css

+24-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
/*! style.css v1.0.0-alpha-7 | ISC License | https://github.com/ungoldman/style.css */
1+
/*! style.css v1.0.0-alpha-8 | ISC License | https://github.com/ungoldman/style.css */
22
html {
3-
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;
4-
font-size: calc(16px + 0.25vw);
5-
line-height: 1.55em;
63
color: #303030;
74
background-color: white;
5+
box-sizing: border-box;
6+
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;
7+
font-size: calc(16px + 0.25vw);
8+
line-height: 1.55;
89
-webkit-font-kerning: normal;
910
font-kerning: normal;
1011
text-rendering: optimizeLegibility;
@@ -30,6 +31,12 @@ main {
3031
display: block;
3132
}
3233

34+
*,
35+
*::before,
36+
*::after {
37+
box-sizing: inherit;
38+
}
39+
3340
main {
3441
max-width: 42em;
3542
margin: 2em auto;
@@ -74,6 +81,18 @@ h6 {
7481
position: relative;
7582
}
7683

84+
h1 small,
85+
h2 small,
86+
h3 small,
87+
h4 small,
88+
h5 small,
89+
h6 small {
90+
font-weight: 400;
91+
font-size: 0.7em;
92+
margin-left: 0.5em;
93+
color: #777;
94+
}
95+
7796
h1 {
7897
font-size: 2.02729em;
7998
}
@@ -208,7 +227,7 @@ pre {
208227
overflow: auto;
209228
word-wrap: normal;
210229
padding: 1em;
211-
line-height: 1.45em;
230+
line-height: 1.45;
212231
}
213232

214233
pre code {
@@ -315,7 +334,6 @@ img {
315334
border-style: none;
316335
border: 0;
317336
max-width: 100%;
318-
box-sizing: border-box;
319337
}
320338

321339
svg:not(:root) {
@@ -434,7 +452,6 @@ fieldset {
434452
}
435453

436454
legend {
437-
box-sizing: border-box;
438455
color: inherit;
439456
display: table;
440457
max-width: 100%;
@@ -453,7 +470,6 @@ textarea {
453470

454471
[type="checkbox"],
455472
[type="radio"] {
456-
box-sizing: border-box;
457473
padding: 0;
458474
}
459475

0 commit comments

Comments
 (0)