jekyll-theme-minimalistic 0.3.2 → 0.3.5

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: 35e636d23476097f0b30bc9341812c08773ee6f950037258d61fc618492ca9e1
4
- data.tar.gz: 2ecf2d2e7176219dd8c012727f26da7590054d687ea908837e44829487b845ba
3
+ metadata.gz: 8b8c1a23c873154f78f8c675a74c257098d0573469aec4de8d94f9f12f3ce027
4
+ data.tar.gz: 2a7f12f8d92b07e2fdcee2c46833729a2668f437ff8b063986897d9ff7cdf259
5
5
  SHA512:
6
- metadata.gz: 4686aecbe73980753d70898136639f8e303aa0b90156af3e4e64ca5150227d10a86bc3bcc41f5c7ac7d9ee0041e095fad11a9759eca8e0b6857a6075ffcbbdd4
7
- data.tar.gz: a3a8f627a3264f5f25e92b948a65669ad4f259c41c1b73f5aebd86001d7a627baff7b55acb68a78cc8ab47637eba6c79a20ea624e5cf7e46b222c8fb84f8dc6d
6
+ metadata.gz: 6928bf31a8b7f6f11b2790d8b3dcf2a313d8d18f0e8c515b23bd40c5927ab93926ecb4a9b4cb5c0906dca7143f52383d15de5126ddb8e1ec372bfbd7293af73d
7
+ data.tar.gz: 03bce14dd091dde41a8df181a88520f4cfd0032326bba6b9d1d3f75f879accfb964567d45ab85fd547135d1ece3c8895ac442dd5076a8a1ee10793693559fc6c
@@ -3,4 +3,4 @@
3
3
  <p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
4
4
  {% endif %}
5
5
  {% endunless %}
6
- <p><small>Powered by <a href="https://jekyllrb.com/">Jekyll</a> &amp; <a href="https://github.com/vaibhavvikas/jekyll-theme-minimalistic">Minimalistic</a></small></p>
6
+ <p style="margin-bottom: 0px"><small>Powered by <a href="https://jekyllrb.com/">Jekyll</a> &amp; <a href="https://github.com/vaibhavvikas/jekyll-theme-minimalistic">Minimalistic</a></small></p>
@@ -0,0 +1,25 @@
1
+ <div class="link-wrapper-mobile" id="link-wrapper-mobile">
2
+ {% if site.platforms %}
3
+ {%- for platform in site.platforms %}
4
+ <nobr><a href="{{ platform.link }}" rel="me">{{ platform.icon }}&nbsp;{{ platform.name }}</a>
5
+ {%- unless forloop.last %}<span style="margin-left: 6px;"></span>{% endunless %}</nobr>
6
+ {%- endfor %}
7
+ {% endif %}
8
+
9
+ {% if site.navigation %}
10
+ <h3 class="sidebar-h3">Contents:</h3>
11
+ <ul class="content">
12
+ {%- for item in site.navigation %}
13
+ <li><a href="{{ item.link }}">{{ item.name }}</a>
14
+ {% if item.sublist %}
15
+ <ul class="sublist">
16
+ {%- for subitem in item.sublist %}
17
+ <li><a href="{{ subitem.link }}">{{ subitem.name }}</a></li>
18
+ {%- endfor %}
19
+ </ul>
20
+ {% endif %}
21
+ </li>
22
+ {%- endfor %}
23
+ </ul>
24
+ {% endif %}
25
+ </div>
@@ -1,34 +1,4 @@
1
1
  <div class="link-wrapper">
2
- <style scoped>
3
- h3 {
4
- margin: 1em 0 0.25em 0;
5
- }
6
-
7
- ul.link a {
8
- color:var(--clr-h1-and-bold);
9
- text-decoration:none;
10
- }
11
-
12
- ul.link a:hover, a:focus {
13
- color: var(--clr-a-text-hvr);
14
- }
15
-
16
- ul.content {
17
- margin-left: -1.4em;
18
- }
19
-
20
- ul.content a:hover, a:focus {
21
- text-decoration: underline;
22
- }
23
-
24
- .sublist {
25
- margin: 0 0 0;
26
- }
27
-
28
- ul.sublist {
29
- margin-left: -1.5em;
30
- }
31
- </style>
32
2
  {% if site.platforms %}
33
3
  <ul class="link">
34
4
  {%- for platform in site.platforms %}
@@ -38,7 +8,7 @@
38
8
  {% endif %}
39
9
 
40
10
  {% if site.navigation %}
41
- <h3>Contents:</h3>
11
+ <h3 class="sidebar-h3">Contents:</h3>
42
12
  <ul class="content">
43
13
  {%- for item in site.navigation %}
44
14
  <li><a href="{{ item.link }}">{{ item.name }}</a>
@@ -23,6 +23,7 @@
23
23
  <header>
24
24
  {%- include header.html -%}
25
25
  </header>
26
+ {% include mobile.html %}
26
27
  <div class="sidebar-footer">
27
28
  {%- include footer.html -%}
28
29
  </div>
@@ -2,12 +2,35 @@
2
2
  @import "colors";
3
3
  @import "rouge-github";
4
4
 
