type-on-strap 2.3.7 → 2.3.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e912396979eb944a0691e338ab364b3253e471bf21aa1b46d4896906805063f
4
- data.tar.gz: 5ef7f480ea958f2742f1babf7c7f9a3c1e7e04fa99ece8ab40a29827b9c59aaa
3
+ metadata.gz: 9d37aa295ef0bba39ece59de4e39bcfc5235c9edf80bff478a9054b3e8fdcbf6
4
+ data.tar.gz: 34d45f1b419ded21adfa161155963682d9c6d6dbee747c7a4ce874f6b96a24fc
5
5
  SHA512:
6
- metadata.gz: 6fe7611948fabbbc956cad3f1cb166e265a9404c1c04156d3efab13a0b3151b5d5cb6a472127df0bf282a5f0176ef8bba9d3e2ef1e45029330703390ac5d543c
7
- data.tar.gz: b0fcc4324bd86a5e9b31ddd874206fcbd04d1d44a2e6b10d744e185556d9e33267d06f1b3ec1317e7f21a60dc9cdc728e851d28ab547f56a735937050a7749ee
6
+ metadata.gz: 200fb555e6f2a4f6a0c10e7cf6d1e713de1162c08bcf063bb536a3631e815bb337ebf37e65a62161d2ff5683683df0d7174da4099d8c5fb5d65c7ec539d6977f
7
+ data.tar.gz: 9238840c1df0c434254416a15b6a311df9eca82ae8be75be1c0375da51ccf54092a4acbb078c52289092ba5727dd35a25eebc628bc8c05ffb7f4646482492c3b
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Type on Strap 🎨
2
2
 
