sebasic 0.2.0 → 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
  SHA256:
3
- metadata.gz: ca40379a71701a2266053b4cba437074778f3842b81d412a761164b2b4a4def5
4
- data.tar.gz: 2e0915243eaf8df9ba9fa1b40eeb552103513178b83923170f1062ddfba6f2b6
3
+ metadata.gz: 2e92377e737ee63a44a65d3fbc67cdd07d614bf8a2f62e9a55c83e3538a47e8c
4
+ data.tar.gz: 7f1aa170692d8a8c698fcb25d68782c6a8a990b5df917445d073f4b28639c48d
5
5
  SHA512:
6
- metadata.gz: 8cfb44ab10b04aec64e44e30b4c0f7a760480a8cf69f62cd3010ca55004dbeadb215bcf22dd6d41b9eb268041acd7245d065ceabb99ac3a734044896c49abfa8
7
- data.tar.gz: 8d786ea76c19f3a09d6c9f370133a8256fb1d9ef2926c6633a0bca65c480ffaf2fc32e72977ba455b10787e1fc1e2f7121067d7a2c3ec668cbb3485a37754e26
6
+ metadata.gz: a078046247203cae52769696845be3bb5f94007b78cab998bf82b86025e454ab8a6b2ff192e9185bd06f2c35e9d5f389c60b581c1a858feec051f05ada8608b8
7
+ data.tar.gz: 0e29888d0dd3d7c04b5dace56f2d1ff4ef0a0a3a6272f5057bcc72e57c5ddc152b0dab4c8289b91dfd7a63ce7c9f355178adaf89763fdb45c0dba9dfcc840e6e
@@ -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,5 @@
1
1
  <footer>
2
- <a href="/feed.xml">rss</a>
2
+ <span class="rss-span">
3
+ <a class="rss-link" href="/feed.xml">rss</a>
4
+ </span>
3
5
  </footer
@@ -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 -%}
@@ -1,6 +1,11 @@
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 -%}
@@ -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">
@@ -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>
@@ -59,6 +59,14 @@ ul li a {
59
59
  ul li a:active {
60
60
  background: #ccc;
61
61
  }
62
+
63
+ .rss-link:hover {
64
+ background: #eee;
65
+ }
66
+
67
+ .rss-link:active {
68
+ background: #ccc;
69
+ }
62
70
  }
63
71
 
64
72
  @media (min-width: 500px) {
@@ -84,6 +92,19 @@ ul li a {
84
92
  text-align: right;
85
93
  font-size: inherit;
86
94
  }
95
+
96
+ // for rss hover (a11y)
97
+ .rss-span {
98
+ display: inline-block;
99
+ padding-right: 10px;
100
+ text-align: right;
101
+ font-size: inherit;
102
+ }
103
+
104
+ .rss-span .rss-link {
105
+ padding: 10px 15px;
106
+ transition: 150ms background-color ease-in;
107
+ }
87
108
  }
88
109
 
89
110
  /* main app body */
@@ -103,7 +124,7 @@ main {
103
124
  --content-width: 50ch;
104
125
  --layout-padding: 2rem;
105
126
  margin: 0 auto;
106
- padding: 0 var(--layout-pading);
127
+ padding: 0 var(--layout-padding);
107
128
  max-width: calc(var(--content-width) + var(--layout-padding));
108
129
  }
109
130
 
@@ -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.0
4
+ version: 0.3.2
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
@@ -98,9 +98,10 @@ files:
98
98
  - _layouts/home.html
99
99
  - _layouts/page.html
100
100
  - _layouts/post.html
101
- - assets/css/main.css
102
- - assets/css/normalize.css
103
- - assets/css/syntax.css
101
+ - _sass/main.scss
102
+ - _sass/normalize.scss
103
+ - _sass/syntax.scss
104
+ - assets/css/style.scss
104
105
  homepage: https://github.com/lewisrobbins/sebasic
105
106
  licenses:
106
107
  - MIT