paloma-jekyll 0.1.3 → 0.3.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 +4 -4
- data/README.md +3 -1
- data/_includes/footer.html +5 -0
- data/_includes/header.html +0 -1
- data/_layouts/default.html +2 -0
- data/_layouts/post.html +9 -0
- data/_sass/_theme.scss +57 -34
- data/assets/fonts/EBGaramond-Bold.ttf +0 -0
- data/assets/fonts/EBGaramond-Regular.ttf +0 -0
- metadata +5 -3
- data/_includes/nav.html +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11ac6857e339fc334848e37842e1a13a023c4ba966400baaad0a519f691ddf65
|
4
|
+
data.tar.gz: a5b0fda3cd6c00b802d04b987f969ac80c5197c150ef8fba3c12df3cb9f0060e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cd94e5c9b3c61648a04611b372b5a1ece54f2d4992f3cf72df99d23526beeac4abaeac684815f5121408468c3a65a705fdcb6baed42d7964f124cf2dabba13b
|
7
|
+
data.tar.gz: 63594f6a0a5be08cff94deeaf57dd01f9d14cc3f2c720d301b96774dc9405a66deb62849d710c2d38f6bfbc9cb44a0c8de496180ae50a2cdb8d9a23a19dce396
|
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
+
[](https://rubygems.org/gems/paloma-jekyll)
|
2
|
+
|
1
3
|
# paloma-jekyll
|
2
4
|
|
3
|
-
|
5
|
+
Paloma Jekyll is a utilitarian theme for publishing your articles.
|
4
6
|
|
5
7
|
To experiment with this theme as a standalone website, add some sample content and run `bundle exec jekyll serve`.
|
6
8
|
|
data/_includes/header.html
CHANGED
data/_layouts/default.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -2,7 +2,12 @@
|
|
2
2
|
<html lang="{{ site.lang | default: "en-US" }}">
|
3
3
|
|
4
4
|
<head>
|
5
|
+
<meta charset="utf-8">
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
5
7
|
<link rel="stylesheet" href="{{ "/assets/styles.css" | relative_url }}">
|
8
|
+
<link rel="manifest" href="{{ "/manifest.json" | relative_url }}">
|
9
|
+
<meta name="theme-color" content="{{ site.manifest.theme_color | default: '#242e2b' }}"/>
|
10
|
+
<title>{{ page.title }}</title>
|
6
11
|
</head>
|
7
12
|
|
8
13
|
<body>
|
@@ -11,10 +16,14 @@
|
|
11
16
|
<div class="wrap">
|
12
17
|
<div class="container">
|
13
18
|
<article class="article">
|
19
|
+
<span class="article-date">{{ page.date | date: "%-d %B %Y" }}</span>
|
14
20
|
{{ content }}
|
15
21
|
</article>
|
16
22
|
</div>
|
17
23
|
</div>
|
24
|
+
|
25
|
+
{% include footer.html %}
|
26
|
+
|
18
27
|
</body>
|
19
28
|
</html>
|
20
29
|
|
data/_sass/_theme.scss
CHANGED
@@ -1,21 +1,68 @@
|
|
1
|
+
@font-face {
|
2
|
+
font-family: "Garamond";
|
3
|
+
font-weight: normal;
|
4
|
+
src: url("fonts/EBGaramond-Regular.ttf");
|
5
|
+
}
|
6
|
+
|
7
|
+
@font-face {
|
8
|
+
font-family: "Garamond";
|
9
|
+
font-weight: bold;
|
10
|
+
src: url("fonts/EBGaramond-Bold.ttf");
|
11
|
+
}
|
12
|
+
|
1
13
|
body {
|
2
|
-
color: #
|
3
|
-
background: #
|
14
|
+
color: #564742;
|
15
|
+
background: #FFF;
|
4
16
|
height: 100%;
|
5
17
|
padding: 0px;
|
6
18
|
margin: 0px;
|
7
|
-
font-family:
|
8
|
-
font-size:
|
19
|
+
font-family: 'Garamond', serif;
|
20
|
+
font-size: 23px;
|
21
|
+
}
|
22
|
+
|
23
|
+
h1 {
|
24
|
+
color: #C83E4D;
|
25
|
+
font-size: 3em;
|
26
|
+
font-weight: bold;
|
27
|
+
margin: 90px 0px 90px 0px;
|
28
|
+
}
|
29
|
+
|
30
|
+
h2 {
|
31
|
+
padding: 30px 0px 15px 0px;
|
32
|
+
box-shadow: 0px 5px 0px 0px #564742;
|
33
|
+
text-transform: uppercase;
|
34
|
+
}
|
35
|
+
|
36
|
+
ul {
|
37
|
+
list-style-type: square;
|
38
|
+
}
|
39
|
+
|
40
|
+
.article-date {
|
41
|
+
color: #936167;
|
42
|
+
font-size: .7em;
|
43
|
+
text-transform: uppercase;
|
44
|
+
|
9
45
|
}
|
10
46
|
|
11
47
|
.container {
|
12
|
-
max-width:
|
48
|
+
max-width: 700px;
|
13
49
|
margin: 0px auto;
|
14
50
|
}
|
15
51
|
|
16
52
|
.wrap {
|
17
|
-
top: 100px;
|
18
53
|
position: relative;
|
54
|
+
background: #FFF0EE;
|
55
|
+
}
|
56
|
+
.wrap a {
|
57
|
+
text-decoration: underline;
|
58
|
+
color: #C83E4D;
|
59
|
+
}
|
60
|
+
.wrap a:hover {
|
61
|
+
color: #3A1015;
|
62
|
+
}
|
63
|
+
|
64
|
+
.footer {
|
65
|
+
height: 30px;
|
19
66
|
}
|
20
67
|
|
21
68
|
pre {
|
@@ -25,36 +72,12 @@ pre {
|
|
25
72
|
.highlight { border-radius: 10px !important;}
|
26
73
|
|
27
74
|
.header {
|
28
|
-
z-index: 900;
|
29
75
|
width: 100%;
|
30
76
|
top: 0px;
|
77
|
+
background: #FFF;
|
78
|
+
height: 30px;
|
31
79
|
}
|
32
80
|
|
33
81
|
.article, .main {
|
34
|
-
padding: 15px 15px
|
35
|
-
|
36
|
-
}
|
37
|
-
|
38
|
-
.nav { }
|
39
|
-
|
40
|
-
.nav--header {}
|
41
|
-
|
42
|
-
.list {
|
43
|
-
padding: 10px 10px 10px 10px;
|
44
|
-
margin: 0px 0px 0px 0px;
|
45
|
-
list-style-type: none;
|
46
|
-
}
|
47
|
-
|
48
|
-
.list--nav {}
|
49
|
-
|
50
|
-
.item {
|
51
|
-
display: inline-block;
|
52
|
-
padding: 10px 10px 10px 10px;
|
53
|
-
margin: 0px 10px 0px 0px;
|
54
|
-
background: #ecff66;
|
55
|
-
color: #000;
|
56
|
-
}
|
57
|
-
|
58
|
-
.item a { text-decoration: none; color: inherit;}
|
59
|
-
.item--nav {}
|
60
|
-
.item--current { color: rgb(0, 0, 0);}
|
82
|
+
padding: 15px 15px 115px 15px;
|
83
|
+
}
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paloma-jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ffyud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -34,14 +34,16 @@ files:
|
|
34
34
|
- LICENSE.txt
|
35
35
|
- README.md
|
36
36
|
- _config.yml
|
37
|
+
- _includes/footer.html
|
37
38
|
- _includes/header.html
|
38
|
-
- _includes/nav.html
|
39
39
|
- _layouts/default.html
|
40
40
|
- _layouts/home.html
|
41
41
|
- _layouts/post.html
|
42
42
|
- _sass/_rouge-highlighting.scss
|
43
43
|
- _sass/_theme.scss
|
44
44
|
- _sass/paloma-jekyll.scss
|
45
|
+
- assets/fonts/EBGaramond-Bold.ttf
|
46
|
+
- assets/fonts/EBGaramond-Regular.ttf
|
45
47
|
- assets/manifest.json
|
46
48
|
- assets/styles.scss
|
47
49
|
homepage: https://github.com/Ffyud/paloma-jekyll
|
data/_includes/nav.html
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
<nav class="nav nav--header">
|
2
|
-
<ul class="list list--nav">
|
3
|
-
{{ navigation_header }}
|
4
|
-
{% for item in site.navigation_header %}
|
5
|
-
|
6
|
-
{% if item.url contains '://' %}
|
7
|
-
{% assign url = item.url %}
|
8
|
-
{% else %}
|
9
|
-
{% assign url = item.url | relative_url %}
|
10
|
-
{% endif %}
|
11
|
-
|
12
|
-
<li class="item item--nav{% if item.url == page.url %} item--current{% endif %}">
|
13
|
-
<a href="{{ url }}">{{ item.title }}</a>
|
14
|
-
</li>
|
15
|
-
{% endfor %}
|
16
|
-
</ul>
|
17
|
-
</nav>
|