jekyll-theme-isabelline 0.1.13 → 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: cba5c2a54362ffd8b8dac4888c161e06ad732766d48720365815c69a4bc6acbd
4
- data.tar.gz: a94d378565d3fb2e565d244929a8346df839829101822d82866ef1032b7fa4b1
3
+ metadata.gz: 10a3fa5461c9017db9f0c1dbf585a4e07842f8994f6571f3f43290b8bb6cd150
4
+ data.tar.gz: 36894a70641f6eb0ea41c33838b4b0a38cc294b325afca8cedc6b3259fdc02c0
5
5
  SHA512:
6
- metadata.gz: 931d9c0ec484f23dae3623839bb69c99a862e6405ff7610f67a8620ccd0ed97a47f42e9bf0899173fa5d5ad6d9720a98c2f227cc9c016a0b2796c43e0b3e4ddc
7
- data.tar.gz: 6033267ee238e7c7fd9fe512fdd3e5e6a4c7a52ea74aee672f66356764026c10d41751bc5a25972179a8180a4e5ae68282e8d747283cb1e095c667767b5d9911
6
+ metadata.gz: 4a58ef64a4ca8d4f4e4aa12f5a4a4fc599a37cd23516d6b558c71af43b20dbc5782aa0f7815cfbe032239957f90e166d601eb326df3a5600bf113bb506c406da
7
+ data.tar.gz: 6056591527d9dd0a1bbaa90057a3f42afaf81047954b9b10e8e58923f542ac5d9c1829fc519bfcffe0fec9977c2a7d110deef635301395ef013ccf00cca9549d
@@ -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 %}
@@ -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>
@@ -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
  }
@@ -192,14 +192,16 @@ main {
192
192
  figure {
193
193
  margin: 1em 0;
194
194
  figcaption {
195
- font-size: .8em;
195
+ //font-size: .8em;
196
196
  text-align: center;
197
197
  padding: .5rem;
198
+ font-family: $image-caption-serif;
199
+ color: $image-caption-color;
198
200
  }
199
201
 
200
202
  img {
201
203
  border-radius: 4px;
202
- width: 100%;
204
+ // width: 100%;
203
205
  }
204
206
  }
205
207
 
Binary file
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.13
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-10-20 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
@@ -74,6 +74,7 @@ files:
74
74
  - _sass/_snackbar.scss
75
75
  - _sass/_syntax.scss
76
76
  - assets/.DS_Store
77
+ - assets/blog/example1/Quarter_Horse_Buckskin.jpg
77
78
  - assets/css/style.scss
78
79
  - assets/favicon/README.md
79
80
  - assets/favicon/android-chrome-192x192.png
@@ -83,8 +84,10 @@ files:
83
84
  - assets/favicon/favicon-32x32.png
84
85
  - assets/favicon/favicon.ico
85
86
  - assets/favicon/site.webmanifest
86
- - assets/fonts/BreeSerif-Regular-Pw.woff2
87
- - 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
88
91
  - assets/js/clipboard.js
89
92
  - assets/js/slides.js
90
93
  - assets/js/snackbar.js