eleven-theme 0.2.6 → 0.2.8

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: 0d5958a4b818fee42282a56dc6abf545fb5de0354ab8063fa23673c49aa36793
4
- data.tar.gz: 63060e0eecf9508852aad730e4adc122697abeba2a91b50baa27e65e3d91a840
3
+ metadata.gz: de975a2eac3aada0d677200e056a7ad2c0957c94a08977b498e7b16f3bdf355d
4
+ data.tar.gz: 6335884ea1a912e2024ca9b84c02f26f12e6274d337f7c0425f098ea0dfc5b6a
5
5
  SHA512:
6
- metadata.gz: f86c3f5f47cdc7d55d83166d13eb24f5a570773efb40fbbe30dae1e20ee4481d3999cc1657459784b304606003e41d733022f6cdba9274666a069e2e4627e19b
7
- data.tar.gz: 93354a4700cdd6aef2fb3a3eab6de2ba650492166ffce705b7206e39e5458a56e415eea20b48b8218abec4c811014378ad8f1ae739af37c3e78e85f490b24622
6
+ metadata.gz: 336a378ab622fa45c3ef7e633f18c15bae431ce8a966093b8de2b36306d0675d3a6f1beea0037fd013dd063fb7d2e9b9142063f9061860ffc992c304edfa6149
7
+ data.tar.gz: da8ff31f85208219d5091ff15eecd612aba1f87888b9263faa6bfd9bd29c9a752ab55b069bfaf7b3ad67d3853ca9ab47d2b45d3d4ff1254519b29e29bc38e09d
data/_layouts/home.html CHANGED
@@ -8,19 +8,19 @@ layout: default
8
8
  {{ content }}
9
9
  <div style="clear: both;"></div>
10
10
  </div>
11
-
12
- {% for page in site.pages %}
11
+ {% assign sorted_pages = site.pages | sort:"order" %}
12
+ {% for page in sorted_pages %}
13
13
  {% if page.layout == 'block' %}
14
14
  {% unless page.content contains site.excerpt_separator %}
15
15
  <div class="box">
16
- <h3>{{ page.title }}</h3>
16
+ <h1>{{ page.title }}</h1>
17
17
  {{ page.content | markdownify }}
18
18
  </div>
19
19
  {% endunless %}
20
20
  {% endif %}
21
21
  {% if page.layout == 'block' and page.content contains site.excerpt_separator %}
22
22
  <div class="box">
23
- <h3>{{ page.title }}</h3>
23
+ <h1>{{ page.title }}</h1>
24
24
  {{ page.excerpt }}
25
25
  <p><a href="{{ page.url | relative_url }}">Read more</a></p>
26
26
  </div>
@@ -31,9 +31,9 @@ layout: default
31
31
  {% unless collection.label == 'posts' %}
32
32
  <div class="box">
33
33
  {% if collection.title %}
34
- <h3>{{ collection.title }}</h3>
34
+ <h1>{{ collection.title }}</h1>
35
35
  {% else %}
36
- <h3>{{ collection.label }}</h3>
36
+ <h1>{{ collection.label }}</h1>
37
37
  {% endif %}
38
38
  <ul>
39
39
  {% for entry in site[collection.label] %}
@@ -46,7 +46,7 @@ layout: default
46
46
 
47
47
  {%- assign date_format = site.eleven.date_format | default: "%b %d, %Y" -%}
48
48
  <div class="box">
49
- <h3>Posts</h3>
49
+ <h1>Posts</h1>
50
50
  <ul>
51
51
  {% for post in site.posts %}
52
52
  <li>{{ post.date | date: date_format }} - <a href="{{ post.url | relative_url }}">{{ post.title }}</a></li>
data/_sass/eleven.scss CHANGED
@@ -1,3 +1,4 @@
1
+ @use 'sass:color';
1
2
  html, body { background: white; }
2
3
 
3
4
  body {
@@ -22,6 +23,23 @@ li { margin: 0.15em 0; }
22
23
  border: 1px solid black;
23
24
  }
24
25
 
26
+ h1 {
27
+ font-size: 1.3em;
28
+ }
29
+
30
+ h2 {
31
+ font-size: 1.1em;
32
+ }
33
+
34
+ @for $i from 3 through 6 {
35
+ h#{$i} {
36
+ //font-size: $base-font-size + $heading-scale * (6 - $i) * (6 - $i);
37
+ font-size: 1em;
38
+ text-decoration: underline;
39
+ font-weight: normal;
40
+ }
41
+ }
42
+
25
43
  code {
26
44
  background: lightgray;
27
45
  }
@@ -91,7 +109,7 @@ iframe {
91
109
  }
92
110
 
93
111
  $link-color: #4478A6;
94
- $hover-color: darken($link-color, 20%);
112
+ $hover-color: color.adjust($link-color, $lightness: -20%);
95
113
  a{
96
114
  color: $link-color;
97
115
  text-decoration: none;
data/assets/css/main.scss CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  ---
3
3
 
4
- @import "eleven";
4
+ @use "eleven";
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eleven-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2022-09-15 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: jekyll
@@ -24,7 +23,6 @@ dependencies:
24
23
  - - "~>"
25
24
  - !ruby/object:Gem::Version
26
25
  version: '4.2'
27
- description:
28
26
  email:
29
27
  - stocker.paul@hotmail.com
30
28
  executables: []
@@ -47,7 +45,6 @@ homepage: https://github.com/PaulSt/eleven
47
45
  licenses:
48
46
  - MIT
49
47
  metadata: {}
50
- post_install_message:
51
48
  rdoc_options: []
52
49
  require_paths:
53
50
  - lib
@@ -62,8 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
59
  - !ruby/object:Gem::Version
63
60
  version: '0'
64
61
  requirements: []
65
- rubygems_version: 3.1.2
66
- signing_key:
62
+ rubygems_version: 3.6.9
67
63
  specification_version: 4
68
64
  summary: simple & clean jekyll theme
69
65
  test_files: []