sebasic 0.2.1 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3428c0d1bc996f39bc7fcb6ac4449c9a9f57c6dfadb6579a00348a8cd61162a0
4
- data.tar.gz: 51c8e7de7c3735b295b76d5cf1c4e45eb31e6df4bb152a7a2027f6ab02b1ccff
3
+ metadata.gz: 44b6393d8ad3c09d8d2732c47f97ecb0e9f852fa2e2eb555238dfa3937fc5859
4
+ data.tar.gz: bc2975d0df4df588b318a4c618dc1ea54e01f40af1f1b96f203774c3932a0a64
5
5
  SHA512:
6
- metadata.gz: 57e41922ded5d156f62817011878e89ae39d8ffa362a6730a4f5779d351713fe280cc10106205e82dea459d503c11ce4f31eb6aaf744005880fc9cf5d92eb017
7
- data.tar.gz: a799ccda1f93d579c3b3c03754e51455e2eddb8745bba2ed2054160b16dc244c6e8c26ed41ff6393621200712ebbbcfdec799b67c9e84327b972bb6030dd3060
6
+ metadata.gz: f3df3d7ded140a04c4cf3083b05bd1fac535a44878866dfaf8c4b19f2f73d603792014340588f715895fc06cda8b2fae900af985f7c8cb9e62cbc53a2e3139ff
7
+ data.tar.gz: 7526152320b84fa40305662bcca5c2eb883cf86ba8797f66405afef59a5a97b60d88c87824988e7dad17d22abca83ff3cfd513269ba7cc45c5c77740ef518e9a
@@ -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,11 +1,15 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  {%- include head.html %}
4
+ {% if page.title != nil %}
5
+ <title>{{ page.title }}</title>
6
+ {% else %}
7
+ <title> {{- site.title -}} </title>
8
+ {% endif %}
4
9
  <body>
5
10
  <main class="app_layout" aria-label="Content">
6
11
  {%- include header.html -%}
7
12
  {{ content }}
8
- {%- include footer.html -%}
9
13
  </main>
10
14
  </body>
11
15
  </html>
@@ -1,9 +1,6 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <head>
5
- <title>{{ site.title }}</title>
6
- </head>
7
4
 
8
5
  {%- if site.posts.size > 0 -%}
9
6
  <ul class="home_list">
@@ -20,3 +17,5 @@ layout: default
20
17
  {% endfor %}
21
18
  </ul>
22
19
  {%- endif -%}
20
+
21
+ {%- include rss.html -%}
@@ -2,10 +2,6 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <head>
6
- <title>{{ page.title }}</title>
7
- </head>
8
-
9
5
  <h1 class="post_title">
10
6
  {{ page.title | escape }}
11
7
  </h1>
@@ -16,3 +12,5 @@ layout: default
16
12
  <div class="content">
17
13
  {{ content }}
18
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.1
4
+ version: 0.3.3
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-06-09 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
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '12.0'
75
+ version: '13.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '12.0'
82
+ version: '13.0'
83
83
  description:
84
84
  email:
85
85
  - lewis.robbins2@gmail.com
@@ -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