together-theme 0.0.10 → 0.0.11

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
  SHA256:
3
- metadata.gz: 41dd4f5b57d14ae559464749161dd1485f03830b7f0b53870f142dfc92d8d4c6
4
- data.tar.gz: 3aa424cc1bee6c226b52379ef09206b47247c9fdcf7580c4c676679a88cc02a4
3
+ metadata.gz: 935ee5422354cee546a5130e97503d78196958fdaed746840c0cd0a643f34822
4
+ data.tar.gz: 87af76a8a97fc5beef359947505f4e292e464cbff5a3730592488e4037f05f40
5
5
  SHA512:
6
- metadata.gz: 57a659cb4a9fa98edaf094bca45190981612c9b7a904719d6e2accb721a41e2124426b58b5abe2964f464919e99099f942941eb615e3d319282513baccf67d80
7
- data.tar.gz: 2bb222150759f2900c451e2aeefcba14204a58f3e0a3975598316749133ead3f682f24f16661acd3f58111fcbc9f61f7eb1d0765c8d294485623d557dbdcf06b
6
+ metadata.gz: 28c3754d5d19fc871e9acd4e9ef09b65f5774c2463940922c5635588a077c2a8d2998c688ec47089fd315e01b94bbb2c3e06873ef3fd400636a5289b49b84a45
7
+ data.tar.gz: 46e1df4ca9d94bcd5fcab8090f60da6ccf62680a6f9489473dd908978f48a95f61b46b3585ae639011c914e83d4e796d0b2742de9af70cf32792e31ff3a3cd6e
data/_config.yml CHANGED
@@ -13,6 +13,7 @@ keep_files: ['assets/js/main.js']
13
13
  together:
14
14
  top_bar:
15
15
  content: "Like this Jekll theme? Visit us on <a target=\"_blank\" href=\"https://github.com/dallasread/together-theme\">GitHub.</a>"
16
+ padding: "0.75rem"
16
17
  sidebar:
17
18
  content: This is the Together Theme for Jekyll. It's designed for a specific use case – telling a single story across multiple articles.
18
19
  style:
@@ -20,6 +20,7 @@
20
20
  --padding: {{ site.together.style.default.padding }};
21
21
  --padding-lg: {{ site.together.style.default.padding_lg }};
22
22
  --padding-xl: {{ site.together.style.default.padding_xl }};
23
+ --padding-top-bar: {{ site.together.top_bar.padding }};
23
24
  --line-height: {{ site.together.style.default.line_height }};
24
25
  }
25
26
 
data/_sass/_layout.scss CHANGED
@@ -5,6 +5,10 @@ html, body {
5
5
  color: var(--text-color);
6
6
  -webkit-font-smoothing: antialiased;
7
7
  -moz-osx-font-smoothing: grayscale;
8
+
9
+ @media (max-width: 640px) {
10
+ font-size: 19px;
11
+ }
8
12
  }
9
13
 
10
14
  .wrapper {
@@ -12,6 +16,10 @@ html, body {
12
16
  max-width: 1240px;
13
17
  margin: 0 auto;
14
18
  padding: var(--padding-xl);
19
+
20
+ @media (max-width: 640px) {
21
+ padding: var(--padding);
22
+ }
15
23
  }
16
24
 
17
25
  .container {
@@ -19,6 +27,11 @@ html, body {
19
27
  flex-direction: row;
20
28
  flex-wrap: nowrap;
21
29
 
30
+ @media (max-width: 640px) {
31
+ display: block;
32
+ flex: none;
33
+ }
34
+
22
35
  .nav {
23
36
  z-index: 1;
24
37
  position: sticky;
@@ -29,12 +42,22 @@ html, body {
29
42
  height: 100%;
30
43
  overflow-y: auto;
31
44
  flex: 0 0 auto;
45
+
46
+ @media (max-width: 640px) {
47
+ display: none;
48
+ }
32
49
  }
33
50
 
34
51
  .content {
35
52
  flex: 0 0 auto;
36
53
  width: 75%;
37
54
  padding: 0 var(--padding-xl);
55
+
56
+ @media (max-width: 640px) {
57
+ width: 100%;
58
+ flex: none;
59
+ padding: var(--padding);
60
+ }
38
61
  }
39
62
 
40
63
  .sidebar {
@@ -45,5 +68,11 @@ html, body {
45
68
  height: 100%;
46
69
  overflow-y: auto;
47
70
  flex: 0 0 22%;
71
+
72
+ @media (max-width: 640px) {
73
+ position: static;
74
+ border-top: 1px solid var(--text-supersubtle);
75
+ padding: var(--padding-xl) 0;
76
+ }
48
77
  }
49
78
  }
data/_sass/_sidebar.scss CHANGED
@@ -4,6 +4,10 @@ aside {
4
4
  line-height: var(--line-height);
5
5
  color: var(--text-supersubtle);
6
6
 
7
+ @media (max-width: 640px) {
8
+ font-size: var(--text-md);
9
+ }
10
+
7
11
  p {
8
12
  margin-bottom: var(--padding-xl);
9
13
  }
data/_sass/_top_bar.scss CHANGED
@@ -2,7 +2,7 @@
2
2
  width: 100%;
3
3
  background: var(--link-color);
4
4
  color: var(--bg-color);
5
- padding: var(--padding);
5
+ padding: var(--padding-top-bar);
6
6
  text-align: center;
7
7
  font-family: var(--sans-serif);
8
8
  font-size: var(--text-sm);
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "together-theme"
5
- spec.version = "0.0.10"
5
+ spec.version = "0.0.11"
6
6
  spec.authors = ["Dallas Read"]
7
7
  spec.email = ["dallas@excitecreative.ca"]
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: together-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dallas Read
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-07 00:00:00.000000000 Z
11
+ date: 2022-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll