type-on-strap 2.3.6 → 2.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -8
- data/_data/icons_builder.yml +82 -0
- data/_includes/default/head.html +3 -3
- data/_includes/social/cusdis.html +2 -2
- data/_includes/social/disqus.html +1 -1
- data/_includes/social/icons.html +22 -95
- data/_includes/social/utterances.html +8 -0
- data/_layouts/default.html +1 -2
- data/_layouts/post.html +5 -2
- data/_sass/base/_global.scss +2 -2
- data/_sass/base/_variables.scss +3 -5
- data/_sass/includes/_mermaid.scss +6 -1
- data/_sass/layouts/_blog.scss +6 -2
- data/_sass/layouts/_posts.scss +1 -1
- metadata +4 -3
- data/_includes/social/icon_partial.html +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e912396979eb944a0691e338ab364b3253e471bf21aa1b46d4896906805063f
|
4
|
+
data.tar.gz: 5ef7f480ea958f2742f1babf7c7f9a3c1e7e04fa99ece8ab40a29827b9c59aaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fe7611948fabbbc956cad3f1cb166e265a9404c1c04156d3efab13a0b3151b5d5cb6a472127df0bf282a5f0176ef8bba9d3e2ef1e45029330703390ac5d543c
|
7
|
+
data.tar.gz: b0fcc4324bd86a5e9b31ddd874206fcbd04d1d44a2e6b10d744e185556d9e33267d06f1b3ec1317e7f21a60dc9cdc728e851d28ab547f56a735937050a7749ee
|
data/README.md
CHANGED
@@ -10,6 +10,7 @@ A free and open-source [Jekyll](https://jekyllrb.com) theme. Based on Rohan Chan
|
|
10
10
|
|
11
11
|
* Responsive design on all devices (🖥, 💻, 📱, ...)
|
12
12
|
* Portfolio 🗂, Gallery 🖼 pages for your projects
|
13
|
+
* Multi comments 💬 options
|
13
14
|
* Tags compatibility 🏷
|
14
15
|
* Handle _Bootstrap_'ed pages: [Get Bootstrap](http://getbootstrap.com/)
|
15
16
|
* 🔎 Search feature: [Simple-Jekyll-Search](https://github.com/christian-fei/Simple-Jekyll-Search)
|
@@ -65,7 +66,8 @@ Type-on-Strap
|
|
65
66
|
├── _data.yml
|
66
67
|
| ├── authors.yml # Update the post authors configurations
|
67
68
|
| ├── language.yml # Localization configuration
|
68
|
-
|
|
69
|
+
| ├── social.yml # Social configurations to share posts (RSS, shares, ...)
|
70
|
+
| └── icons.yml # Footer icons (Twitter, Github, Stackoverflow, ...)
|
69
71
|
└── index.html # sample home page (blog page paginated)
|
70
72
|
```
|
71
73
|
|
@@ -75,7 +77,6 @@ Open `_config.yml` in a text editor to change most of the blog's settings.
|
|
75
77
|
|
76
78
|
If a variable in this document is marked as "optional", disable the feature by removing all text from the variable.
|
77
79
|
|
78
|
-
|
79
80
|
### Site configuration
|
80
81
|
|
81
82
|
Configure Jekyll as your own blog or with a "baseurl" in `_config.yml`:
|
@@ -145,18 +146,18 @@ to `_config.yml` like so:
|
|
145
146
|
google_analytics: UA-NNNNNNNN-N
|
146
147
|
```
|
147
148
|
|
148
|
-
### Comments
|
149
|
+
### Comments 💬
|
149
150
|
|
150
151
|
#### Disqus
|
151
152
|
|
152
|
-
|
153
|
-
comments section below each post.
|
153
|
+
If you have a [Disqus](https://disqus.com/) account, you can show a comments section below each post.
|
154
154
|
|
155
155
|
To enable Disqus comments, add your [Disqus shortname](https://help.disqus.com/customer/portal/articles/466208)
|
156
156
|
to your project's `_config.yml` file:
|
157
157
|
|
158
158
|
```yml
|
159
|
-
|
159
|
+
comments:
|
160
|
+
disqus_shortname: my_disqus_shortname
|
160
161
|
```
|
161
162
|
|
162
163
|
#### Cusdis
|
@@ -167,7 +168,25 @@ You can read more about it in the [documentation](https://cusdis.com/doc#/)
|
|
167
168
|
To enable it, set your cusdis name in `_config.yml`:
|
168
169
|
|
169
170
|
```yaml
|
170
|
-
|
171
|
+
comments:
|
172
|
+
cusdis_app_id: my_data-app-id
|
173
|
+
```
|
174
|
+
|
175
|
+
#### Utterances
|
176
|
+
|
177
|
+
[Utterances](https://utteranc.es) is another open source alternative linked to one's GitHub account.
|
178
|
+
It stores the comments as GitHub issues on a repository for each page.
|
179
|
+
|
180
|
+
Install the utterance [app](https://github.com/apps/utterances) to your repo.
|
181
|
+
After installing, add your info in the `_config.yml`:
|
182
|
+
|
183
|
+
```yaml
|
184
|
+
comments:
|
185
|
+
utterances: # Enable by filling below information. For more info, go to https://utteranc.es
|
186
|
+
repo: # your public comments repository (e.g. owner/repo)
|
187
|
+
issue-term: # Issue term (e.g. "comment" consider issues with this word in the title as comments)
|
188
|
+
theme: # OPTIONAL: Take the `color_theme` by default, or set a custom one like github-dark-orange
|
189
|
+
label: # OPTIONAL: Adds an issue label in the issue
|
171
190
|
```
|
172
191
|
|
173
192
|
### Math typesetting with KateX
|
@@ -220,9 +239,13 @@ sequenceDiagram
|
|
220
239
|
|
221
240
|
### Social icons
|
222
241
|
|
223
|
-
In `_data/social.yml` you can customize the social icons
|
242
|
+
In `_data/social.yml` you can customize the social icons that will be displayed in the post to share your post.
|
243
|
+
You can also enable RSS.
|
224
244
|
The site icons come from [Font Awesome](https://fontawesome.com/).
|
225
245
|
|
246
|
+
In `_data/icons.yml` you can set the footer icon that will appear at the bottom of the page.
|
247
|
+
They will redirect the user on your profile on the other platform like Twitter, GitHub and so many more!
|
248
|
+
|
226
249
|
### Cookie consent
|
227
250
|
|
228
251
|
You can add a cookie consent with a disclaimer if you use Google Analytics while respecting the [GDPR](https://en.wikipedia.org/wiki/General_Data_Protection_Regulation).
|
@@ -0,0 +1,82 @@
|
|
1
|
+
# Default data to build the footer icons
|
2
|
+
# DO NOT MODIFY, use the "icons.yml" instead.
|
3
|
+
behance:
|
4
|
+
pre: "https://www.behance.net/"
|
5
|
+
bitbucket:
|
6
|
+
pre: "https://bitbucket.org/"
|
7
|
+
calendly:
|
8
|
+
pre: "https://calendly.com/"
|
9
|
+
icon: "far fa-calendar-plus"
|
10
|
+
dribbble:
|
11
|
+
pre: "https://www.dribbble.com/"
|
12
|
+
facebook:
|
13
|
+
pre: "https://www.facebook.com/"
|
14
|
+
flickr:
|
15
|
+
pre: "https://flickr.com/photos/"
|
16
|
+
github:
|
17
|
+
pre: "https://github.com/"
|
18
|
+
gitlab:
|
19
|
+
pre: "https://gitlab.com/"
|
20
|
+
google-scholar:
|
21
|
+
pre: "https://scholar.google.com/citations?hl=en&user="
|
22
|
+
icon: "fas fa-user-graduate"
|
23
|
+
instagram:
|
24
|
+
pre: "https://instagram.com/"
|
25
|
+
hacker-news:
|
26
|
+
pre: "https://news.ycombinator.com/user?id="
|
27
|
+
keybase:
|
28
|
+
pre: "https://keybase.io/"
|
29
|
+
linkedin:
|
30
|
+
pre: "https://www.linkedin.com/in/"
|
31
|
+
mail:
|
32
|
+
pre: "mailto://"
|
33
|
+
icon: "fas fa-envelope"
|
34
|
+
map:
|
35
|
+
pre: "https://www.openstreetmap.org/#map=15/"
|
36
|
+
icon: "fas fa-map-marked"
|
37
|
+
mastodon:
|
38
|
+
pre: "https://"
|
39
|
+
matrix:
|
40
|
+
pre: "https://matrix.to/#/"
|
41
|
+
icon: "fab fa-connectdevelop"
|
42
|
+
medium:
|
43
|
+
pre: "https://medium.com/@"
|
44
|
+
patreon:
|
45
|
+
pre: "https://www.patreon.com/"
|
46
|
+
phone:
|
47
|
+
pre: "tel:"
|
48
|
+
icon: "fas fa-phone"
|
49
|
+
pinterest:
|
50
|
+
pre: "https://www.pinterest.com/"
|
51
|
+
reddit:
|
52
|
+
pre: "https://www.reddit.com/user/"
|
53
|
+
soundcloud:
|
54
|
+
pre: "https://soundcloud.com/"
|
55
|
+
sms:
|
56
|
+
pre: "sms:"
|
57
|
+
pos: "?body=Hi"
|
58
|
+
icon: "fas fa-sms"
|
59
|
+
stack-exchange:
|
60
|
+
pre: "https://stackexchange.com/users/"
|
61
|
+
stack-overflow:
|
62
|
+
pre: "https://stackoverflow.com/users/"
|
63
|
+
steam:
|
64
|
+
pre: "https://steamcommunity.com/id/"
|
65
|
+
telegram:
|
66
|
+
pre: "https://t.me/"
|
67
|
+
tumblr:
|
68
|
+
pre: "https://"
|
69
|
+
pos: ".tumblr.com/"
|
70
|
+
twitch:
|
71
|
+
pre: "https://twitch.tv/"
|
72
|
+
twitter:
|
73
|
+
pre: "https://twitter.com/"
|
74
|
+
vimeo:
|
75
|
+
pre: "https://vimeo.com/"
|
76
|
+
vk:
|
77
|
+
pre: "https://vk.com/"
|
78
|
+
wordpress:
|
79
|
+
pre: "https://"
|
80
|
+
pos: ".wordpress.com/"
|
81
|
+
youtube:
|
82
|
+
pre: "https://www.youtube.com/channel/"
|
data/_includes/default/head.html
CHANGED
@@ -31,11 +31,11 @@
|
|
31
31
|
<!-- Bootstrap-4.1.3 isolation CSS -->
|
32
32
|
<link rel="stylesheet" type="text/css" href="{{ '/assets/css/vendor/bootstrap-iso.min.css' | relative_url }}">
|
33
33
|
<!-- JQuery 3.3.1 -->
|
34
|
-
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
|
34
|
+
<script defer src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
|
35
35
|
<!-- Bootstrap 4.1.3 compiled and minified JavaScript -->
|
36
|
-
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
|
36
|
+
<script defer src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
|
37
37
|
<!-- Popper, a dependency of Bootstrap-->
|
38
|
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
|
38
|
+
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
|
39
39
|
{% endif %}
|
40
40
|
|
41
41
|
<!-- KaTeX 0.13.9 -->
|
@@ -1,6 +1,6 @@
|
|
1
|
-
<div class="comments" id="
|
1
|
+
<div class="comments" id="cusdis_thread"
|
2
2
|
data-host="https://cusdis.com"
|
3
|
-
data-app-id="{{ site.cusdis_app_id }}"
|
3
|
+
data-app-id="{% if site.comments.cusdis_app_id %}{{ site.comments.cusdis_app_id }}{% else %}{{ site.cusdis_app_id }}{% endif %}"
|
4
4
|
data-page-id="{{ page.relative_path }}"
|
5
5
|
data-page-url="{{ page.url }}"
|
6
6
|
data-page-title="{{ page.title }}"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<div class="comments">
|
2
2
|
<div id="disqus_thread"></div>
|
3
3
|
<script type="text/javascript">
|
4
|
-
var disqus_shortname = '{{ site.disqus_shortname }}';
|
4
|
+
var disqus_shortname = '{{ site.comments.disqus_shortname }}' || '{{ site.disqus_shortname }}';
|
5
5
|
(function() {
|
6
6
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
7
7
|
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
data/_includes/social/icons.html
CHANGED
@@ -10,98 +10,25 @@
|
|
10
10
|
</li>
|
11
11
|
{% endif %}
|
12
12
|
|
13
|
-
{%
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
{
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
{%
|
34
|
-
{%
|
35
|
-
{% include social/icon_partial.html isDisplayed=db_on url=db_url social="Dribbble" %}
|
36
|
-
|
37
|
-
{% assign fb_url = "https://www.facebook.com/" | append: site.data.social.facebook %}
|
38
|
-
{% assign fb_on = site.data.social.facebook or site.theme_settings.facebook %}
|
39
|
-
{% include social/icon_partial.html isDisplayed=fb_on url=fb_url social="Facebook" %}
|
40
|
-
|
41
|
-
{% assign fk_url = "https://flickr.com/photos/" | append: site.data.social.flickr %}
|
42
|
-
{% assign fk_on = site.data.social.flickr or site.theme_settings.flickr %}
|
43
|
-
{% include social/icon_partial.html isDisplayed=fk_on url=fk_url social="Flickr" %}
|
44
|
-
|
45
|
-
{% assign gh_url = "https://github.com/" | append: site.data.social.github %}
|
46
|
-
{% assign gh_on = site.data.social.github or site.theme_settings.github %}
|
47
|
-
{% include social/icon_partial.html isDisplayed=gh_on url=gh_url social="GitHub" %}
|
48
|
-
|
49
|
-
{% assign ig_url = "https://instagram.com/" | append: site.data.social.instagram %}
|
50
|
-
{% assign ig_on = site.data.social.instagram or site.theme_settings.instagram %}
|
51
|
-
{% include social/icon_partial.html isDisplayed=ig_on url=ig_url social="instagram" %}
|
52
|
-
|
53
|
-
{% assign kb_url = "https://keybase.io/" | append: site.data.social.keybase %}
|
54
|
-
{% assign kb_on = site.data.social.keybase or site.theme_settings.keybase %}
|
55
|
-
{% include social/icon_partial.html isDisplayed=kb_on url=kb_url social="Keybase" %}
|
56
|
-
|
57
|
-
{% assign se_url = site.data.social.linkedin %}
|
58
|
-
{% assign se_on = site.data.social.linkedin or site.theme_settings.linkedin %}
|
59
|
-
{% include social/icon_partial.html isDisplayed=se_on url=se_url social="Linkedin" %}
|
60
|
-
|
61
|
-
{% assign pi_url = "https://www.pinterest.com/" | append: site.data.social.pinterest %}
|
62
|
-
{% assign pi_on = site.data.social.pinterest or site.theme_settings.pinterest %}
|
63
|
-
{% include social/icon_partial.html isDisplayed=pi_on url=pi_url social="Pinterest" %}
|
64
|
-
|
65
|
-
{% assign rd_url = "https://www.reddit.com/user/" | append: site.data.social.reddit %}
|
66
|
-
{% assign rd_on = site.data.social.reddit or site.theme_settings.reddit %}
|
67
|
-
{% include social/icon_partial.html isDisplayed=rd_on url=rd_url social="Reddit" %}
|
68
|
-
|
69
|
-
{% assign sc_url = "https://soundcloud.com/" | append: site.data.social.soundcloud %}
|
70
|
-
{% assign sc_on = site.data.social.soundcloud or site.theme_settings.soundcloud %}
|
71
|
-
{% include social/icon_partial.html isDisplayed=sc_on url=sc_url social="SoundCloud" %}
|
72
|
-
|
73
|
-
{% assign se_url = site.data.social.stack_exchange %}
|
74
|
-
{% assign se_on = site.data.social.stack_exchange or site.theme_settings.stack_exchange %}
|
75
|
-
{% include social/icon_partial.html isDisplayed=se_on url=se_url social="Stack-Exchange" %}
|
76
|
-
|
77
|
-
{% assign so_url = site.data.social.stack_overflow %}
|
78
|
-
{% assign so_on = site.data.social.stack_overflow or site.theme_settings.stack_overflow %}
|
79
|
-
{% include social/icon_partial.html isDisplayed=so_on url=so_url social="Stack-Overflow" %}
|
80
|
-
|
81
|
-
{% assign st_url = "http://steamcommunity.com/id/" | append: site.data.social.steam %}
|
82
|
-
{% assign st_on = site.data.social.steam or site.theme_settings.steam %}
|
83
|
-
{% include social/icon_partial.html isDisplayed=st_on url=st_url social="Steam" %}
|
84
|
-
|
85
|
-
{% assign tb_url = "https://" | append: site.data.social.tumblr | append: ".tumblr.com/" %}
|
86
|
-
{% assign tb_on = site.data.social.tumblr or site.theme_settings.tumblr %}
|
87
|
-
{% include social/icon_partial.html isDisplayed=tb_on url=tb_url social="Tumblr" %}
|
88
|
-
|
89
|
-
{% assign gl_url = "https://gitlab.com/" | append: site.data.social.gitlab %}
|
90
|
-
{% assign gl_on = site.data.social.gitlab or site.theme_settings.gitlab %}
|
91
|
-
{% include social/icon_partial.html isDisplayed=gl_on url=gl_url social="Gitlab" %}
|
92
|
-
|
93
|
-
{% assign tw_url = "https://twitter.com/" | append: site.data.social.twitter %}
|
94
|
-
{% assign tw_on = site.data.social.twitter or site.theme_settings.twitter %}
|
95
|
-
{% include social/icon_partial.html isDisplayed=tw_on url=tw_url social="Twitter" %}
|
96
|
-
|
97
|
-
{% assign v_url = "https://vimeo.com/" | append: site.data.social.vimeo %}
|
98
|
-
{% assign v_on = site.data.social.vimeo or site.theme_settings.vimeo %}
|
99
|
-
{% include social/icon_partial.html isDisplayed=v_on url=v_url social="Vimeo" %}
|
100
|
-
|
101
|
-
{% assign wp_url = "https://" | append: site.data.social.wordpress | append: ".wordpress.com/" %}
|
102
|
-
{% assign wp_on = site.data.social.wordpress or site.theme_settings.wordpress %}
|
103
|
-
{% include social/icon_partial.html isDisplayed=wp_on url=wp_url social="WordPress" %}
|
104
|
-
|
105
|
-
{% assign yt_url = "https://www.youtube.com/channel/" | append: site.data.social.youtube %}
|
106
|
-
{% assign yt_on = site.data.social.youtube or site.theme_settings.youtube %}
|
107
|
-
{% include social/icon_partial.html isDisplayed=yt_on url=yt_url social="Youtube" %}
|
13
|
+
{% for footer in site.data.icons %}
|
14
|
+
{% unless footer[1] == nil %}
|
15
|
+
{% assign brand = footer[0] %}
|
16
|
+
{% assign id = footer[1] %}
|
17
|
+
{% assign data = site.data.icons_builder[brand] %}
|
18
|
+
{% if data.icon == nil %}
|
19
|
+
{% assign icon = "fab fa-" | append: brand %}
|
20
|
+
{% else %}
|
21
|
+
{% assign icon = data.icon %}
|
22
|
+
{% endif %}
|
23
|
+
<li>
|
24
|
+
<a href="{{ data.pre | append: id | append: data.pos }}"
|
25
|
+
title="{{ site.data.language.str_follow_on }} {{ brand | remove: '-' | capitalize }}"
|
26
|
+
rel="me">
|
27
|
+
<span class="fa-stack fa-lg">
|
28
|
+
<i class="fas fa-circle fa-stack-2x"></i>
|
29
|
+
<i class="{{ icon }} fa-stack-1x fa-inverse"></i>
|
30
|
+
</span>
|
31
|
+
</a>
|
32
|
+
</li>
|
33
|
+
{% endunless %}
|
34
|
+
{% endfor %}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<script src="https://utteranc.es/client.js"
|
2
|
+
repo='{{ site.comments.utterances.repo }}'
|
3
|
+
issue-term="{{ site.comments.utterances.issue-term}}"
|
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 }}"
|
6
|
+
crossorigin="anonymous"
|
7
|
+
async>
|
8
|
+
</script>
|
data/_layouts/default.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -37,11 +37,14 @@ layout: default
|
|
37
37
|
{% include blog/post_nav.html %}
|
38
38
|
{% endif %}
|
39
39
|
|
40
|
+
<!--Utterances-->
|
41
|
+
{% if site.comments.utterances.repo and site.comments.utterances.issue-term and site.comments.utterances.theme %} {% include social/utterances.html %} {% endif %}
|
42
|
+
|
40
43
|
<!-- Cusdis -->
|
41
|
-
{% if site.cusdis_app_id %}{% include social/cusdis.html %}{% endif %}
|
44
|
+
{% if site.comments.cusdis_app_id or site.cusdis_app_id %}{% include social/cusdis.html %}{% endif %}
|
42
45
|
|
43
46
|
<!-- Disqus -->
|
44
|
-
{% if site.disqus_shortname or site.theme_settings.disqus_shortname %}
|
47
|
+
{% if site.comments.disqus_shortname or site.theme_settings.disqus_shortname or site.disqus_shortname %}
|
45
48
|
{% include social/disqus.html %}{% endif %}
|
46
49
|
|
47
50
|
<!-- To change color of links in the page -->
|
data/_sass/base/_global.scss
CHANGED
@@ -146,7 +146,7 @@ blockquote {
|
|
146
146
|
margin: 1em 1em;
|
147
147
|
padding: 0.75em 1em;
|
148
148
|
background-color: var(--blockquote);
|
149
|
-
box-shadow: 0 2px 2px
|
149
|
+
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
|
150
150
|
}
|
151
151
|
|
152
152
|
blockquote *:last-child,
|
@@ -164,7 +164,7 @@ table {
|
|
164
164
|
td,
|
165
165
|
th {
|
166
166
|
padding: 0.5em 1em;
|
167
|
-
border: 1px solid var(--
|
167
|
+
border: 1px solid var(--border);
|
168
168
|
text-align: left;
|
169
169
|
}
|
170
170
|
|
data/_sass/base/_variables.scss
CHANGED
@@ -24,7 +24,7 @@ $l-break: 1400px;
|
|
24
24
|
$m-break: 1000px;
|
25
25
|
$break: 768px;
|
26
26
|
$sm-break: 576px;
|
27
|
-
$x-sm-break:
|
27
|
+
$x-sm-break: 320px;
|
28
28
|
|
29
29
|
/* BASE16 HIGHLIGHT */
|
30
30
|
// Material Theme
|
@@ -107,8 +107,7 @@ html, html[data-theme="light"] {
|
|
107
107
|
--h4: #262626;
|
108
108
|
--h5: #262626;
|
109
109
|
--h6: #262626;
|
110
|
-
--border: rgba(0, 0, 0, 0.
|
111
|
-
--td-border: rgba(0, 0, 0, 0.1);
|
110
|
+
--border: rgba(0, 0, 0, 0.2);
|
112
111
|
}
|
113
112
|
|
114
113
|
html[data-theme="dark"] {
|
@@ -130,8 +129,7 @@ html[data-theme="dark"] {
|
|
130
129
|
--h4: #00af9e;
|
131
130
|
--h5: #6bac00;
|
132
131
|
--h6: #ff5c00;
|
133
|
-
--border: rgba(
|
134
|
-
--td-border: rgba(255, 255, 255, 0.5); // table border
|
132
|
+
--border: rgba(255, 255, 255, 0.5); // border
|
135
133
|
--cusdis--color-text-default: var(--text);
|
136
134
|
--cusdis--color-comment-username-text: var(--link);
|
137
135
|
}
|
data/_sass/layouts/_blog.scss
CHANGED
@@ -26,7 +26,11 @@
|
|
26
26
|
}
|
27
27
|
|
28
28
|
@media screen and (max-width: $sm-break) {
|
29
|
-
background-size:
|
29
|
+
background-size: 250% auto;
|
30
|
+
}
|
31
|
+
|
32
|
+
@media screen and (max-width: $x-sm-break) {
|
33
|
+
background-size: 300% auto;
|
30
34
|
}
|
31
35
|
|
32
36
|
p:last-child {
|
@@ -46,7 +50,7 @@
|
|
46
50
|
margin-bottom: 0;
|
47
51
|
display: inline-block;
|
48
52
|
background-size: cover;
|
49
|
-
border-bottom: 1px solid
|
53
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
50
54
|
|
51
55
|
p a {
|
52
56
|
@extend .body-link;
|
data/_sass/layouts/_posts.scss
CHANGED
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.
|
4
|
+
version: 2.3.7
|
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-
|
12
|
+
date: 2021-06-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|
@@ -86,6 +86,7 @@ extra_rdoc_files:
|
|
86
86
|
files:
|
87
87
|
- LICENSE
|
88
88
|
- README.md
|
89
|
+
- _data/icons_builder.yml
|
89
90
|
- _data/language.yml
|
90
91
|
- _includes/aligner.html
|
91
92
|
- _includes/blog/blog.html
|
@@ -101,9 +102,9 @@ files:
|
|
101
102
|
- _includes/portfolio.html
|
102
103
|
- _includes/social/cusdis.html
|
103
104
|
- _includes/social/disqus.html
|
104
|
-
- _includes/social/icon_partial.html
|
105
105
|
- _includes/social/icons.html
|
106
106
|
- _includes/social/share_buttons.html
|
107
|
+
- _includes/social/utterances.html
|
107
108
|
- _layouts/custom.md
|
108
109
|
- _layouts/default.html
|
109
110
|
- _layouts/home.html
|
@@ -1,11 +0,0 @@
|
|
1
|
-
{% if include.isDisplayed %}
|
2
|
-
<li>
|
3
|
-
<a href="{{ include.url }}"
|
4
|
-
title="{{ site.data.language.str_follow_on }} {{ include.social }}">
|
5
|
-
<span class="fa-stack fa-lg">
|
6
|
-
<i class="fas fa-circle fa-stack-2x"></i>
|
7
|
-
<i class="fab fa-{{ include.social | downcase }} fa-stack-1x fa-inverse"></i>
|
8
|
-
</span>
|
9
|
-
</a>
|
10
|
-
</li>
|
11
|
-
{% endif %}
|