eleven-theme 0.2.0 → 0.2.3

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: c51648924cc4c844333c25523a4c565eb82f519dab588146ae2d4e65242658f6
4
- data.tar.gz: 8bfd5bb53ba7766bfc85aca2dc357965bd90f4d4a83fcfe7724cc767ed968c8e
3
+ metadata.gz: 7bd7fa1c442a811a103004d2aafce63ba4ebdd1bd02778b82e82e250bdf2def7
4
+ data.tar.gz: 3d3818ebe13060242ed12f6ac199a8fb4a96bc939b353b7295d7f41a15e45aea
5
5
  SHA512:
6
- metadata.gz: 44a5e752adeb1a497aa089dd72ace7e86aaae912a743bc4db47d568991ed2601583b5bc6a84aa314c8e99ebc5ebe8017ec1a203c1bc80b0bfe4d2564fb0b9772
7
- data.tar.gz: c783de54b7a159c10e8ea1e61edeb783974bcd1df9cdf0d813c02261b64bbcbf068766166d3827f41fa5e16f7812dfea00e99b8170834a54e4209191d6bbf0a7
6
+ metadata.gz: 14108c1d9f799f30832a52815f47b1d1e3e928a08e993a20d7b6e5d33aef4cde62bad2e8af742f0257801ef1a263291aa6fc579e8b5b06d9fd4d10c0a8041229
7
+ data.tar.gz: c025c2536905aea302787a26a0f8b883bc0a2ff148e2bc7b33d9e8476a45b09b4844b2a1c942df0de89745d7437f887c7201c4a2eaf622ad4551e3d495a66255
data/_config.yml CHANGED
@@ -13,8 +13,9 @@ excerpt_separator: <!--more-->
13
13
  page_excerpts: true
14
14
 
15
15
  collections:
16
- Collection:
16
+ examplecollection:
17
17
  output: true
18
+ title: "Collections"
18
19
 
19
20
  # for github subpage
20
21
  baseurl: /eleven
data/_layouts/home.html CHANGED
@@ -4,12 +4,9 @@ layout: default
4
4
 
5
5
  <main class="page-content" aria-label="Content">
6
6
  <div class="w">
7
- <div style="display: inline-block">
8
- <img src="{{ site.eleven.logo | relative_url }}" class="logo">
9
- </div>
10
- <div style="display: inline-block; vertical-align: top; margin: 0 10px">
7
+ <img src="{{ site.eleven.logo | relative_url }}" class="logo">
11
8
  {{ content }}
12
- </div>
9
+ <div style="clear: both;"></div>
13
10
  </div>
14
11
 
15
12
  {% for page in site.pages %}
@@ -33,7 +30,11 @@ layout: default
33
30
  {% for collection in site.collections %}
34
31
  {% unless collection.label == 'posts' %}
35
32
  <div class="box">
33
+ {% if collection.title %}
34
+ <h3>{{ collection.title }}</h3>
35
+ {% else %}
36
36
  <h3>{{ collection.label }}</h3>
37
+ {% endif %}
37
38
  <ul>
38
39
  {% for entry in site[collection.label] %}
39
40
  <li><a href="{{ entry.url | relative_url }}">{{ entry.title }}</a></li>
data/_sass/eleven.scss CHANGED
@@ -3,6 +3,7 @@ html, body { background: white; }
3
3
  html { height: 100%; }
4
4
 
5
5
  $fontsize: 12px;
6
+ $maxwidth: 512px;
6
7
 
7
8
  body {
8
9
  color: black;
@@ -16,22 +17,21 @@ body {
16
17
 
17
18
  .post-meta { text-align: right; }
18
19
 
19
- h1, h2, h3, h4, h5, h6 {
20
- margin: 0px;
20
+ h1{
21
+ margin: 0;
21
22
  }
22
23
 
23
24
  li { margin: 0.15rem 0; }
24
25
 
25
26
  .w {
26
- max-width: 512px;
27
+ max-width: $maxwidth;
27
28
  height: auto;
28
29
  margin: 1em auto;
29
30
  }
30
31
 
31
- @media (max-width: 800px) {
32
- #container {
33
- padding: 0;
34
- margin: 0;
32
+ @media (max-width: 980px) {
33
+ .w {
34
+ max-width: 100%
35
35
  }
36
36
  }
37
37
 
@@ -45,6 +45,12 @@ code {
45
45
  background: lightgray;
46
46
  }
47
47
 
48
+ table{
49
+ margin-left: auto;
50
+ margin-right: auto;
51
+ border-spacing: .5em 0;
52
+ }
53
+
48
54
  div.highlighter-rouge code {
49
55
  display: block;
50
56
  overflow-x: auto;
@@ -54,7 +60,7 @@ div.highlighter-rouge code {
54
60
 
55
61
  img {
56
62
  height: auto;
57
- max-width: 512px * 0.5;
63
+ max-width: 50%;
58
64
  display: block;
59
65
  margin: 0 auto;
60
66
  object-fit: scale-down;
@@ -62,25 +68,28 @@ img {
62
68
  }
63
69
 
64
70
  h2 > img {
65
- max-width: 512px * 0.465;
66
- max-height: 512px * 0.5;
71
+ max-width: 46.5%;
72
+ max-height: 50%;
67
73
  object-fit: cover;
68
74
  display: inline;
69
- padding: 0 0 0 512px*0.05;
75
+ padding: 0 0 0 5%;
70
76
  box-sizing: border-box;
71
77
  }
72
78
 
73
79
  h1 > img {
74
- max-width: 512px;
75
- padding: 0 512px*0.05;
80
+ max-width: 100%;
81
+ padding: 0 5%;
76
82
  box-sizing: border-box;
77
83
  }
78
84
 
85
+
79
86
  img.logo {
87
+ height: 7em;
88
+ width: 7em;
80
89
  object-fit: cover;
81
90
  border-radius: 50%;
82
- height: 80px;
83
- width: 80px;
91
+ float: left;
92
+ margin: 0 1em 0 0;
84
93
  }
85
94
 
86
95
  img + em {
@@ -91,6 +100,15 @@ img + em {
91
100
  font-weight: normal;
92
101
  }
93
102
 
103
+
104
+ iframe {
105
+ height: auto;
106
+ max-width: 100%;
107
+ padding: 0 5%;
108
+ display: block;
109
+ margin: 0 auto;
110
+ }
111
+
94
112
  $link-color: #4478A6;
95
113
  $hover-color: darken($link-color, 20%);
96
114
  a{
@@ -105,3 +123,4 @@ a{
105
123
  &:visited{
106
124
  }
107
125
  }
126
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eleven-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-26 00:00:00.000000000 Z
11
+ date: 2022-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll