darkade.github.io-theme 1.2.0 → 1.3.3

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: fb20a24c23677e70fda13e01052717df78272de40bc45365fdd11fc7a3c18f7e
4
- data.tar.gz: ab159e540ad6337171dbeef60ece17dab41a96aa0ffe1b98bfb5ea690bce7f8b
3
+ metadata.gz: 1306a348a775fbc8759fd25e8a59fad8c62bb6aaddca167a2819bf4be09ef816
4
+ data.tar.gz: 6a685911b769f1530b485b9d7eecff284c4b433c21e9044e66c23b7d115409d1
5
5
  SHA512:
6
- metadata.gz: aa6034aa2c46047581d1facce2b0fc3921c67d366c6984f8cd12b8dc81f304d152211eb9fb7b5d7f04e2a57cb93ea6fd6ab70c1bf9851b3557b9afdbbdcc2833
7
- data.tar.gz: c85bc0bbe76e7c3165802bcafcb34b0249af89e5351a4adf5520d19abcceb80ff97ad9e84430a25fd9d38c4a0abc021ad7f5ac9e37da8ac115e94198e5ca4f8b
6
+ metadata.gz: af395188844f0302f0a3a9b29bf1dbd254c63800c631f74c322c8740fdbdcb158c05f0e8ee0984fbe12b3360d93dfeb7f7e5feaf7018096ca378ab42fbd145cc
7
+ data.tar.gz: c3f480c0d34f44613f8a064e6b17d69e1ec39900f10680a16fdb22d2a360746b6309aeeb8ad8db7d772b342c8f4ebbf1978ab2ab72f63968bf57554f1f8c7aee
data/_includes/head.html CHANGED
@@ -3,6 +3,8 @@
3
3
  <meta charset="utf-8">
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
5
5
  <link rel="stylesheet" href="/assets/css/styles.css">
6
+ <link rel="shortcut icon" href="/assets/icon.png" type="image/x-icon">
7
+ <link rel="shortcut icon" href="/assets/icon_large.png" type="image/png">
6
8
 
7
9
  {% if site.analytics %}
8
10
  <!-- Global site tag (gtag.js) - Google Analytics -->
@@ -0,0 +1,18 @@
1
+ <div id="language-selector-wrapper" class="position-sticky">
2
+ <ul class="list-inline mx-auto mr-md-3 mt-3 text-center text-md-right language-selector">
3
+ <li class="list-inline-item">
4
+ <a href="/">
5
+ <svg class="icon" xmlns:svg="http://www.w3.org/2000/svg">
6
+ <use xlink:href="/assets/sprites/languages.svg#en"></use>
7
+ </svg>
8
+ </a>
9
+ </li>
10
+ <li class="list-inline-item">
11
+ <a href="/es/">
12
+ <svg class="icon">
13
+ <use xlink:href="/assets/sprites/languages.svg#es"></use>
14
+ </svg>
15
+ </a>
16
+ </li>
17
+ </ul>
18
+ </div>
@@ -6,24 +6,14 @@
6
6
  <li class="page-item disabled"><a class="page-link" href="#"><span aria-hidden="true">&laquo;</span></a></li>
7
7
  {% endif %}
8
8
 
9
- {% for i in (1..paginator.total_pages) %}
10
-
11
- {% if i == paginator.page %}
12
- {% assign active = "active" %}
13
- {% else %}
14
- {% assign active = "" %}
9
+ {% if paginator.page_trail %}
10
+ {% for trail in paginator.page_trail %}
11
+ <li {% if page.url == trail.path %}class="page-item active"{% else %}class="page-item"{% endif %}>
12
+ <a class="page-link" href="{{ trail.path | prepend: site.baseurl }}" title="{{trail.title}}">{{ trail.num }}</a>
13
+ </li>
14
+ {% endfor %}
15
15
  {% endif %}
16
16
 
17
- {% if forloop.first == true %}
18
- {% capture pageurl %}/#{% endcapture %}
19
- {% else %}
20
- {% capture pageurl %}/page{{ i }}/{% endcapture %}
21
- {% endif %}
22
-
23
- <li class="page-item {{ active }}"><a class="page-link" href="{{ pageurl }}">{{ i }}</a></li>
24
-
25
- {% endfor %}
26
-
27
17
  {% if paginator.next_page %}
28
18
  <li class="page-item"><a class="page-link" href="{{ paginator.next_page_path }}"><span aria-hidden="true">&raquo;</span></a></li>
