jekyll-theme-isabelline 0.1.9 → 0.1.14

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: 384750df35f4aa599dce13dd8f72ff20aa6f70b0f84cab40b718817e7bc0ddbb
4
- data.tar.gz: 235e3d63f17706285be8c0509e0a81e321a793bc0f9dd7611949a59420b4a165
3
+ metadata.gz: 10a3fa5461c9017db9f0c1dbf585a4e07842f8994f6571f3f43290b8bb6cd150
4
+ data.tar.gz: 36894a70641f6eb0ea41c33838b4b0a38cc294b325afca8cedc6b3259fdc02c0
5
5
  SHA512:
6
- metadata.gz: cfc052c5b99e31df2ff7721c46a31c7347fb69ba67d1bba964d9062cda2e487816762d5321c07967ab1fdf1093de52398d31d13bc800387d1a9ced19a6c92456
7
- data.tar.gz: 44ae25c61b9bcfcdc7425c9dd0d4f19087785a377fb5050627385a5ca11df69649e8ceb6e05a1af295dd0b1fbb9ebae20acf1f6b63faf03d69c110545647a6b3
6
+ metadata.gz: 4a58ef64a4ca8d4f4e4aa12f5a4a4fc599a37cd23516d6b558c71af43b20dbc5782aa0f7815cfbe032239957f90e166d601eb326df3a5600bf113bb506c406da
7
+ data.tar.gz: 6056591527d9dd0a1bbaa90057a3f42afaf81047954b9b10e8e58923f542ac5d9c1829fc519bfcffe0fec9977c2a7d110deef635301395ef013ccf00cca9549d
@@ -1,6 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
3
  - *Ver 0.1.x*: Initial development versions. Never released.
4
+
5
+ -- We are here --
6
+
4
7
  - *Ver 0.2.x*: Public beta releases. Primarily for internal use.
5
8
  - *Ver 0.3.x*: Public beta releases for general use.
6
9
  - *Ver 1.0.0*: General release. (ETA 9/1/2019)
@@ -0,0 +1 @@
1
+ <!-- placeholder for additional global nav items -->
@@ -6,6 +6,17 @@
6
6
  {% if site.edit_url != '' or site.edit_url != nil %}
7
7
  <a class="edit" href="{{ site.edit_url | append: page.path }}">Edit</a>.
8
8
  {% endif %}
9
+ {% if site.jekyll_theme_isabelline %}
10
+ {% if site.jekyll_theme_isabelline.url %}
11
+ <a class="isabelline badge" href="{{ site.jekyll_theme_isabelline.url }}">
12
+ {% endif %}
13
+ {{ jekyll_theme_isabelline.name | default: 'Jekyll theme «Isabelline»' }}
14
+ {% if site.jekyll_theme_isabelline.url %}
15
+ </a>
16
+ {% endif %}
17
+ .
18
+ {% endif %}
19
+
9
20
  </p>
10
21
  </nav>
11
22
  <nav>
@@ -1,7 +1,7 @@
1
1
  <header>
2
2
  <nav>
3
3
  <ul>
4
- <li><a href="{{ site.baseurl | append: '/' }}">Home</a>
4
+ <li><a href="{{ site.baseurl | append: '/' }}">{{ site.nav.home | default: "Home" }}</a>
5
5
  {% if jekyll.environment == 'local' %}
6
6
  <li><a href="{{ site.baseurl | append: '/private/' }}">Private</a>
7
7
  {% endif %}
@@ -10,6 +10,7 @@
10
10
  <li><a href="{{ site.baseurl | append: page.url }}">{{ page.title }}</a>
11
11
  {% endif %}
12
12
  {% endfor %}
13
+ {% include additional_glboal_nav.html %}
13
14
  </ul>
14
15
  </nav>
15
16
  </header>
@@ -1,17 +1,21 @@
1
- {% capture imagePath %}{{ page.id | split: "/" | last }}/{{ include.name }}{% endcapture %}
1
+ {% capture imagePath %}/assets/blog/{{ page.id | split: "/" | last }}/{{ include.name }}{% endcapture %}
2
2
 
3
- {% if include.frame == false %}
4
- {% assign frame = false %}
5
- {% else %}
6
- {% assign frame = true %}
3
+ {% capture src %}src="{{ imagePath }}"{% endcapture %}
4
+
5
+ {% assign alt=include.alt | default: "" %}
6
+ {% if alt != blank %}
7
+ {% capture alt %}alt="{{ include.alt }}" title="{{ include.alt}}"{% endcapture %}
7
8
  {% endif %}
8
9
 
