sencilla 0.5.0 → 0.7.0.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/_includes/footer.html +3 -3
- data/_includes/head.html +0 -2
- data/_includes/social.html +4 -0
- data/_layouts/default.html +12 -9
- data/_layouts/page.html +9 -0
- data/_layouts/post.html +8 -0
- data/_sass/sencilla/_base.scss +8 -8
- data/_sass/sencilla/_layout.scss +113 -5
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbfd73df4bef9632b6ce7200ac9ec28257b688243a5cd851b8d31e589450568a
|
4
|
+
data.tar.gz: c0a0e6aabea10d979e0231cca42b8bfefb1ae846c50096cdca2917054d4bcfcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1c0926c2edc687cf226fd54a018db3b617b7b1f0c9b2f7e53feb31d59a55f1636d19fdce65d90c67e053fb1c923e2937944af8d611876d6dbed874def543483
|
7
|
+
data.tar.gz: 688a5f713081c94cd9374681459d5113f672b885ca89e1b8afbad03bb20f363689c5ff00e277badaa2559e9fe9faca71981d4f95e1b7a7625cbdb00a0a8be179
|
data/README.md
CHANGED
@@ -38,12 +38,12 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/dyskun
|
|
38
38
|
|
39
39
|
## License
|
40
40
|
|
41
|
-
|
41
|
+
This theme is available under the terms of [MIT License](https://opensource.org/licenses/MIT).
|
42
42
|
|
43
43
|
## Credits
|
44
44
|
|
45
|
-
Sencilla is a fork of [Minima](https://github.com/jekyll/minima) v2.5.1.
|
45
|
+
- Sencilla is a fork of [Minima](https://github.com/jekyll/minima) v2.5.1.
|
46
|
+
- I took `tags.html` from [beautiful-jekyll](https://github.com/daattali/beautiful-jekyll) and the color tones from [open-color](https://github.com/yeun/open-color) and [material.io](https://material.io).
|
47
|
+
- Source of `/assets/img/profile-picture.jpg`: [Pexels.com](https://www.pexels.com/photo/silhouette-photo-of-person-during-golden-hour-2475138/)
|
48
|
+
- Icons: [Font Awesome](https://fontawesome.com)
|
46
49
|
|
47
|
-
Thanks to [w3schools.com](https://www.w3schools.com/) for putting up amazing resources online for free. Most of what I have learnt about HTML and CSS have come from w3schools.
|
48
|
-
|
49
|
-
Source of `/assets/img/profile-picture.jpg`: [Pexels.com](https://www.pexels.com/photo/silhouette-photo-of-person-during-golden-hour-2475138/)
|
data/_includes/footer.html
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
<footer class="site-footer">
|
2
2
|
<div class="wrapper">
|
3
3
|
<div class="footer-col footer-col-1">
|
4
|
-
|
4
|
+
{{ site.author.name }}
|
5
5
|
</div>
|
6
6
|
|
7
7
|
<div class="footer-col footer-col-2">
|
8
8
|
{% if site.subscribe %}
|
9
|
-
|
9
|
+
<a href="/feed.xml"> <i class="fa fa-rss"></i> RSS</a>
|
10
10
|
{% else %}
|
11
11
|
•
|
12
12
|
{% endif %}
|
13
13
|
</div>
|
14
14
|
|
15
15
|
<div class="footer-col footer-col-3">
|
16
|
-
|
16
|
+
Jekyll theme <a href="https://rubygems.org/gems/sencilla">Sencilla</a>
|
17
17
|
</div>
|
18
18
|
</div>
|
19
19
|
</footer>
|
data/_includes/head.html
CHANGED
data/_includes/social.html
CHANGED
data/_layouts/default.html
CHANGED
@@ -15,6 +15,7 @@
|
|
15
15
|
</div>
|
16
16
|
|
17
17
|
<div class="col-3 col-m-12 col-s-12">
|
18
|
+
|
18
19
|
{%- if page.layout == "post" -%}
|
19
20
|
|
20
21
|
<div class="sidebar-meta">
|
@@ -42,22 +43,24 @@
|
|
42
43
|
</div>
|
43
44
|
|
44
45
|
{%- endif -%}
|
45
|
-
|
46
|
-
|
47
|
-
|
46
|
+
{%- if page.toc -%}
|
47
|
+
<div class="sidebar-meta">
|
48
|
+
<strong>Sections</strong>
|
49
|
+
<br>
|
50
|
+
<br>
|
51
|
+
|
52
|
+
{{ content | toc_only }}
|
53
|
+
|
54
|
+
</div>
|
48
55
|
{%- endif -%}
|
56
|
+
|
57
|
+
|
49
58
|
</div>
|
50
59
|
|
51
60
|
</div>
|
52
61
|
|
53
62
|
<div class="wrapper">
|
54
63
|
|
55
|
-
<div class="col-12 col-m-12 col-s-12">
|
56
|
-
{%- if site.footer_ad and page.ads -%}
|
57
|
-
{%- include responsive-ad.html -%}
|
58
|
-
{%- endif -%}
|
59
|
-
</div>
|
60
|
-
|
61
64
|
</div>
|
62
65
|
|
63
66
|
</main>
|
data/_layouts/page.html
CHANGED
@@ -4,6 +4,15 @@ layout: default
|
|
4
4
|
<article class="post">
|
5
5
|
<header class="post-header">
|
6
6
|
<h1 style="text-align: center;" class="post-title">{{ page.title | escape }}</h1>
|
7
|
+
<p class="post-meta">
|
8
|
+
{%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
|
9
|
+
{%- if page.last_modified_at -%}
|
10
|
+
{%- assign mdate = page.last_modified_at | date_to_xmlschema -%}
|
11
|
+
<time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
|
12
|
+
Last modified: {{ mdate | date: date_format }}
|
13
|
+
</time>
|
14
|
+
{%- endif -%}
|
15
|
+
</p>
|
7
16
|
</header>
|
8
17
|
<div class="post-content">
|
9
18
|
{{ content }}
|
data/_layouts/post.html
CHANGED
@@ -23,8 +23,16 @@ layout: default
|
|
23
23
|
</time>
|
24
24
|
{%- endif -%}
|
25
25
|
</p>
|
26
|
+
|
27
|
+
<p class="post-description">
|
28
|
+
{%- if page.description -%}
|
29
|
+
{{ page.description }}
|
30
|
+
{%- endif -%}
|
31
|
+
</p>
|
26
32
|
</header>
|
27
33
|
|
34
|
+
|
35
|
+
|
28
36
|
<div class="post-content e-content" itemprop="articleBody">
|
29
37
|
{{ content }}
|
30
38
|
</div>
|
data/_sass/sencilla/_base.scss
CHANGED
@@ -37,7 +37,7 @@ h1, h2, h3, h4, h5, h6,
|
|
37
37
|
p, blockquote, pre,
|
38
38
|
ul, ol, dl, figure,
|
39
39
|
%vertical-rhythm {
|
40
|
-
margin-bottom: $spacing-unit / 2;
|
40
|
+
margin-bottom: calc($spacing-unit / 2);
|
41
41
|
}
|
42
42
|
|
43
43
|
|
@@ -134,8 +134,8 @@ h1, h2, h3, h4, h5, h6 {
|
|
134
134
|
}
|
135
135
|
|
136
136
|
hr {
|
137
|
-
margin-top: $spacing-unit / 2;
|
138
|
-
margin-bottom: $spacing-unit / 2;
|
137
|
+
margin-top: calc($spacing-unit / 2);
|
138
|
+
margin-bottom: calc($spacing-unit / 2);
|
139
139
|
height: 2px;
|
140
140
|
border-width: 0px;
|
141
141
|
color: $stroke;
|
@@ -169,9 +169,9 @@ a {
|
|
169
169
|
*/
|
170
170
|
blockquote {
|
171
171
|
color: $text-dark;
|
172
|
-
margin-left: $spacing-unit / 2;
|
172
|
+
margin-left: calc($spacing-unit / 2);
|
173
173
|
border-left: 6px solid $stroke;
|
174
|
-
padding: $spacing-unit / 2;
|
174
|
+
padding: calc($spacing-unit / 2);
|
175
175
|
@include relative-font-size(1.25);
|
176
176
|
font-style: italic;
|
177
177
|
|
@@ -225,8 +225,8 @@ pre {
|
|
225
225
|
@include media-query($on-palm) {
|
226
226
|
max-width: -webkit-calc(#{$content-width});
|
227
227
|
max-width: calc(#{$content-width});
|
228
|
-
padding-right: $spacing-unit / 2;
|
229
|
-
padding-left: $spacing-unit / 2;
|
228
|
+
padding-right: calc($spacing-unit / 2);
|
229
|
+
padding-left: calc($spacing-unit / 2);
|
230
230
|
}
|
231
231
|
}
|
232
232
|
|
@@ -288,7 +288,7 @@ table {
|
|
288
288
|
}
|
289
289
|
|
290
290
|
th, td {
|
291
|
-
padding: ($spacing-unit / 3) ($spacing-unit / 2);
|
291
|
+
padding: (calc($spacing-unit / 3)) (calc($spacing-unit / 2));
|
292
292
|
border-collapse: collapse;
|
293
293
|
border-right: 1px solid $stroke;
|
294
294
|
&:last-child {
|
data/_sass/sencilla/_layout.scss
CHANGED
@@ -136,7 +136,7 @@
|
|
136
136
|
@include media-query($on-palm) {
|
137
137
|
position: absolute;
|
138
138
|
top: 9px;
|
139
|
-
right: $spacing-unit / 2;
|
139
|
+
right: calc($spacing-unit / 2);
|
140
140
|
background-color: $nav-bg;
|
141
141
|
border: 1px solid $stroke;
|
142
142
|
border-radius: 5px;
|
@@ -249,6 +249,72 @@
|
|
249
249
|
}
|
250
250
|
}
|
251
251
|
|
252
|
+
.post-description {
|
253
|
+
display: block;
|
254
|
+
width: 90%;
|
255
|
+
border-radius: 8px;
|
256
|
+
box-shadow: $shadow-body;
|
257
|
+
height: auto;
|
258
|
+
padding-top: calc($spacing-unit / 2);
|
259
|
+
padding-bottom: calc($spacing-unit / 2);
|
260
|
+
padding-left: calc($spacing-unit / 2);
|
261
|
+
padding-right: calc($spacing-unit / 2);
|
262
|
+
margin-left: auto;
|
263
|
+
margin-right: auto;
|
264
|
+
background-color: $box-fill;
|
265
|
+
|
266
|
+
font-size: $small-font-size;
|
267
|
+
text-align: center;
|
268
|
+
color: $text;
|
269
|
+
|
270
|
+
a {
|
271
|
+
color: $text-muted;
|
272
|
+
text-decoration: none;
|
273
|
+
|
274
|
+
&:visited {
|
275
|
+
color: $text-muted;
|
276
|
+
text-decoration: none;
|
277
|
+
}
|
278
|
+
|
279
|
+
&:hover {
|
280
|
+
color: $link;
|
281
|
+
text-decoration: underline;
|
282
|
+
}
|
283
|
+
}
|
284
|
+
}
|
285
|
+
|
286
|
+
.post-description-all-posts {
|
287
|
+
display: block;
|
288
|
+
width: 90%;
|
289
|
+
border-radius: 8px;
|
290
|
+
//box-shadow: $shadow-body;
|
291
|
+
height: auto;
|
292
|
+
padding-top: calc($spacing-unit / 2);
|
293
|
+
padding-bottom: calc($spacing-unit / 2);
|
294
|
+
padding-left: calc($spacing-unit / 2);
|
295
|
+
padding-right: calc($spacing-unit / 2);
|
296
|
+
margin-left: auto;
|
297
|
+
margin-right: auto;
|
298
|
+
font-size: $small-font-size;
|
299
|
+
// text-align: center;
|
300
|
+
color: $text-muted;
|
301
|
+
|
302
|
+
a {
|
303
|
+
color: $text-muted;
|
304
|
+
text-decoration: none;
|
305
|
+
|
306
|
+
&:visited {
|
307
|
+
color: $text-muted;
|
308
|
+
text-decoration: none;
|
309
|
+
}
|
310
|
+
|
311
|
+
&:hover {
|
312
|
+
color: $link;
|
313
|
+
text-decoration: underline;
|
314
|
+
}
|
315
|
+
}
|
316
|
+
}
|
317
|
+
|
252
318
|
.sidebar-meta {
|
253
319
|
display: block;
|
254
320
|
text-align: center;
|
@@ -258,8 +324,8 @@
|
|
258
324
|
height: auto;
|
259
325
|
padding-top: $spacing-unit;
|
260
326
|
padding-bottom: $spacing-unit;
|
261
|
-
padding-left: $spacing-unit / 2;
|
262
|
-
padding-right: $spacing-unit / 2;
|
327
|
+
padding-left: calc($spacing-unit / 2);
|
328
|
+
padding-right: calc($spacing-unit / 2);
|
263
329
|
font-size: $small-font-size;
|
264
330
|
background-color: $box-fill;
|
265
331
|
}
|
@@ -328,6 +394,47 @@
|
|
328
394
|
box-shadow: $shadow-body;
|
329
395
|
}
|
330
396
|
|
397
|
+
/* --------------- toc ---------------------- */
|
398
|
+
/*
|
399
|
+
.toc__list:before {
|
400
|
+
content: "Table Of Contents";
|
401
|
+
text-size: bold;
|
402
|
+
}
|
403
|
+
|
404
|
+
.toc__list {
|
405
|
+
// display: block;
|
406
|
+
text-align: center;
|
407
|
+
// width: 100%;
|
408
|
+
border-radius: 8px;
|
409
|
+
border-width: 2px;
|
410
|
+
height: auto;
|
411
|
+
// padding-top: calc($spacing-unit / 2);
|
412
|
+
// padding-bottom: calc($spacing-unit / 2);
|
413
|
+
// padding-left: $spacing-unit;
|
414
|
+
// padding-right: $spacing-unit;
|
415
|
+
margin-left: auto;
|
416
|
+
margin-right: auto;
|
417
|
+
// background-color: $box-fill;
|
418
|
+
font-size: $small-font-size;
|
419
|
+
color: $text;
|
420
|
+
}
|
421
|
+
|
422
|
+
a {
|
423
|
+
color: $text-muted;
|
424
|
+
text-decoration: none;
|
425
|
+
|
426
|
+
&:visited {
|
427
|
+
color: $text-muted;
|
428
|
+
text-decoration: none;
|
429
|
+
}
|
430
|
+
|
431
|
+
&:hover {
|
432
|
+
color: $link;
|
433
|
+
text-decoration: underline;
|
434
|
+
}
|
435
|
+
}
|
436
|
+
*/
|
437
|
+
|
331
438
|
|
332
439
|
/* --------------- profile page ---------------------- */
|
333
440
|
|
@@ -490,7 +597,7 @@
|
|
490
597
|
display: inline-block;
|
491
598
|
background-color: $grey85;
|
492
599
|
max-width: 300px;
|
493
|
-
padding: $spacing-unit / 2;
|
600
|
+
padding: calc($spacing-unit / 2);
|
494
601
|
text-decoration: none;
|
495
602
|
box-shadow: $shadow;
|
496
603
|
color: $text-light;
|
@@ -516,7 +623,7 @@
|
|
516
623
|
.tag-entry {
|
517
624
|
margin-top: $spacing-unit ;
|
518
625
|
margin-bottom: $spacing-unit ;
|
519
|
-
margin-left: $spacing-unit / 2;
|
626
|
+
margin-left: calc($spacing-unit / 2);
|
520
627
|
/*margin: 0 0 0.9375rem 1.5625rem;*/
|
521
628
|
.entry-date {
|
522
629
|
color: $text;
|
@@ -582,3 +689,4 @@
|
|
582
689
|
width: calc(100% - (#{$spacing-unit} / 2));
|
583
690
|
}
|
584
691
|
}
|
692
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sencilla
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0.pre.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mohit Saharan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.1'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: jekyll-feed
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0.15'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0.15'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: jekyll-seo-tag
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,9 +109,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
109
|
version: '0'
|
124
110
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
111
|
requirements:
|
126
|
-
- - "
|
112
|
+
- - ">"
|
127
113
|
- !ruby/object:Gem::Version
|
128
|
-
version:
|
114
|
+
version: 1.3.1
|
129
115
|
requirements: []
|
130
116
|
rubygems_version: 3.1.4
|
131
117
|
signing_key:
|