5
+ html {
6
+ scroll-behavior: smooth;
7
+ }
8
+
5
9
  body {
6
10
  background-color: var(--clr-bg);
7
11
  padding:50px;
8
12
  font: 15px/1.5 "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
9
13
  color: var(--clr-text);
10
14
  font-weight:400;
15
+ animation: fadein ease-in 1s;
16
+ }
17
+
18
+ @keyframes fadein {
19
+ 0% {
20
+ opacity: 0;
21
+ }
22
+
23
+ 50% {
24
+ opacity: 0.5;
25
+ }
26
+
27
+ 75% {
28
+ opacity: 0.75;
29
+ }
30
+
31
+ 100% {
32
+ opacity: 1;
33
+ }
11
34
  }
12
35
 
13
36
  h1, h2, h3, h4, h5, h6 {
@@ -59,14 +82,39 @@ a:hover small {
59
82
  text-decoration: underline;
60
83
  }
61
84
 
85
+ ul.link a {
86
+ color:var(--clr-h1-and-bold);
87
+ text-decoration:none;
88
+ }
89
+
90
+ ul.link a:hover, a:focus {
91
+ color: var(--clr-a-text-hvr);
92
+ }
93
+
94
+ ul.content {
95
+ margin-left: -1.4em;
96
+ }
97
+
98
+ ul.content a:hover, a:focus {
99
+ text-decoration: none;
100
+ }
101
+
102
+ .sublist {
103
+ margin: 0 0 0;
104
+ }
105
+
106
+ ul.sublist {
107
+ margin-left: -1.5em;
108
+ }
109
+
62
110
  p.link {
63
111
  margin:0 0 4px;
64
112
  }
65
113
 
66
114
  ul.link {
67
- list-style-type: none; /* Remove bullets */
68
- margin: 0; /* To remove default bottom margin */
69
- padding: 0.4px; /* To remove default left padding */
115
+ list-style-type: none;
116
+ margin: 0;
117
+ padding: 0.4px;
70
118
  }
71
119
 
72
120
  ul.link li + li {
@@ -77,6 +125,10 @@ ul.link:last-child {
77
125
  margin-bottom: 6px;
78
126
  }
79
127
 
128
+ .link-wrapper-mobile {
129
+ display: none !important;
130
+ }
131
+
80
132
  .wrapper {
81
133
  width:860px;
82
134
  margin: 0 auto;
@@ -202,12 +254,21 @@ hr {
202
254
  .sidebar-footer {
203
255
  width:250px;
204
256
  float:left;
205
- bottom:30px;
206
257
  -webkit-font-smoothing:subpixel-antialiased;
258
+ flex-basis: content;
207
259
  }
208
260
 
209
- .sidebar-footer {
210
- flex-basis: content;
261
+ .sidebar-h3 {
262
+ margin: 1em 0 0.25em 0;
263
+ }
264
+
265
+ #link-wrapper-mobile a {
266
+ color:var(--clr-h1-and-bold);
267
+ text-decoration:none;
268
+ }
269
+
270
+ #link-wrapper-mobile a:hover, a:focus {
271
+ color: var(--clr-a-text-hvr);
211
272
  }
212
273
 
213
274
 
@@ -233,6 +294,29 @@ hr {
233
294
  }
234
295
 
235
296
  @media print, screen and (max-width: 720px) {
297
+ body {
298
+ word-wrap:break-word;
299
+ }
300
+
301
+ header {
302
+ padding:0;
303
+ overflow-x: hidden;
304
+ }
305
+
306
+ header ul, header p.view {
307
+ position:static;
308
+ }
309
+ .link-wrapper {
310
+ display: none !important;
311
+ }
312
+
313
+ .link-wrapper-mobile {
314
+ display:block !important;
315
+ }
316
+
317
+ .link-wrapper-mobile {
318
+ margin-bottom: 20px;
319
+ }
236
320
 
237
321
  .sidebar {
238
322
  float: none;
@@ -264,10 +348,6 @@ hr {
264
348
  overflow-x: hidden;
265
349
  }
266
350
 
267
- header {
268
- padding-right:320px;
269
- }
270
-
271
351
  section {
272
352
  border:1px solid var(--clr-splitter-blockquote-and-section);
273
353
  border-width:1px 0;
@@ -287,21 +367,6 @@ hr {
287
367
  .logo {
288
368
  display: none !important;
289
369
  }
290
- }
291
-
292
- @media print, screen and (max-width: 720px) {
293
- body {
294
- word-wrap:break-word;
295
- }
296
-
297
- header {
298
- padding:0;
299
- overflow-x: hidden;
300
- }
301
-
302
- header ul, header p.view {
303
- position:static;
304
- }
305
370
 
306
371
  pre, code {
307
372
  word-wrap:normal;
@@ -322,4 +387,3 @@ hr {
322
387
  color:#444;
323
388
  }
324
389
  }
325
-
@@ -4,9 +4,9 @@
4
4
  @import "jekyll-theme-minimalistic";
5
5
 
6
6
  .logo {
7
- -webkit-border-radius: 8px;
8
- -moz-border-radius: 8px;
9
- border-radius: 8px;
7
+ -webkit-border-radius: 100%;
8
+ -moz-border-radius: 100%;
9
+ border-radius: 100%;
10
10
  margin-bottom: 10px;
11
11
  }
12
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-minimalistic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vaibhav Vikas
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-07-08 00:00:00.000000000 Z
12
+ date: 2022-07-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -128,6 +128,7 @@ files:
128
128
  - _includes/head-custom-google-analytics.html
129
129
  - _includes/head-custom.html
130
130
  - _includes/header.html
131
+ - _includes/mobile.html
131
132
  - _includes/sidebar.html
132
133
  - _layouts/default.html
133
134
  - _layouts/post.html