bookend 0.3.2 → 0.3.3
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/_variables.scss +2 -5
- data/_sass/_words.scss +23 -10
- data/_sass/bookend.scss +1 -1
- 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: af73783c91a15aa3b5493913c5716ed0f26a9136
|
|
4
|
+
data.tar.gz: 969494aa97fa946d7456acbe8d646e3558382668
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a880841f3fc7162458ba70394a9ade6c59b91f8710e9fa6b393490190ebc405b01fe5a438d66731a8105d287392b5ff82beb6b7a3f68e41efb0b2c00fd7e92bb
|
|
7
|
+
data.tar.gz: 84ea0aeddedfd7e1e450c1d389a53009823aba14b1a8677640842d5c626872ad527651ab094d4ee69ed8d91d418e802a0325951d7669009050f83b40a202620c
|
data/_sass/_variables.scss
CHANGED
|
@@ -2,15 +2,12 @@ $base-font-size: 100%;
|
|
|
2
2
|
$base-line-height: 1.4;
|
|
3
3
|
|
|
4
4
|
$body-font-size: 1.25em;
|
|
5
|
+
$heading-font-size: 2em;
|
|
5
6
|
$vertical-rhythm: $base-line-height * $body-font-size;
|
|
6
7
|
|
|
7
8
|
$type-ratio: 1.1618;
|
|
8
9
|
|
|
9
|
-
$
|
|
10
|
-
$l2-font-size: $l1-font-size * $type-ratio;
|
|
11
|
-
$l3-font-size: $l2-font-size * $type-ratio;
|
|
12
|
-
|
|
13
|
-
$book-max-width: 50em;
|
|
10
|
+
$book-max-width: 67em;
|
|
14
11
|
|
|
15
12
|
$breakpoint-medium: 75em;
|
|
16
13
|
$breakpoint-small: 45em;
|
data/_sass/_words.scss
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
html {
|
|
2
2
|
font-size: 100%;
|
|
3
|
-
@media (
|
|
4
|
-
font-size:
|
|
3
|
+
@media (max-width: $breakpoint-small) {
|
|
4
|
+
font-size: 80%;
|
|
5
5
|
}
|
|
6
|
-
@media (
|
|
7
|
-
font-size:
|
|
6
|
+
@media (max-width: $breakpoint-medium) {
|
|
7
|
+
font-size: 90%;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
body {
|
|
12
12
|
color: #333;
|
|
13
|
-
font-family: "
|
|
13
|
+
font-family: "Droid Serif", serif;
|
|
14
14
|
line-height: $base-line-height;
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -21,22 +21,35 @@ p, h1, h2, h3 {
|
|
|
21
21
|
p {
|
|
22
22
|
font-size: $body-font-size;
|
|
23
23
|
margin-bottom: $vertical-rhythm;
|
|
24
|
+
@media (max-width: $breakpoint-small) {
|
|
25
|
+
font-size: $body-font-size * $small-ratio;
|
|
26
|
+
}
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
h1, h2, h3 {
|
|
27
30
|
font-family: "Oxygen", sans-serif;
|
|
28
|
-
|
|
29
|
-
|
|
31
|
+
font-weight: 700;
|
|
32
|
+
line-height: 1.2;
|
|
33
|
+
margin-bottom: 0.5em;
|
|
30
34
|
}
|
|
31
35
|
|
|
32
36
|
h1 {
|
|
33
|
-
font-size: $
|
|
37
|
+
font-size: $heading-font-size * ($type-ratio * 2);
|
|
38
|
+
@media (max-width: $breakpoint-small) {
|
|
39
|
+
font-size: $heading-font-size * $type-ratio;
|
|
40
|
+
}
|
|
34
41
|
}
|
|
35
42
|
|
|
36
43
|
h2 {
|
|
37
|
-
font-size: $
|
|
44
|
+
font-size: $heading-font-size * $type-ratio;
|
|
45
|
+
@media (max-width: $breakpoint-small) {
|
|
46
|
+
font-size: $heading-font-size * ($type-ratio * $small-ratio);
|
|
47
|
+
}
|
|
38
48
|
}
|
|
39
49
|
|
|
40
50
|
h3 {
|
|
41
|
-
font-size: $
|
|
51
|
+
font-size: $heading-font-size;
|
|
52
|
+
@media (max-width: $breakpoint-small) {
|
|
53
|
+
font-size: $heading-font-size * $small-ratio;
|
|
54
|
+
}
|
|
42
55
|
}
|
data/_sass/bookend.scss
CHANGED
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.3
|
|
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-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|