eleven-theme 0.2.3 → 0.2.6
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 +4 -4
- data/README.md +1 -1
- data/_layouts/block.html +2 -11
- data/_layouts/default.html +1 -0
- data/_layouts/page.html +6 -0
- data/_sass/eleven.scss +10 -29
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d5958a4b818fee42282a56dc6abf545fb5de0354ab8063fa23673c49aa36793
|
4
|
+
data.tar.gz: 63060e0eecf9508852aad730e4adc122697abeba2a91b50baa27e65e3d91a840
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f86c3f5f47cdc7d55d83166d13eb24f5a570773efb40fbbe30dae1e20ee4481d3999cc1657459784b304606003e41d733022f6cdba9274666a069e2e4627e19b
|
7
|
+
data.tar.gz: 93354a4700cdd6aef2fb3a3eab6de2ba650492166ffce705b7206e39e5458a56e415eea20b48b8218abec4c811014378ad8f1ae739af37c3e78e85f490b24622
|
data/README.md
CHANGED
@@ -35,7 +35,7 @@ Also the github-pages part of the github actions [here](https://github.com/PaulS
|
|
35
35
|
|
36
36
|
## Layouts
|
37
37
|
|
38
|
-
Check
|
38
|
+
Check out the [demo website](https://paulst.github.io/eleven/) to see the different layouts. So far there are layouts for
|
39
39
|
* home - should be used in for the index.md
|
40
40
|
* block - used to show content directly in the home layout in a seperate block
|
41
41
|
* post - used to create posts, which will be listed in the home layout.
|
data/_layouts/block.html
CHANGED
@@ -1,14 +1,5 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: page
|
3
3
|
---
|
4
4
|
|
5
|
-
|
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 }}
|
data/_layouts/default.html
CHANGED
@@ -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/page.html
CHANGED
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
|
-
|
4
|
+
max-width: 42em;
|
5
|
+
margin: auto;
|
10
6
|
font-family: monospace;
|
11
|
-
|
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
|
-
|
21
|
-
margin: 0;
|
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
|
|
@@ -46,8 +27,7 @@ code {
|
|
46
27
|
}
|
47
28
|
|
48
29
|
table{
|
49
|
-
margin
|
50
|
-
margin-right: auto;
|
30
|
+
margin: 1em auto;
|
51
31
|
border-spacing: .5em 0;
|
52
32
|
}
|
53
33
|
|
@@ -55,7 +35,7 @@ div.highlighter-rouge code {
|
|
55
35
|
display: block;
|
56
36
|
overflow-x: auto;
|
57
37
|
white-space: pre-wrap;
|
58
|
-
padding:
|
38
|
+
padding: 1em;
|
59
39
|
}
|
60
40
|
|
61
41
|
img {
|
@@ -71,7 +51,7 @@ h2 > img {
|
|
71
51
|
max-width: 46.5%;
|
72
52
|
max-height: 50%;
|
73
53
|
object-fit: cover;
|
74
|
-
display: inline;
|
54
|
+
display: inline-block;
|
75
55
|
padding: 0 0 0 5%;
|
76
56
|
box-sizing: border-box;
|
77
57
|
}
|
@@ -79,6 +59,7 @@ h2 > img {
|
|
79
59
|
h1 > img {
|
80
60
|
max-width: 100%;
|
81
61
|
padding: 0 5%;
|
62
|
+
display: block;
|
82
63
|
box-sizing: border-box;
|
83
64
|
}
|
84
65
|
|
@@ -93,7 +74,7 @@ img.logo {
|
|
93
74
|
}
|
94
75
|
|
95
76
|
img + em {
|
96
|
-
font-size:
|
77
|
+
font-size: 0.8rem;
|
97
78
|
text-align: center;
|
98
79
|
display: block;
|
99
80
|
margin: 0.5em auto;
|
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.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|