9
- <figure class="figure {% if include.caption %}figure-caption{% endif %} {% if frame %}figure--frame{% endif %}">
10
- <div class="figure__inner">
11
- <img Xwidth="100%" class="figure__image" src="/assets/blog/{{ imagePath }}" {% if include.alt %} alt="{{ include.alt }}" {% endif %} {% if include.width %} width="{{ include.width }}" {% endif %}/>
12
-
13
- {% if include.caption %}
14
- <figcaption class="figure__caption">{{ include.caption }} {% if include.source %}<a class="source" href="{{ include.source }}" title="{{ include.source }}">Source</a>.{% endif %}</figcaption>
15
- {% endif %}
16
- </div>
10
+ {% assign caption=include.caption | default: "" %}
11
+
12
+ {% if alt == blank and caption != blank %}
13
+ {% assign alt=caption %}
14
+ {% endif %}
15
+
16
+ {% assign frame=include.frame | default: true %}
17
+
18
+ <figure class="figure {% if include.caption %}caption{% endif %} {% if frame %}frame{% endif %}">
19
+ <a target="_blank" href="{{ imagePath }}"><img {{ src }} {{ alt }} width="100%" /></a>
20
+ {% if caption != blank %}<figcaption>{{ caption }}</figcaption>{% endif %}
17
21
  </figure>
@@ -23,7 +23,9 @@
23
23
  <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
24
24
  <span class="posted">{{ post.date | date: "%b %-d" }}</span>
25
25
  {% if jekyll.environment == "local" %}
26
- <span class="badge collection {{ post.collection }}">{{ post.collection }}</span>
26
+ {% if post.collection == 'private' %}
27
+ <span class="badge collection {{ post.collection }}">{{ post.collection }}</span>
28
+ {% endif %}
27
29
  {% if post.draft %}
28
30
  <span class="badge draft">draft</span>
29
31
  {% endif %}
@@ -4,7 +4,7 @@
4
4
  <body>
5
5
  {% include header.html %}
6
6
  {{ content
7
- | replace: '<!--qed-->', ' <span class=qed>&#8718;</span>'
7
+ | replace: '<!--qed-->', ' <span class="qed">&#8718;</span>'
8
8
  | replace: '\=\>', '&#8658;'
9
9
  }}
10
10
  {% include footer.html %}
@@ -44,6 +44,9 @@ $body-serif: "Bree Serif",$serif;
44
44
  $header-color: darken($body-background-color,80%);
45
45
  $header-link-color: darken($body-background-color,70%);
46
46
 
47
+ $image-caption-serif: "Neucha", $sans-serif;
48
+ $image-caption-color: $body-color;
49
+
47
50
  $main-link-color: darken($body-background-color,80%);
48
51
  $main-heading-color: hsl($hue,50,30);
49
52
  $main-aside-color: hsl($hue,70,30);
@@ -60,15 +63,17 @@ $footer-link-color: lighten($footer-color,10%);
60
63
  $footer-serif: $serif;
61
64
 
62
65
 
63
- //
66
+ // use local fonts?
64
67
  $local-google-fonts: true; // TODO
65
68
 
69
+ // Bree Serif
70
+ // https://fonts.googleapis.com/css?family=Bree%20Serif
66
71
  /* latin-ext */
67
72
  @font-face {
68
73
  font-family: 'Bree Serif';
69
74
  font-style: normal;
70
75
  font-weight: 400;
71
- src: local('Bree Serif Regular'), local('BreeSerif-Regular'), url(../fonts/BreeSerif-Regular-Pw.woff2) format('woff2');
76
+ src: local('Bree Serif Regular'), local('BreeSerif-Regular'), url(../fonts/Bree%20Serif/4UaHrEJCrhhnVA3DgluA96Tp57F2IwN-Pw.woff2) format('woff2');
72
77
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
73
78
  }
74
79
  /* latin */
@@ -76,6 +81,25 @@ $local-google-fonts: true; // TODO
76
81
  font-family: 'Bree Serif';
77
82
  font-style: normal;
78
83
  font-weight: 400;
79
- src: local('Bree Serif Regular'), local('BreeSerif-Regular'), url(../fonts/BreeSerif-Regular.woff2) format('woff2');
84
+ src: local('Bree Serif Regular'), local('BreeSerif-Regular'), url(../fonts/Bree%20Serif/4UaHrEJCrhhnVA3DgluA96rp57F2IwM.woff2) format('woff2');
85
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
86
+ }
87
+
88
+ // Neucha
89
+ // https://fonts.googleapis.com/css?family=Neucha
90
+ /* cyrillic */
91
+ @font-face {
92
+ font-family: 'Neucha';
93
+ font-style: normal;
94
+ font-weight: 400;
95
+ src: local('Neucha'), url(../fonts/Neucha/q5uGsou0JOdh94bfuQltKRZUgbxR.woff2) format('woff2');
96
+ unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
97
+ }
98
+ /* latin */
99
+ @font-face {
100
+ font-family: 'Neucha';
101
+ font-style: normal;
102
+ font-weight: 400;
103
+ src: local('Neucha'), url(../fonts/Neucha/q5uGsou0JOdh94bfvQltKRZUgQ.woff2) format('woff2');
80
104
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
81
105
  }