29
19
  {% else %}
@@ -6,6 +6,7 @@
6
6
  <main class="container">
7
7
  {{ content }}
8
8
  </main>
9
+ {% include language.html %}
9
10
  {% include footer.html %}
10
11
  {% include jquery.html %}
11
12
  </body>
data/_layouts/post.html CHANGED
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  layout: page
3
3
  ---
4
- <article class="row py-1">
4
+ <article class="row py-1" lang="{{ page.locale | default: site.lang | replace: '_', '-' }}">
5
5
  <div class="col">
6
- <h1 class="my-2 h2"><a href="{{ post.url }}">{{ page.title }}</a></h1>
6
+ <h1 class="my-2 h2"><a href="{{ page.url }}">{{ page.title }}</a></h1>
7
7
  <p class="text-right">{{ page.date | date: "%b %d, %Y" }}</p>
8
8
  <hr class="mx-5 my-3">
9
9
 
data/_sass/main.scss CHANGED
@@ -3,6 +3,11 @@ $secondary: #F5A9B8;
3
3
  $font-size-base: 1.25rem !default; // Assumes the browser default, typically `16px`
4
4
 
5
5
  @import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
6
+ @import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
7
+ @import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap');
8
+
9
+ $font-family-sans-serif: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
10
+ $font-family-monospace: "Ubuntu Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
6
11
 
7
12
  @import "bootstrap/bootstrap";
8
13
 
@@ -16,6 +21,10 @@ footer {
16
21
  max-width: 1.5rem;
17
22
  margin-right: 0.5rem;
18
23
  vertical-align: middle;
24
+
25
+ &.icon {
26
+ fill: $primary;
27
+ }
19
28
  }
20
29
  }
21
30
 
@@ -48,8 +57,27 @@ article {
48
57
  padding: 1rem 1rem 1rem 2rem;
49
58
  background-color: transparentize($secondary, 0.91) !important;
50
59
  }
60
+
61
+ a {
62
+ text-shadow: 0.1px 0px darken($primary, 1%);
63
+ }
51
64
  }
52
65
 
53
- svg.icon {
54
- fill: $primary;
66
+ #language-selector-wrapper {
67
+ bottom: 3vh;
68
+
69
+ .language-selector {
70
+ svg {
71
+ max-height: 3rem;
72
+ max-width: 3rem;
73
+ margin: 0;
74
+ vertical-align: middle;
75
+ &.icon {
76
+ fill: $secondary;
77
+ }
78
+ }
79
+ }
80
+ @media (max-width: 600px) {
81
+ position: relative !important;
82
+ }
55
83
  }
