bookend 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_sass/_bindings.scss +1 -1
- data/_sass/_variables.scss +8 -6
- data/_sass/_words.scss +9 -30
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e7954aa145b0f7b5ea87daba8cc138b861557fb
|
4
|
+
data.tar.gz: 76300f438eae5019e94ca317ca08d08fad454cd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3465022bdabf28697301b7030ab70cde0433df3e82e7123f775bf636f0b7ec0fb697aa5168fa021a3dce0504bc58e906a8cdd32bd957bca1adea31c8d4101418
|
7
|
+
data.tar.gz: f127ce4b91462b811c0fee88beef9e9f25de9ef1d014efe13446997491cf0e8976f6b50fa0d1dff3c2d65238e11c3db1885900155be8f7582e3fd0cc57e4cf81
|
data/_sass/_bindings.scss
CHANGED
data/_sass/_variables.scss
CHANGED
@@ -1,17 +1,19 @@
|
|
1
|
+
$base-font-size: 100%;
|
1
2
|
$base-line-height: 1.4;
|
2
|
-
|
3
|
-
$
|
3
|
+
|
4
|
+
$body-font-size: 1.25em;
|
5
|
+
$vertical-rhythm: $base-line-height * $body-font-size;
|
4
6
|
|
5
7
|
$type-ratio: 1.1618;
|
6
8
|
|
7
|
-
$l1-font-size: $
|
9
|
+
$l1-font-size: $body-font-size * $type-ratio;
|
8
10
|
$l2-font-size: $l1-font-size * $type-ratio;
|
9
11
|
$l3-font-size: $l2-font-size * $type-ratio;
|
10
12
|
|
11
|
-
$book-max-width:
|
13
|
+
$book-max-width: 50em;
|
12
14
|
|
13
15
|
$breakpoint-medium: 75em;
|
14
16
|
$breakpoint-small: 45em;
|
15
17
|
|
16
|
-
$
|
17
|
-
$
|
18
|
+
$medium-ratio: 0.9 * $type-ratio;
|
19
|
+
$small-ratio: 0.8 * $type-ratio;
|
data/_sass/_words.scss
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
html {
|
2
2
|
font-size: 100%;
|
3
|
+
@media (min-width: $breakpoint-small) {
|
4
|
+
font-size: 110%;
|
5
|
+
}
|
6
|
+
@media (min-width: $breakpoint-medium) {
|
7
|
+
font-size: 120%;
|
8
|
+
}
|
3
9
|
}
|
4
10
|
|
5
11
|
body {
|
@@ -13,51 +19,24 @@ p, h1, h2, h3 {
|
|
13
19
|
}
|
14
20
|
|
15
21
|
p {
|
16
|
-
font-size: $
|
22
|
+
font-size: $body-font-size;
|
17
23
|
margin-bottom: $vertical-rhythm;
|
18
|
-
@media (max-width: $breakpoint-medium) {
|
19
|
-
font-size: $base-font-size * .9;
|
20
|
-
}
|
21
|
-
@media (max-width: $breakpoint-small) {
|
22
|
-
font-size: $base-font-size * .8;
|
23
|
-
}
|
24
24
|
}
|
25
25
|
|
26
26
|
h1, h2, h3 {
|
27
27
|
font-family: "Oxygen", sans-serif;
|
28
|
-
|
28
|
+
line-height: $base-line-height * ($type-ratio / 2);
|
29
|
+
margin-bottom: $vertical-rhythm * ($type-ratio / 2);
|
29
30
|
}
|
30
31
|
|
31
32
|
h1 {
|
32
33
|
font-size: $l3-font-size;
|
33
|
-
line-height: $base-line-height * .8;
|
34
|
-
margin-bottom: $vertical-rhythm * 1.5;
|
35
|
-
@media (max-width: $breakpoint-medium) {
|
36
|
-
font-size: $l3-font-size * .9;
|
37
|
-
margin-bottom: $vertical-rhythm * 1.25;
|
38
|
-
}
|
39
|
-
@media (max-width: $breakpoint-small) {
|
40
|
-
font-size: $l3-font-size * .8;
|
41
|
-
margin-bottom: $vertical-rhythm;
|
42
|
-
}
|
43
34
|
}
|
44
35
|
|
45
36
|
h2 {
|
46
37
|
font-size: $l2-font-size;
|
47
|
-
@media (max-width: $breakpoint-medium) {
|
48
|
-
font-size: $l2-font-size * .9;
|
49
|
-
}
|
50
|
-
@media (max-width: $breakpoint-small) {
|
51
|
-
font-size: $l2-font-size * .8;
|
52
|
-
}
|
53
38
|
}
|
54
39
|
|
55
40
|
h3 {
|
56
41
|
font-size: $l1-font-size;
|
57
|
-
@media (max-width: $breakpoint-medium) {
|
58
|
-
font-size: $l1-font-size * .9;
|
59
|
-
}
|
60
|
-
@media (max-width: $breakpoint-small) {
|
61
|
-
font-size: $l1-font-size * .8;
|
62
|
-
}
|
63
42
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bookend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- drainpip
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|