eleven-theme 0.2.1 → 0.2.5

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: 116bf78d2c2bb17a0bb25443596fb00ebcc2ce65764a6b5bb23400fd7cb4caaa
4
- data.tar.gz: 4643e929ed52b801923e6128f727f03d9bbe879c7b1a55d35cadef5ed382b78c
3
+ metadata.gz: cc3d63cd9a336099dfb358781a7a41b1b8816c01af47a56f1291e79a54dbc71c
4
+ data.tar.gz: a395fab1912ebc626a117f31299fd907376c75b05aae079902ebbe14557edddf
5
5
  SHA512:
6
- metadata.gz: 6430597159bf7176ea6f9525f80eb204e9069af3638570844de1cd9b49550554459d37a36ed7118c78792386efdeca612b02238f14bb2fe18bc14a6293bcce55
7
- data.tar.gz: f4c5bfe20cf04acc2aa3f02bd01730113098c34667a32a5ac3bb09db88c4a620182d4c41e19392666861c7ec007e079122d0261f44e2e81fed0c72f220c03b48
6
+ metadata.gz: 38ac7ab2f7a82ac637463b9960edf070c64aed7fdc141e0a33359b460e5fc3f888fcbc1475f3feb88cb1fe34e91fbc4b7bccad68dc38feb9d881ad943d865911
7
+ data.tar.gz: 8ea540ff7ad297530f2bd1681c0ccccbdf7d763ddc5887c3827169558919be30071b5f0c8df25aed830f13b39496f98443f90b35a470c3a3fbad9da3b2b7d867
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/block.html CHANGED
@@ -1,14 +1,5 @@
1
1
  ---
2
- layout: default
2
+ layout: page
3
3
  ---
4
4
 
5
- <main class="page-content" aria-label="Content">
6
- <div class="w">
7
- <a href="{{ '/' | relative_url }}">^</a>
8
- </div>
9
-
10
- <div class="box">
11
- <h1>{{ page.title }}</h1>
12
- {{ content }}
13
- </div>
14
- </main>
5
+ {{ content | markdownify }}
@@ -5,6 +5,7 @@
5
5
  <title>{{ page.title }}</title>
6
6
  <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" />
7
7
  <link rel="shortcut icon" href="{{ "/assets/logo.png" | relative_url}}" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
9
  </head>
9
10
  {{ content }}
10
11
  </html>
data/_layouts/home.html CHANGED
@@ -30,7 +30,11 @@ layout: default
30
30
  {% for collection in site.collections %}
31
31
  {% unless collection.label == 'posts' %}
32
32
  <div class="box">
33
+ {% if collection.title %}
34
+ <h3>{{ collection.title }}</h3>
35
+ {% else %}
33
36
  <h3>{{ collection.label }}</h3>
37
+ {% endif %}
34
38
  <ul>
35
39
  {% for entry in site[collection.label] %}
36
40
  <li><a href="{{ entry.url | relative_url }}">{{ entry.title }}</a></li>
data/_layouts/page.html CHANGED
@@ -2,6 +2,12 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
+ <main class="page-content" aria-label="Content">
6
+ <div class="w">
7
+ &nbsp; <a href="{{ '/' | relative_url }}">^</a>
8
+ </div>
5
9
  <div class="box">
10
+ <h1>{{ page.title }}</h1>
6
11
  {{ content | markdownify }}
7
12
  </div>
13
+ </main>
data/_sass/eleven.scss CHANGED
@@ -1,43 +1,24 @@
1
1
  html, body { background: white; }
2
2
 
3
- html { height: 100%; }
4
-
5
- $fontsize: 12px;
6
- $maxwidth: 512px;
7
-
8
3
  body {
9
- color: black;
4
+ max-width: 42em;
5
+ margin: auto;
10
6
  font-family: monospace;
11
- font-size: $fontsize;
12
- line-height: 1;
13
- margin: 0;
14
- min-height: 100%;
15
- overflow-wrap: break-word;
7
+ line-height: 1.1;
16
8
  }
17
9
 
18
10
  .post-meta { text-align: right; }
19
11
 
20
- h1, h2, h3, h4, h5, h6 {
21
- margin: 0px;
22
- }
23
-
24
- li { margin: 0.15rem 0; }
12
+ li { margin: 0.15em 0; }
25
13
 
26
14
  .w {
27
- max-width: $maxwidth;
28
15
  height: auto;
29
16
  margin: 1em auto;
30
17
  }
31
18
 
32
- @media (max-width: 980px) {
33
- .w {
34
- max-width: 100%
35
- }
36
- }
37
-
38
19
  .box {
39
20
  @extend .w;
40
- padding: 1em;
21
+ padding: 0em 1em;
41
22
  border: 1px solid black;
42
23
  }
43
24
 
@@ -45,11 +26,16 @@ code {
45
26
  background: lightgray;
46
27
  }
47
28
 
29
+ table{
30
+ margin: 1em auto;
31
+ border-spacing: .5em 0;
32
+ }
33
+
48
34
  div.highlighter-rouge code {
49
35
  display: block;
50
36
  overflow-x: auto;
51
37
  white-space: pre-wrap;
52
- padding: 1rem;
38
+ padding: 1em;
53
39
  }
54
40
 
55
41
  img {
@@ -65,7 +51,7 @@ h2 > img {
65
51
  max-width: 46.5%;
66
52
  max-height: 50%;
67
53
  object-fit: cover;
68
- display: inline;
54
+ display: inline-block;
69
55
  padding: 0 0 0 5%;
70
56
  box-sizing: border-box;
71
57
  }
@@ -73,13 +59,14 @@ h2 > img {
73
59
  h1 > img {
74
60
  max-width: 100%;
75
61
  padding: 0 5%;
62
+ display: block;
76
63
  box-sizing: border-box;
77
64
  }
78
65
 
79
66
 
80
67
  img.logo {
81
- height: 15%;
82
- width: 15%;
68
+ height: 7em;
69
+ width: 7em;
83
70
  object-fit: cover;
84
71
  border-radius: 50%;
85
72
  float: left;
@@ -87,13 +74,22 @@ img.logo {
87
74
  }
88
75
 
89
76
  img + em {
90
- font-size: $fontsize;
77
+ font-size: 0.8rem;
91
78
  text-align: center;
92
79
  display: block;
93
80
  margin: 0.5em auto;
94
81
  font-weight: normal;
95
82
  }
96
83
 
84
+
85
+ iframe {
86
+ height: auto;
87
+ max-width: 100%;
88
+ padding: 0 5%;
89
+ display: block;
90
+ margin: 0 auto;
91
+ }
92
+
97
93
  $link-color: #4478A6;
98
94
  $hover-color: darken($link-color, 20%);
99
95
  a{
@@ -108,3 +104,4 @@ a{
108
104
  &:visited{
109
105
  }
110
106
  }
107
+
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.1
4
+ version: 0.2.5
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-27 00:00:00.000000000 Z
11
+ date: 2022-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll