fundamental 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec6f70b71e0982a17fd801a212b16bb282d36767
4
- data.tar.gz: 497961cc89bd66bb67fee183cbf51044be370944
3
+ metadata.gz: 6a33644e169a212dfa012c1637fd75d5c36a7603
4
+ data.tar.gz: 5a6e27007d44bbc5651122961d95be3ef76e9234
5
5
  SHA512:
6
- metadata.gz: d5d3ffae1227df7fb006941a92cfd97af8f80fff0a7ab8c28d0fb6d9c4b167e0c482ba9afd1312fa0763b91e515e22b882ad0aee7e0d88f7742d9d7a351a473b
7
- data.tar.gz: 63838795b3a4c711e345d50f7c2b871e7a8098423187420d4fb9df3130f3abba4c57a49a24af9fb1cab85efd6fb4c623bab3408450e27c6d7027ec1993670115
6
+ metadata.gz: d24f4f59de1a9cda6130613580668836802632d6fc1862b5749289269bc1508074ed6b139f957e753828a80444d36f7d069758fb9a6872debd24f9826ff2f0e3
7
+ data.tar.gz: 7d83037ab4bce03f728f29e6d60476bcf1a63d576c19e2464d01e58cee74381a9d99875155747f0f81b3035f980a59d9a6280d5f6c332f5909d6d8b2cd59eb7e
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/fundamental.svg)](https://badge.fury.io/rb/fundamental)
4
4
 
5
- See latest changes in [changelog.md])(https://github.com/theomjones/fundamental/blob/master/changelog.md))
5
+ See latest changes in [changelog.md](https://github.com/theomjones/fundamental/blob/master/changelog.md)
6
6
 
7
7
  Fundamental is a clean, fully responsive, lightweight Jekyll theme for blogging. No frameworks. It uses system fonts, so no external stylesheets are loaded. The CSS is just 2Kb gzipped.
8
8
 
data/_sass/_header.scss CHANGED
@@ -10,8 +10,8 @@ header {
10
10
  margin-bottom: -20px;
11
11
  nav {
12
12
  overflow-y: hidden;
13
- overflow-x: scroll;
14
- max-height: 55px;
13
+ overflow-x: auto;
14
+ max-height: 50px;
15
15
  -webkit-overflow-scrolling: touch;
16
16
  border-bottom: 2px solid $tertiary;
17
17
  width: 100%;
@@ -27,13 +27,13 @@ header {
27
27
  -webkit-overflow-scrolling: touch;
28
28
  @media screen and (max-width: $break) {
29
29
  margin-right: 0;
30
- overflow-x: scroll;
30
+ overflow-x: auto;
31
31
  margin: 10px 0 0 40px;
32
32
  display: flex;
33
- overflow-x: scroll;
33
+ overflow-x: auto;
34
34
  padding-bottom: 30px;
35
35
  }
36
- @media screen and (max-width: 400px) {
36
+ @media screen and (max-width: $break) {
37
37
  margin-left: 10px;
38
38
  margin-top: 5px;
39
39
  }
@@ -47,7 +47,7 @@ header {
47
47
  .title {
48
48
  margin: auto;
49
49
  margin-left: 50px;
50
- @media screen and (max-width: 400px) {
50
+ @media screen and (max-width: $break) {
51
51
  margin-left: 20px;
52
52
  margin-top: 5px;
53
53
  margin-bottom: 5px;
@@ -4,26 +4,22 @@ h1, h2, h3, h4, h5, h6 {
4
4
  }
5
5
 
6
6
  h1 {
7
- font-size: 4rem;
7
+ font-size: calc(150% + 2.7vw);
8
8
  margin: 30px 0 50px 0;
9
9
  color: $accent;
10
10
  @media screen and (max-width: $break) {
11
- font-size: 3rem;
12
11
  margin-top: 5px;
13
12
  }
14
- @media screen and (max-width: 320px) {
15
- font-size: 2.5rem;
16
- }
17
13
  }
18
14
  h2 {
19
- font-size: 3rem;
15
+ font-size: calc(130% + 2.3vw);
20
16
  margin: 10px 0;
21
17
  @media screen and (max-width: $break) {
22
18
  font-size: 2.5rem;
23
19
  }
24
20
  }
25
21
  h3 {
26
- font-size: 2.5rem;
22
+ font-size: calc(120% + 1.5vw);
27
23
  }
28
24
  h4 {
29
25
  font-size: 2rem;
@@ -65,10 +61,13 @@ blockquote {
65
61
  }
66
62
 
67
63
  figure {
68
- overflow-x: scroll;
69
- background: lighten($accent, 35%);
70
- padding: 10px 10px 0 10px;
64
+ overflow-x: auto;
65
+ background: darken($accent, 45%);
66
+ padding: 2rem;
67
+ color: white;
71
68
  border-radius: 3px;
69
+ box-shadow: 2px 2px 2px rgba(black, .2);
70
+ -webkit-overflow-scrolling: touch;
72
71
  code {
73
72
  display: block;
74
73
  background: none;
@@ -103,3 +102,7 @@ code {
103
102
  background: rgba($accent, .2);
104
103
  padding: 0;
105
104
  }
105
+
106
+ pre {
107
+ margin: 0;
108
+ }
@@ -9,4 +9,4 @@ $accent: #4845DF;
9
9
  $tertiary: lighten($accent, 5%);
10
10
 
11
11
  //Structure
12
- $break: 600px;
12
+ $break: 500px;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fundamental
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Theo M Jones