3
- [![Build Status](https://travis-ci.org/sylhare/Type-on-Strap.svg?branch=master)](https://travis-ci.org/sylhare/Type-on-Strap)
3
+ [![Build](https://github.com/sylhare/Type-on-Strap/actions/workflows/jekyll-build.yml/badge.svg)](https://github.com/sylhare/Type-on-Strap/actions/workflows/jekyll-build.yml)
4
4
  [![Gem Version](https://badge.fury.io/rb/type-on-strap.svg)](https://badge.fury.io/rb/type-on-strap)
5
5
  [![Docker Pulls](https://img.shields.io/docker/pulls/sylhare/type-on-strap)](https://hub.docker.com/r/sylhare/type-on-strap)
6
6
 
@@ -2,7 +2,7 @@
2
2
  repo='{{ site.comments.utterances.repo }}'
3
3
  issue-term="{{ site.comments.utterances.issue-term}}"
4
4
  theme="{% if site.comments.utterances.theme %}{{ site.comments.utterances.theme }}{% elsif site.color_theme == 'dark' %}github-dark{% else %}github-light{% endif %}"
5
- label="{{ site.comments.utterances.label }}"
5
+ {% if site.comments.utterances.label %}label="{{ site.comments.utterances.label }}"{% endif %}
6
6
  crossorigin="anonymous"
7
7
  async>
8
8
  </script>
@@ -1,6 +1,6 @@
1
1
  <!DOCTYPE html>
2
2
  <!--
3
- Type on Strap jekyll theme v2.3.7
3
+ Type on Strap jekyll theme v2.3.8
4
4
  Theme free for personal and commercial use under the MIT license
5
5
  https://github.com/sylhare/Type-on-Strap/blob/master/LICENSE
6
6
  -->
data/_layouts/post.html CHANGED
@@ -38,7 +38,7 @@ layout: default
38
38
  {% endif %}
39
39
 
40
40
  <!--Utterances-->
41
- {% if site.comments.utterances.repo and site.comments.utterances.issue-term and site.comments.utterances.theme %} {% include social/utterances.html %} {% endif %}
41
+ {% if site.comments.utterances.repo and site.comments.utterances.issue-term %} {% include social/utterances.html %} {% endif %}
42
42
 
43
43
  <!-- Cusdis -->
44
44
  {% if site.comments.cusdis_app_id or site.cusdis_app_id %}{% include social/cusdis.html %}{% endif %}
@@ -8,11 +8,6 @@ figure {
8
8
  margin: 0;
9
9
  }
10
10
 
11
- // For correct line number width in Github Gists
12
- .gist table tbody tr td {
13
- box-sizing: content-box;
14
- }
15
-
16
11
  html {
17
12
  background: var(--background);
18
13
  }
@@ -192,12 +187,6 @@ dl,
192
187
  margin-bottom: 1em;
193
188
  }
194
189
 
195
- // KaTeX math display
196
- .math-display {
197
- display: inline-block;
198
- width: 100%;
199
- }
200
-
201
190
  // Lists within lists
202
191
  li {
203
192
  p {
@@ -243,3 +232,49 @@ kbd {
243
232
  padding: 2px 4px;
244
233
  white-space: nowrap;
245
234
  }
235
+
236
+ // Cookie consent
237
+ #cookie-notice {
238
+ padding: 0.5rem 1rem;
239
+ display: none;
240
+ text-align: center;
241
+ position: fixed;
242
+ bottom: 0;
243
+ width: 100%;
244
+ background: rgba(2, 2, 2, 0.85);
245
+ color: lightgray;
246
+ z-index: 1000;
247
+ }
248
+
249
+ #cookie-notice a {
250
+ display: inline-block;
251
+ cursor: pointer;
252
+ margin-left: 0.6rem;
253
+ }
254
+
255
+ /* Vendor tweaks */
256
+ // For correct line number width in Github Gists
257
+ .gist table tbody tr td {
258
+ box-sizing: content-box;
259
+ }
260
+
261
+ // KaTeX math display
262
+ .math-display {
263
+ display: inline-block;
264
+ width: 100%;
265
+ }
266
+
267
+ // Mermaid
268
+ .mermaid {
269
+ background-color: rgba(255, 255, 255, 0.9);
270
+ border-radius: 2%;
271
+ }
272
+
273
+ .mermaid > svg {
274
+ margin: auto;
275
+ display: block;
276
+ height: auto;
277
+ padding-bottom: 2em;
278
+ padding-top: 2em;
279
+ max-width: 100%;
280
+ }
@@ -26,7 +26,55 @@ $break: 768px;
26
26
  $sm-break: 576px;
27
27
  $x-sm-break: 320px;
28
28
 
29
- /* BASE16 HIGHLIGHT */
29
+
30
+ /* THEME COLOR SCHEMES */
31
+ html, html[data-theme="light"] {
32
+ --background: #ffffff;
33
+ --blockquote: #eef7fa;
34
+ --selection: #d4d4d4;
35
+ --meta: #595959;
36
+ --link: #337ab7;
37
+ --header-background: #24292e;
38
+ --header-text: #ffffff;
39
+ --header-link: #383838;
40
+ --code-background: #E0E0E0;
41
+ --code-inline: #24292e;
42
+ --text-shadow: #3f3f3f;
43
+ --text: #262626;
44
+ --h1: #262626;
45
+ --h2: #262626;
46
+ --h3: #262626;
47
+ --h4: #262626;
48
+ --h5: #262626;
49
+ --h6: #262626;
50
+ --border: rgba(0, 0, 0, 0.2);
51
+ }
52
+
53
+ html[data-theme="dark"] {
54
+ --background: #22272e; // brand, background
55
+ --blockquote: #373e47; // blockquote
56
+ --selection: #545d68; // selection
57
+ --meta: #909dab; // meta
58
+ --link: #00a8e0; // theme, link, link shadow header bg
59
+ --header-background: #2A3444; // Color before header image load
60
+ --header-text: #e7f3f4; // header text, feature img text
61
+ --header-link: #adbac7; // header link, search color
62
+ --code-background: #2A3444;
63
+ --code-inline: #d9b600;
64
+ --text-shadow: #2d333b; // text shadow
65
+ --text: #cdd9e5; // text
66
+ --h1: #d40059; // headers
67
+ --h2: #b37eff;
68
+ --h3: #ff66c2;
69
+ --h4: #00af9e;
70
+ --h5: #6bac00;
71
+ --h6: #ff5c00;
72
+ --border: rgba(255, 255, 255, 0.5); // border
73
+ --cusdis--color-text-default: var(--text);
74
+ --cusdis--color-comment-username-text: var(--link);
75
+ }
76
+
77
+ /* BASE16 CODE HIGHLIGHT */
30
78
  // Material Theme
31
79
  html, html[data-theme="light"] {
32
80
  --base00: #302f2d; // Default Background
@@ -86,50 +134,3 @@ html[data-theme="dark"] {
86
134
  // --base0e: #ae81ff; // Integers, Boolean, Constants, XML Attributes, Markup Link Url
87
135
  // --base0f: #cc6633; // Deprecated, Opening/Closing Embedded Language Tags e.g.
88
136
  //}
89
-
90
- /* THEME COLOR SCHEMES */
91
- html, html[data-theme="light"] {
92
- --background: #ffffff;
93
- --blockquote: #eef7fa;
94
- --selection: #d4d4d4;
95
- --meta: #595959;
96
- --link: #337ab7;
97
- --header-background: #24292e;
98
- --header-text: #ffffff;
99
- --header-link: #383838;
100
- --code-background: #E0E0E0;
101
- --code-inline: #24292e;
102
- --text-shadow: #3f3f3f;
103
- --text: #262626;
104
- --h1: #262626;
105
- --h2: #262626;
106
- --h3: #262626;
107
- --h4: #262626;
108
- --h5: #262626;
109
- --h6: #262626;
110
- --border: rgba(0, 0, 0, 0.2);
111
- }
112
-
113
- html[data-theme="dark"] {
114
- --background: #22272e; // brand, background
115
- --blockquote: #373e47; // blockquote
116
- --selection: #545d68; // selection
117
- --meta: #909dab; // meta
118
- --link: #00a8e0; // theme, link, link shadow header bg
119
- --header-background: #2A3444; // Color before header image load
120
- --header-text: #e7f3f4; // header text, feature img text
121
- --header-link: #adbac7; // header link, search color
122
- --code-background: #2A3444;
123
- --code-inline: #d9b600;
124
- --text-shadow: #2d333b; // text shadow
125
- --text: #cdd9e5; // text
126
- --h1: #d40059; // headers
127
- --h2: #b37eff;
128
- --h3: #ff66c2;
129
- --h4: #00af9e;
130
- --h5: #6bac00;
131
- --h6: #ff5c00;
132
- --border: rgba(255, 255, 255, 0.5); // border
133
- --cusdis--color-text-default: var(--text);
134
- --cusdis--color-comment-username-text: var(--link);
135
- }
@@ -15,14 +15,14 @@
15
15
  li {
16
16
  display: inline;
17
17
  }
18
-
18
+
19
19
  a {
20
20
  color: var(--link);
21
21
  }
22
22
 
23
23
  @media (prefers-color-scheme: dark) {
24
24
  a {
25
- color: var(--meta);
25
+ color: var(--meta);
26
26
  }
27
27
  }
28
28
 
File without changes
@@ -61,10 +61,11 @@ header {
61
61
  border-radius: 1em;
62
62
  padding-right: 0.5em;
63
63
  display: inline-flex;
64
-
64
+
65
65
  a {
66
66
  display: flex;
67
67
  align-items: center;
68
+
68
69
  img {
69
70
  height: auto;
70
71
  }
@@ -146,7 +147,7 @@ header {
146
147
 
147
148
  a {
148
149
  :visited {
149
- filter: saturate(0.7);
150
+ filter: saturate(0.7);
150
151
  }
151
152
  }
152
153
  }
@@ -1,28 +1,54 @@
1
- // Variables
1
+ /* TYPE_ON_STRAP Main style sheet */
2
+
3
+ /* Variables */
4
+ // All the options to customize your theme in one file
2
5
  @import 'base/variables';
3
- // External
6
+
7
+ /* External */
8
+ // CSS from external sources
4
9
  @import 'external/reset';
5
10
  @import 'external/font-awesome';
6
11
  @import 'external/pacifico';
7
12
  @import 'external/katex';
8
13
  @import 'external/source-sans-pro';
9
- // Base
14
+
15
+ /* Base */
16
+ // For general CSS in the theme
10
17
  @import 'base/global';
11
18
  @import 'base/highlight';
12
19
  @import 'base/utility';
13
- // Includes
14
- @import 'includes/footer';
20
+
21
+ /* Includes */
22
+ // Linked with the html in the _includes folder
15
23
  @import 'includes/post_nav';
24
+ @import 'includes/footer';
16
25
  @import 'includes/navbar';
17
- @import 'includes/portfolio';
18
- @import 'includes/grid';
19
26
  @import 'includes/share_buttons';
20
27
  @import 'includes/blog_nav';
21
- @import 'includes/cookie_consent';
22
- @import 'includes/mermaid';
23
- // Posts
28
+ @import 'includes/gallery';
29
+ @import 'includes/portfolio';
30
+
31
+ /* Posts */
32
+ // Linked with the html in the _layouts folder
24
33
  @import 'layouts/posts';
25
34
  @import 'layouts/blog';
26
35
  @import 'layouts/page';
27
36
  @import 'layouts/tags';
28
37
  @import 'layouts/search';
38
+
39
+ /**
40
+
41
+ CUSTOM STYLING
42
+
43
+ In the case you want to add your own style on top of the type-on-strap one.
44
+ You can add a custom scss file using:
45
+
46
+ @import 'custom';
47
+
48
+ Put it right after this comment for your changes to be applied over the default style.
49
+ (Once it processed into the assets/css/main.css by Jekyll at run time)
50
+
51
+ Then create your _custom.scss right next to type-on-strap.scss and add in it all
52
+ of the unique scss that your blog needs.
53
+
54
+ */
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: type-on-strap
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.7
4
+ version: 2.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylhare
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-06-17 00:00:00.000000000 Z
12
+ date: 2021-07-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -139,10 +139,8 @@ files:
139
139
  - _sass/external/font-awesome/_variables.scss
140
140
  - _sass/external/font-awesome/v4-shims.scss
141
141
  - _sass/includes/_blog_nav.scss
142
- - _sass/includes/_cookie_consent.scss
143
142
  - _sass/includes/_footer.scss
144
- - _sass/includes/_grid.scss
145
- - _sass/includes/_mermaid.scss
143
+ - _sass/includes/_gallery.scss
146
144
  - _sass/includes/_navbar.scss
147
145
  - _sass/includes/_portfolio.scss
148
146
  - _sass/includes/_post_nav.scss
@@ -262,7 +260,7 @@ metadata:
262
260
  plugin_type: theme
263
261
  post_install_message: 'Thanks for using Type on strap v2+!
264
262
 
265
- '
263
+ '
266
264
  rdoc_options:
267
265
  - "--charset=UTF-8"
268
266
  require_paths:
@@ -278,7 +276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
278
276
  - !ruby/object:Gem::Version
279
277
  version: '0'
280
278
  requirements: []
281
- rubygems_version: 3.0.8
279
+ rubygems_version: 3.0.3.1
282
280
  signing_key:
283
281
  specification_version: 4
284
282
  summary: A simple and responsive jekyll theme template
@@ -1,17 +0,0 @@
1
- #cookie-notice {
2
- padding: 0.5rem 1rem;
3
- display: none;
4
- text-align: center;
5
- position: fixed;
6
- bottom: 0;
7
- width: 100%;
8
- background: rgba(2, 2, 2, 0.85);
9
- color: lightgray;
10
- z-index: 1000;
11
- }
12
-
13
- #cookie-notice a {
14
- display: inline-block;
15
- cursor: pointer;
16
- margin-left: 0.6rem;
17
- }
@@ -1,13 +0,0 @@
1
- .mermaid {
2
- background-color: rgba(255, 255, 255, 0.9);
3
- border-radius: 2%;
4
- }
5
-
6
- .mermaid > svg {
7
- margin: auto;
8
- display: block;
9
- height: auto;
10
- padding-bottom: 2em;
11
- padding-top: 2em;
12
- max-width: 100%;
13
- }