@@ -0,0 +1,70 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg
3
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
4
+ xmlns:cc="http://creativecommons.org/ns#"
5
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
+ xmlns:svg="http://www.w3.org/2000/svg"
7
+ xmlns="http://www.w3.org/2000/svg"
8
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
9
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
10
+ width="184"
11
+ height="184"
12
+ version="1.1"
13
+ id="svg1977"
14
+ inkscape:version="1.0.2 (e86c8708, 2021-01-15)"
15
+ sodipodi:docname="languages.svg">
16
+ <defs
17
+ id="defs1971" />
18
+ <sodipodi:namedview
19
+ id="base"
20
+ pagecolor="#ffffff"
21
+ bordercolor="#666666"
22
+ borderopacity="1.0"
23
+ inkscape:pageopacity="0.0"
24
+ inkscape:pageshadow="2"
25
+ inkscape:zoom="3.3633744"
26
+ inkscape:cx="90.703183"
27
+ inkscape:cy="92.025938"
28
+ inkscape:document-units="mm"
29
+ inkscape:current-layer="svg1977"
30
+ inkscape:document-rotation="0"
31
+ showgrid="false"
32
+ units="px"
33
+ inkscape:window-width="1440"
34
+ inkscape:window-height="855"
35
+ inkscape:window-x="1080"
36
+ inkscape:window-y="23"
37
+ inkscape:window-maximized="1" />
38
+ <metadata
39
+ id="metadata1974">
40
+ <rdf:RDF>
41
+ <cc:Work
42
+ rdf:about="">
43
+ <dc:format>image/svg+xml</dc:format>
44
+ <dc:type
45
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
46
+ <dc:title></dc:title>
47
+ </cc:Work>
48
+ </rdf:RDF>
49
+ </metadata>
50
+ <symbol id="es" viewBox="0 0 92 92">
51
+ <path
52
+ d="M 79.999995,1 H 12 C 5.900002,1 1,5.600002 1,11.300002 v 51.699991 c 0,5.7 4.900002,10.3 11,10.3 h 7.2 v 15.3 c 0,0.9 0.6,1.8 1.5,2.19999 0.4,0.20002 0.7,0.20002 1.1,0.20002 0.6,0 1.2,-0.20002 1.7,-0.5 l 22.7,-17.2 h 33.799995 c 6.1,0 11.00001,-4.6 11.00001,-10.299998 V 11.300002 C 91.000005,5.600002 86.099995,1 79.999995,1 Z M 44.3,51.499992 H 22.1 V 22.299998 H 43.5 V 27.5 H 28.1 v 6.199997 h 14.2 v 5.099998 H 28.1 v 7.499999 H 44.3 Z M 68.69999,49.599994 C 66.60001,51.399993 63.7,52.199995 60,52.199995 c -3.8,0 -6.9,-0.9 -9.1,-2.600001 -2.2,-1.699998 -3.3,-4.099997 -3.3,-7.2 h 5.8 c 0.20003,1.300003 0.6,2.300001 1.1,3 1,1.2 2.7,1.8 5.2,1.8 1.5,0 2.7,-0.200013 3.6,-0.499998 1.69999,-0.599999 2.60001,-1.700001 2.60001,-3.400002 0,-0.999998 -0.39999,-1.699997 -1.30001,-2.199998 -0.9,-0.500001 -2.2,-0.999999 -4.1,-1.400001 l -3.2,-0.699999 c -3.1,-0.699999 -5.2,-1.4 -6.4,-2.199997 -2,-1.300003 -3,-3.500001 -3,-6.3 0,-2.600001 1,-4.799999 2.9,-6.5 1.9,-1.700001 4.8,-2.600001 8.5,-2.600001 3.1,0 5.79999,0.800001 8.00002,2.4 2.19999,1.600002 3.39999,4.000002 3.49999,7.1 h -5.80002 c -0.0998,-1.8 -0.89998,-3 -2.39999,-3.699998 -1,-0.500001 -2.2,-0.700003 -3.6,-0.700003 -1.6,0 -2.9,0.299981 -3.9,1.000003 -1,0.6 -1.4,1.5 -1.4,2.699999 0,0.999999 0.5,1.8 1.4,2.299998 0.6,0.299981 1.9,0.700002 3.9,1.2 l 5.10001,1.199999 c 2.19998,0.500002 3.89998,1.2 5.00001,2.1 1.69999,1.4 2.59997,3.400001 2.59997,5.999998 0.10017,2.600001 -0.89998,4.8 -3,6.6 z"
53
+ />
54
+ </symbol>
55
+ <symbol id="en" viewBox="92 0 92 92">
56
+ <path
57
+ d="m 172,1.000038 h -68 c -6.099997,0 -11,4.600025 -11,10.300006 v 51.70001 c 0,5.69998 4.900003,10.3 11,10.3 h 7.2 v 15.29998 c 0,0.90002 0.6,1.8 1.5,2.20003 0.4,0.19994 0.7,0.19994 1.1,0.19994 0.6,0 1.2,-0.19994 1.7,-0.5 l 22.7,-17.19999 H 172 c 6.1,0 11,-4.60002 11,-10.3 V 11.300007 C 183,5.600025 178.1,1 172,1 Z M 135.1,51.500044 H 113 V 22.300057 h 21.4 v 5.199988 H 119 v 6.200009 h 14.2 v 5.09998 H 119 v 7.50002 h 16.2 v 5.19999 z m 28.4,0 h -6.1 l -11.9,-20.69998 v 20.69998 h -5.7 V 22.300057 h 6.4 l 11.6,20.399997 V 22.300057 h 5.7 z"
58
+ />
59
+ </symbol>
60
+ <symbol id="all" viewBox="92 92 92 92">
61
+ <g
62
+ transform="matrix(2.0930233,0,0,2.0930233,-4.2325582,87.767442)"
63
+ style="fill:#f5a9b8;fill-opacity:1"
64
+ id="g19">
65
+ <path
66
+ d="M 39.99,9.65 C 39.97,9.63 39.95,9.63 39.93,9.62 35.99,5.26 30.32,2.5 24,2.5 17.68,2.5 12.01,5.26 8.07,9.61 8.05,9.63 8.03,9.63 8.01,9.65 7.97,9.69 7.95,9.74 7.91,9.79 4.56,13.58 2.5,18.55 2.5,24 c 0,5.45 2.06,10.42 5.41,14.22 0.04,0.04 0.06,0.1 0.1,0.14 0.02,0.02 0.04,0.02 0.06,0.03 3.94,4.36 9.61,7.11 15.93,7.11 6.32,0 11.99,-2.76 15.93,-7.11 0.02,-0.02 0.04,-0.02 0.06,-0.04 0.04,-0.04 0.06,-0.09 0.1,-0.14 3.36,-3.79 5.41,-8.76 5.41,-14.22 0,-5.46 -2.06,-10.42 -5.41,-14.22 -0.04,-0.03 -0.06,-0.08 -0.1,-0.12 z m -3.16,1.05 c -1.23,1 -2.79,1.83 -4.57,2.46 -0.64,-2.62 -1.53,-4.97 -2.65,-6.79 2.73,0.88 5.19,2.38 7.22,4.33 z M 30.5,24 c 0,2.55 -0.2,4.94 -0.55,7.11 -1.89,-0.39 -3.9,-0.61 -5.95,-0.61 -2.05,0 -4.06,0.21 -5.95,0.61 C 17.7,28.94 17.5,26.55 17.5,24 c 0,-2.55 0.2,-4.94 0.55,-7.11 1.89,0.39 3.9,0.61 5.95,0.61 2.05,0 4.06,-0.21 5.95,-0.61 0.35,2.17 0.55,4.56 0.55,7.11 z M 24,5.5 c 1.98,0 4.1,3.3 5.36,8.46 -1.69,0.35 -3.5,0.54 -5.36,0.54 -1.86,0 -3.67,-0.19 -5.36,-0.54 C 19.9,8.8 22.02,5.5 24,5.5 Z M 18.4,6.37 C 17.28,8.19 16.39,10.54 15.75,13.16 13.97,12.53 12.41,11.7 11.18,10.7 13.2,8.75 15.66,7.25 18.4,6.37 Z M 5.5,24 c 0,-4.14 1.39,-7.96 3.7,-11.05 1.6,1.31 3.64,2.38 5.95,3.15 -0.42,2.54 -0.64,5.24 -0.64,7.89 0,2.65 0.22,5.35 0.64,7.89 C 12.84,32.65 10.8,33.72 9.2,35.03 6.89,31.96 5.5,28.14 5.5,24 Z m 5.67,13.3 c 1.23,-1 2.79,-1.83 4.57,-2.46 0.64,2.62 1.53,4.97 2.65,6.79 C 15.66,40.75 13.2,39.25 11.17,37.3 Z M 24,42.5 c -1.98,0 -4.1,-3.3 -5.36,-8.46 1.69,-0.35 3.5,-0.54 5.36,-0.54 1.86,0 3.67,0.19 5.36,0.54 C 28.1,39.2 25.98,42.5 24,42.5 Z m 5.6,-0.87 c 1.12,-1.82 2.01,-4.17 2.65,-6.79 1.78,0.63 3.34,1.46 4.57,2.46 -2.02,1.95 -4.48,3.45 -7.22,4.33 z m 9.2,-6.58 c -1.6,-1.31 -3.64,-2.38 -5.95,-3.15 0.42,-2.54 0.64,-5.24 0.64,-7.89 0,-2.65 -0.22,-5.35 -0.64,-7.89 2.31,-0.77 4.35,-1.84 5.95,-3.15 2.31,3.09 3.7,6.9 3.7,11.05 0,4.15 -1.39,7.94 -3.7,11.03 z"
67
+ />
68
+ </g>
69
+ </symbol>
70
+ </svg>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: darkade.github.io-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Reyes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-15 00:00:00.000000000 Z
11
+ date: 2021-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -147,6 +147,7 @@ files:
147
147
  - _includes/head.html
148
148
  - _includes/header.html
149
149
  - _includes/jquery.html
150
+ - _includes/language.html
150
151
  - _includes/mathjax.html
151
152
  - _includes/paginator.html
152
153
  - _layouts/default.html
@@ -247,6 +248,7 @@ files:
247
248
  - _sass/manni.scss
248
249
  - assets/css/styles.scss
249
250
  - assets/sprites/brands.svg
251
+ - assets/sprites/languages.svg
250
252
  - assets/sprites/regular.svg
251
253
  - assets/sprites/solid.svg
252
254
  homepage: https://ivan.reyescon.de