sebasic 0.2.4 → 0.3.4

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: 1d05e3f7f223133c218e733bcf6f637bee1b7a6c81e25ee82696e526cee46237
4
- data.tar.gz: e4ecca2b12b62cf6ae0d847d4f034b003cd0e8da034a90ddbe03021b3f8993a4
3
+ metadata.gz: 88dbee7b37e4da01ba232d531c56f58f4451671ca0e58ae38fd520e91393af88
4
+ data.tar.gz: 79297c382dabb59bcd3f70c00cb56430a137bf9d750de9c2819f7d2ed08a38b2
5
5
  SHA512:
6
- metadata.gz: 665908d9b74600ba4bff4280c099f7b5527b80afdda8f8f9da3f6f652ed2fb68c41bc02ed0b5b626e3ecaf3b5e319f866f681e8f26f488e05f0ec2e489147967
7
- data.tar.gz: 3c03b054a551693145a8534463d2b170b2439d7afb77a82d3397b846b972a5feb996133460b7ee4d1353ee738dbf35e0160920692ea51adf41ef28b09a57b6ac
6
+ metadata.gz: 8c76b4b3f8b9756cc5b7568b451dc0cf79e378c0945430c68302440062296ec17036a657ed58babca8ee9d2aaac14a9f52f31eced51d3319320b76f6f553f1b7
7
+ data.tar.gz: a64dcd5592cbb31aa34bcea11999922a1074ebfc9bc62ae996fa2beadcc6b597c945c44f14d27dc25448f6a112019826e6e2ad4138f6724e10f5619618b7680f
@@ -8,3 +8,6 @@ sebasic:
8
8
  github_user: lewisrobbins
9
9
 
10
10
  theme: sebasic
11
+
12
+ sass:
13
+ style: compressed
@@ -1,3 +1,3 @@
1
- <footer>
2
- <a href="/feed.xml">rss</a>
3
- </footer
1
+ <span class="rss-span">
2
+ <a class="rss-link" href=#>Back to top</a>
3
+ </div>
@@ -3,10 +3,8 @@
3
3
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1" />
5
5
  {%- seo title=false -%}
6
- <link rel="stylesheet" href="{{ site.url }}/assets/css/main.css" />
6
+ <link rel="stylesheet" href="{{ site.url }}/assets/css/style.css" />
7
7
  <link rel="shortcut icon" type="image/x-icon" href="/{{ site.favicon }}?" />
8
- <link rel="stylesheet" href="{{ site.url }}/assets/css/normalize.css" />
9
- <link rel="stylesheet" href="{{ site.url }}/assets/css/syntax.css" />
10
8
  {%- feed_meta -%}
11
9
  {%- if jekyll.environment == 'production' and site.google_analytics -%}
12
10
  {%- include google-analytics.html -%}
@@ -0,0 +1,5 @@
1
+ <div>
2
+ <span class="rss-span">
3
+ <a class="rss-link" href="/feed.xml">rss</a>
4
+ </span>
5
+ </div>
@@ -1,12 +1,15 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  {%- include head.html %}
4
- <title> {{ page.title }} </title>
4
+ {% if page.title != nil %}
5
+ <title>{{ page.title }}</title>
6
+ {% else %}
7
+ <title> {{- site.title -}} </title>
8
+ {% endif %}
5
9
  <body>
6
10
  <main class="app_layout" aria-label="Content">
7
11
  {%- include header.html -%}
8
12
  {{ content }}
9
- {%- include footer.html -%}
10
13
  </main>
11
14
  </body>
12
15
  </html>
@@ -17,3 +17,5 @@ layout: default
17
17
  {% endfor %}
18
18
  </ul>
19
19
  {%- endif -%}
20
+
21
+ {%- include rss.html -%}
@@ -12,3 +12,5 @@ layout: default
12
12
  <div class="content">
13
13
  {{ content }}
14
14
  </div>
15
+
16
+ {%- include footer.html -%}
@@ -51,6 +51,11 @@ ul li a {
51
51
  text-decoration: none;
52
52
  }
53
53
 
54
+ span a {
55
+ text-decoration: none;
56
+ color: var(--link-color);
57
+ }
58
+
54
59
  @media (any-hover: hover) {
55
60
  ul li a:hover {
56
61
  background: #eee;
@@ -59,6 +64,14 @@ ul li a {
59
64
  ul li a:active {
60
65
  background: #ccc;
61
66
  }
67
+
68
+ .rss-link:hover {
69
+ background: #eee;
70
+ }
71
+
72
+ .rss-link:active {
73
+ background: #ccc;
74
+ }
62
75
  }
63
76
 
64
77
  @media (min-width: 500px) {
@@ -84,6 +97,19 @@ ul li a {
84
97
  text-align: right;
85
98
  font-size: inherit;
86
99
  }
100
+
101
+ // for rss hover (a11y)
102
+ .rss-span {
103
+ display: inline-block;
104
+ padding-right: 10px;
105
+ text-align: right;
106
+ font-size: inherit;
107
+ }
108
+
109
+ .rss-span .rss-link {
110
+ padding: 10px 15px;
111
+ transition: 150ms background-color ease-in;
112
+ }
87
113
  }
88
114
 
89
115
  /* main app body */
@@ -0,0 +1,7 @@
1
+ ---
2
+ ---
3
+
4
+ @import "main";
5
+ @import "normalize";
6
+ @import "syntax";
7
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sebasic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lewis R
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-01 00:00:00.000000000 Z
11
+ date: 2020-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -94,13 +94,15 @@ files:
94
94
  - _includes/google-analytics.html
95
95
  - _includes/head.html
96
96
  - _includes/header.html
97
+ - _includes/rss.html
97
98
  - _layouts/default.html
98
99
  - _layouts/home.html
99
100
  - _layouts/page.html
100
101
  - _layouts/post.html
101
- - assets/css/main.css
102
- - assets/css/normalize.css
103
- - assets/css/syntax.css
102
+ - _sass/main.scss
103
+ - _sass/normalize.scss
104
+ - _sass/syntax.scss
105
+ - assets/css/style.scss
104
106
  homepage: https://github.com/lewisrobbins/sebasic
105
107
  licenses:
106
108
  - MIT