sencilla 0.6.0 → 0.7.pre.2

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: '0490c1c56344b0f26bb4c6a255184c1e9f83332f45818f8411924162cba8c31c'
4
- data.tar.gz: 2de66e5aab544f73e010089fcfec68321474a0c06c386d4c16a18456602c2c12
3
+ metadata.gz: 569e687508fad602f6240489fd76d8fdb85cb16226a57ec2cec5c257907a04e7
4
+ data.tar.gz: 8919535c1c7a5a7fd6011e9f849a247dba8ad76a5ce452ade955e742a14329e2
5
5
  SHA512:
6
- metadata.gz: d38a6a5968a2e074f3cd6ed1b05e0e8486c719c55501e45583c9cf0d20c8cb0940a0ac59e7e4a67b00da08e0a771e0e42dd52b5e55262d4249cb687f6aa348f3
7
- data.tar.gz: 138ed73bccf821fb51377ee40813f316d52576194420f7c023e66fcf34c92e8ec544e66d02cbc8e3f3f45d85f4e445793ed8b0684359ba3714202849b34096b4
6
+ metadata.gz: fc1a0241da38a502bf29c6b97065ba56edbe08cb45a9c00219c72b8618adc0ce3f3f02f41ff8b3bd2df9d076d720ee23d4e589a2ed192c02c5a87954e3c58f08
7
+ data.tar.gz: 96bf2664a5e77a72b2a9c3fe7cdc824b697a95b6c0b89107734c17c6c6c792abd628f508acbfac3f74453d2e9405273221824703a656e4e6ecfd3fc5107915f1
@@ -5,11 +5,7 @@
5
5
  </div>
6
6
 
7
7
  <div class="footer-col footer-col-2">
8
- {% if site.subscribe %}
9
- <a href="/feed.xml"> <i class="far fa-rss"></i> RSS</a>
10
- {% else %}
11
8
 
12
- {% endif %}
13
9
  </div>
14
10
 
15
11
  <div class="footer-col footer-col-3">
data/_includes/head.html CHANGED
@@ -21,8 +21,6 @@
21
21
 
22
22
  <link rel="stylesheet" href="/assets/css/main.css">
23
23
 
24
- {%- feed_meta -%}
25
-
26
24
  <link href="https://use.fontawesome.com/releases/v5.14.0/css/all.css" rel="stylesheet">
27
25
 
28
26
  {%- if page.latex -%}
@@ -60,6 +60,11 @@
60
60
  {%- if site.linkedin -%}
61
61
  <a href="https://linkedin.com/in/{{ site.linkedin }}"><i class="fab fa-linkedin"></i></a>
62
62
  {%- endif -%}
63
+
64
+ {%- if site.website -%}
65
+ <a href="https://{{ site.website }}"><i class="fa fa-globe"></i></a>
66
+ {%- endif -%}
67
+
63
68
  </div>
64
69
  </div>
65
70
  </div>
@@ -22,3 +22,7 @@
22
22
  <a href="https://linkedin.com/in/{{ site.linkedin }}"><i class="fab fa-linkedin"></i></a>
23
23
  {%- endif -%}
24
24
 
25
+ {%- if site.website -%}
26
+ <a href="{{ site.website }}"><i class="fa fa-globe"></i></a>
27
+ {%- endif -%}
28
+
@@ -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,6 +43,17 @@
42
43
  </div>
43
44
 
44
45
  {%- endif -%}
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>
55
+ {%- endif -%}
56
+
45
57
 
46
58
  </div>
47
59
 
data/_layouts/post.html CHANGED
@@ -23,8 +23,16 @@ layout: default
23
23
  </time>
24
24
  {%- endif -%}
25
25
  </p>
26
+
27
+ {%- if page.description -%}
28
+ <p class="post-description">
29
+ {{ page.description }}
30
+ </p>
31
+ {%- endif -%}
26
32
  </header>
27
33
 
34
+
35
+
28
36
  <div class="post-content e-content" itemprop="articleBody">
29
37
  {{ content }}
30
38
  </div>
@@ -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 {
@@ -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.6.0
4
+ version: 0.7.pre.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mohit Saharan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-15 00:00:00.000000000 Z
11
+ date: 2023-06-04 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: '0'
114
+ version: 1.3.1
129
115
  requirements: []
130
116
  rubygems_version: 3.1.4
131
117
  signing_key: