jekyll-theme-type 1.0 → 1.1

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.
@@ -0,0 +1,21 @@
1
+ #post-nav {
2
+ width:100%;
3
+ border-bottom: 1px solid $border-color;
4
+ float: left;
5
+ text-align: center;
6
+ @extend %padding-small;
7
+ i {
8
+ vertical-align: middle;
9
+ }
10
+ a {
11
+ width: 100%;
12
+ display: inline-block;
13
+ padding: 0;
14
+ }
15
+ p {
16
+ @extend .meta;
17
+ }
18
+ .post-nav-post + .post-nav-post {
19
+ margin-top: 1em;
20
+ }
21
+ }
@@ -0,0 +1,7 @@
1
+ .tags {
2
+ width: 100%;
3
+ .tag {
4
+ margin-right: 0.5em;
5
+ color: $tags-color;
6
+ }
7
+ }
@@ -21,8 +21,8 @@
21
21
  display: inline-block;
22
22
  background-size: $feature-image-size;
23
23
  border-bottom: 1px solid $border-color;
24
- p a:hover {
25
- @extend %link-hover;
24
+ p a {
25
+ @extend .body-link;
26
26
  }
27
27
  }
28
28
  .excerpt {
@@ -39,4 +39,7 @@
39
39
  .pagination {
40
40
  padding: $padding-small $padding-large 0 $padding-large;
41
41
  text-align: center;
42
+ @media (max-width: 600px) {
43
+ padding: $padding-small;
44
+ }
42
45
  }
@@ -1,3 +1,6 @@
1
+ .post-content > :last-child {
2
+ margin-bottom: 0;
3
+ }
1
4
  article,
2
5
  .comments {
3
6
  @extend %padding-regular;
@@ -6,12 +9,17 @@ article,
6
9
  width: 100%;
7
10
  }
8
11
  article {
12
+ .subtitle {
13
+ font-size: 1.45em;
14
+ font-weight: normal;
15
+ margin: 0;
16
+ }
9
17
  header {
10
18
  margin-bottom: 6%;
11
19
  text-align: center;
12
20
  }
13
- a:hover {
14
- @extend %link-hover;
21
+ a {
22
+ @extend .body-link;
15
23
  }
16
24
  .footnotes {
17
25
  font-size: 0.9em;
@@ -21,13 +29,13 @@ header {
21
29
  h1 {
22
30
  margin: 0;
23
31
  }
24
- .meta {
25
- color: rgba($text-color, .5);
26
- font-size: 0.9em;
27
- letter-spacing: 0.1em;
28
- margin: 0;
29
- text-transform: uppercase;
30
- }
32
+ }
33
+ .meta {
34
+ color: rgba($text-color, .5);
35
+ font-size: 0.9em;
36
+ letter-spacing: 0.1em;
37
+ margin: 0;
38
+ text-transform: uppercase;
31
39
  }
32
40
  .feature-image {
33
41
  padding: 0%;
@@ -47,35 +55,3 @@ header {
47
55
  @extend %padding-regular;
48
56
  }
49
57
  }
50
- // Post navigation
51
- #post-nav {
52
- width:100%;
53
- border-bottom: 1px solid $border-color;
54
- display: flex;
55
- float: left;
56
-
57
- a, .page-title {
58
- display: inline-block;
59
- }
60
-
61
- .page-title {
62
- font-size: 1.2em;
63
- margin-bottom: 1em;
64
- width: 100%;
65
- }
66
-
67
- a {
68
- padding: 2em 3em;
69
- border: 1px solid rgba(255, 255, 255, 0);
70
- text-align: center;
71
- width: 50%;
72
- }
73
- a:hover {
74
- @extend a.button:hover;
75
- }
76
-
77
- i {
78
- vertical-align: middle;
79
- }
80
- }
81
-
@@ -0,0 +1,10 @@
1
+ .tag-title {
2
+ color: $tags-color;
3
+ margin-bottom: 0;
4
+ }
5
+ .tagged-post {
6
+ .title {
7
+ margin-top: 0;
8
+ margin-bottom: 0;
9
+ }
10
+ }
@@ -10,7 +10,10 @@
10
10
  // Posts
11
11
  @import 'layouts/posts';
12
12
  @import 'layouts/index';
13
+ @import 'layouts/tags';
13
14
 
14
15
  // Partials
15
16
  @import 'includes/header';
16
17
  @import 'includes/footer';
18
+ @import 'includes/tag_list';
19
+ @import 'includes/post_nav';
@@ -5,6 +5,10 @@ Array.prototype.forEach.call(elements, function(element) {
5
5
  // Extract math markdown
6
6
  var textToRender = element.innerText || element.textContent;
7
7
 
8
+ // Kramdown and KaTeX workaround
9
+ // https://github.com/rohanchandra/type-theme/issues/47
10
+ textToRender = textToRender.replace(/%.*/g, '');
11
+
8
12
  // Create span for KaTeX
9
13
  var katexElement = document.createElement('span');
10
14
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-type
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: '1.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rohan Chandra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-18 00:00:00.000000000 Z
11
+ date: 2017-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -80,7 +80,8 @@ files:
80
80
  - _includes/head.html
81
81
  - _includes/header.html
82
82
  - _includes/icons.html
83
- - _includes/muut.html
83
+ - _includes/post_nav.html
84
+ - _includes/tags_list.html
84
85
  - _layouts/default.html
85
86
  - _layouts/home.html
86
87
  - _layouts/page.html
@@ -92,8 +93,11 @@ files:
92
93
  - _sass/external/_syntax.scss
93
94
  - _sass/includes/_footer.scss
94
95
  - _sass/includes/_header.scss
96
+ - _sass/includes/_post_nav.scss
97
+ - _sass/includes/_tag_list.scss
95
98
  - _sass/layouts/_index.scss
96
99
  - _sass/layouts/_posts.scss
100
+ - _sass/layouts/_tags.scss
97
101
  - _sass/type-theme.scss
98
102
  - assets/css/main.scss
99
103
  - assets/img/avatar.png
@@ -1,3 +0,0 @@
1
- <!-- _includes/muut.html -->
2
- <a class="muut" href="https://muut.com/i/{{site.theme_settings.muut_community_name}}/comments" type="dynamic">{{site.theme_settings.muut_community_name}}</a>
3
- <script async src="//cdn.muut.com/1/moot.min.js"></script>