@@ -126,6 +126,8 @@ header {
126
126
  nav {
127
127
  color: $header-color;
128
128
  font-family: $header-serif;
129
+ font-size: 80%;
130
+ font-weight: normal;
129
131
  margin: .5em 0;
130
132
  float: right;
131
133
 
@@ -143,7 +145,8 @@ header {
143
145
  &:first-child:before { content: ''; padding-right: 0; }
144
146
 
145
147
  a {
146
- &, &:hover, &:active, &:visited {
148
+ &:hover { text-decoration: underline; }
149
+ &, &:active, &:visited {
147
150
  text-decoration: none;
148
151
  color: darken($header-link-color,20%);
149
152
  }
@@ -189,14 +192,16 @@ main {
189
192
  figure {
190
193
  margin: 1em 0;
191
194
  figcaption {
192
- font-size: .8em;
195
+ //font-size: .8em;
193
196
  text-align: center;
194
197
  padding: .5rem;
198
+ font-family: $image-caption-serif;
199
+ color: $image-caption-color;
195
200
  }
196
201
 
197
202
  img {
198
203
  border-radius: 4px;
199
- width: 100%;
204
+ // width: 100%;
200
205
  }
201
206
  }
202
207
 
Binary file
@@ -3,8 +3,7 @@
3
3
 
4
4
  @import "mixins";
5
5
  @import "config";
6
- @import "config";
7
6
  @import "normalize";
8
- @import "opine";
7
+ @import "isabelline";
9
8
  @import "snackbar";
10
9
  @import "syntax";
data/index.html CHANGED
@@ -3,7 +3,11 @@ layout: base
3
3
  title: Home
4
4
  ---
5
5
 
6
- {% assign all_entries = site.blog | concat: site.posts | concat: site.links | concat: site.private | sort: "date" %}
6
+ {% if jekyll.environment == "local" %}
7
+ {% assign all_entries = site.blog | concat: site.posts | concat: site.links | concat: site.private | sort: "date" %}
8
+ {% else %}
9
+ {% assign all_entries = site.blog | concat: site.posts | concat: site.links | sort: "date" %}
10
+ {% endif %}
7
11
 
8
12
  <main>
9
13
  {% include post_index.html posts=all_entries %}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-isabelline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rouslan Zenetl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-23 00:00:00.000000000 Z
11
+ date: 2020-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -46,7 +46,7 @@ dependencies:
46
46
  version: 2.0.2
47
47
  description:
48
48
  email:
49
- - rzenetl@gmail.com
49
+ - isabelline@rzen.dev
50
50
  executables: []
51
51
  extensions: []
52
52
  extra_rdoc_files: []
@@ -54,6 +54,7 @@ files:
54
54
  - CHANGELOG.md
55
55
  - LICENSE.txt
56
56
  - README.md
57
+ - _includes/additional_glboal_nav.html
57
58
  - _includes/footer.html
58
59
  - _includes/google_analytics.html
59
60
  - _includes/head-meta.html
@@ -67,12 +68,13 @@ files:
67
68
  - _layouts/post.html
68
69
  - _layouts/tags.html
69
70
  - _sass/_config.scss
71
+ - _sass/_isabelline.scss
70
72
  - _sass/_mixins.scss
71
73
  - _sass/_normalize.scss
72
- - _sass/_opine.scss
73
74
  - _sass/_snackbar.scss
74
75
  - _sass/_syntax.scss
75
76
  - assets/.DS_Store
77
+ - assets/blog/example1/Quarter_Horse_Buckskin.jpg
76
78
  - assets/css/style.scss
77
79
  - assets/favicon/README.md
78
80
  - assets/favicon/android-chrome-192x192.png
@@ -82,8 +84,10 @@ files:
82
84
  - assets/favicon/favicon-32x32.png
83
85
  - assets/favicon/favicon.ico
84
86
  - assets/favicon/site.webmanifest
85
- - assets/fonts/BreeSerif-Regular-Pw.woff2
86
- - assets/fonts/BreeSerif-Regular.woff2
87
+ - assets/fonts/Bree Serif/4UaHrEJCrhhnVA3DgluA96Tp57F2IwN-Pw.woff2
88
+ - assets/fonts/Bree Serif/4UaHrEJCrhhnVA3DgluA96rp57F2IwM.woff2
89
+ - assets/fonts/Neucha/q5uGsou0JOdh94bfuQltKRZUgbxR.woff2
90
+ - assets/fonts/Neucha/q5uGsou0JOdh94bfvQltKRZUgQ.woff2
87
91
  - assets/js/clipboard.js
88
92
  - assets/js/slides.js
89
93
  - assets/js/snackbar.js
@@ -108,9 +112,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
112
  - !ruby/object:Gem::Version
109
113
  version: '0'
110
114
  requirements: []
111
- rubygems_version: 3.0.4
115
+ rubygems_version: 3.0.6
112
116
  signing_key:
113
117
  specification_version: 4
114
- summary: Simple clean mobile-friendly theme for long form blogging. Also good for
115
- private note taking.
118
+ summary: Simple clean mobile-friendly theme for long form note taking. Works for blogging
119
+ too.
116
120
  test_files: []