jekyll-theme-minimalistic 0.3.1 → 0.3.4

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: 25d3a503fc5ef49c5f5944aa8ac11b5286573f61f789541fc30909316265a24a
4
- data.tar.gz: 9ecce8bf3061634dd08344c0771e67230424bf9014c780e0f072c970b82aafbe
3
+ metadata.gz: 27f3ea977fb30528c82eb9629b0e36f450f0846e6524be5a6685f938acc03506
4
+ data.tar.gz: 6328626b6dc9ca32a083e21c101ee0e89d340341f6a3d04ca6eb498a3ce5478a
5
5
  SHA512:
6
- metadata.gz: 0e04262016217f51aec8e1b1a732a1208f9eccfa007b2b4317dac8082d011214b0546c188d1f5b9e9dc152f8a3d1a82ea31777703259169d7bb6a57ee10adf66
7
- data.tar.gz: 8b4b3630ab44d8594a2c1ab569c430622d1639086edcf0f4c13b64c57a5a1ce646678aa60a934ff8d062f96e223ba7f61e05f09352e486ec1033c74cef693be6
6
+ metadata.gz: ec9ee2625a11cbdad17c94032d636f2b300321386652f91b67e64507582bc41bfc82aa2451abe3cf0c5298127f2a8e59d9823ae600f6d14d81a6756e986eb733
7
+ data.tar.gz: 821bd10a24884eeec04efbd14024b58a8c3c5ac91ec832ceed2e42a1ab09a2de9c0828b482a8a2ec59472ae4b9069fca99d166ad2ef66f63efd2ed103ab69f93
@@ -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> &mdash; Theme by <a href="https://github.com/vaibhavvikas">vaibhavvikas</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>
@@ -8,5 +8,4 @@
8
8
  {% if site.favicon %}
9
9
  <link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' | relative_url }}">
10
10
  {% endif %}
11
-
12
11
  <!-- end custom head snippets -->
@@ -0,0 +1,27 @@
1
+ {% if site.logo %}
2
+ <img class="logo" src="{{ site.logo | relative_url }}" alt="Logo">
3
+ {% endif %}
4
+
5
+ {% if site.blank_title %}
6
+ <h1>{{ site.title | default: site.github.repository_name }}</h1>
7
+ {% else %}
8
+ <h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
9
+ {% endif %}
10
+
11
+ {% if site.email %}
12
+ <p class="addr"><i class="fa-solid fa-envelope"></i>&nbsp;<a href="mailto:{{site.email}}">{{ site.email }}</a></p>
13
+ {% endif %}
14
+
15
+ <p>{{ site.description | default: site.github.project_tagline }}</p>
16
+
17
+ {% unless site.hide_project_page %}
18
+ {% if site.github.is_project_page %}
19
+ <p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub<br><small>{{ site.github.repository_nwo }}</small></a></p>
20
+ {% endif %}
21
+
22
+ {% if site.github.is_user_page %}
23
+ <p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
24
+ {% endif %}
25
+ {% endunless %}
26
+
27
+ {% include sidebar.html %}
@@ -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>
@@ -21,35 +21,9 @@
21
21
  <div class="wrapper">
22
22
  <div class="sidebar">
23
23
  <header>
24
- {% if site.logo %}
25
- <img class="logo" src="{{site.logo | relative_url}}" alt="Logo">
26
- {% endif %}
27
-
28
- {% if site.blank_title %}
29
- <h1>{{ site.title | default: site.github.repository_name }}</h1>
30
- {% else %}
31
- <h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
32
- {% endif %}
33
-
34
- {% if site.email %}
35
- <p class="addr"><i class="fa-solid fa-envelope"></i>&nbsp;<a href="mailto:{{site.email}}">{{ site.email }}</a></p>
36
- {% endif %}
37
-
38
- <p>{{ site.description | default: site.github.project_tagline }}</p>
39
-
40
- {% unless site.hide_project_page %}
41
- {% if site.github.is_project_page %}
42
- <p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub<br><small>{{ site.github.repository_nwo }}</small></a></p>
43
- {% endif %}
44
-
45
- {% if site.github.is_user_page %}
46
- <p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
47
- {% endif %}
48
- {% endunless %}
49
-
50
- {% include sidebar.html %}
51
-
24
+ {%- include header.html -%}
52
25
  </header>
26
+ {% include mobile.html %}
53
27
  <div class="sidebar-footer">
54
28
  {%- include footer.html -%}
55
29
  </div>
@@ -2,6 +2,10 @@
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;
@@ -59,14 +63,39 @@ a:hover small {
59
63
  text-decoration: underline;
60
64
  }
61
65
 
66
+ ul.link a {
67
+ color:var(--clr-h1-and-bold);
68
+ text-decoration:none;
69
+ }
70
+
71
+ ul.link a:hover, a:focus {
72
+ color: var(--clr-a-text-hvr);
73
+ }
74
+
75
+ ul.content {
76
+ margin-left: -1.4em;
77
+ }
78
+
79
+ ul.content a:hover, a:focus {
80
+ text-decoration: none;
81
+ }
82
+
83
+ .sublist {
84
+ margin: 0 0 0;
85
+ }
86
+
87
+ ul.sublist {
88
+ margin-left: -1.5em;
89
+ }
90
+
62
91
  p.link {
63
92
  margin:0 0 4px;
64
93
  }
65
94
 
66
95
  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 */
96
+ list-style-type: none;
97
+ margin: 0;
98
+ padding: 0.4px;
70
99
  }
71
100
 
72
101
  ul.link li + li {
@@ -77,6 +106,10 @@ ul.link:last-child {
77
106
  margin-bottom: 6px;
78
107
  }
79
108
 
109
+ .link-wrapper-mobile {
110
+ display: none !important;
111
+ }
112
+
80
113
  .wrapper {
81
114
  width:860px;
82
115
  margin: 0 auto;
@@ -202,12 +235,21 @@ hr {
202
235
  .sidebar-footer {
203
236
  width:250px;
204
237
  float:left;
205
- bottom:30px;
206
238
  -webkit-font-smoothing:subpixel-antialiased;
239
+ flex-basis: content;
207
240
  }
208
241
 
209
- .sidebar-footer {
210
- flex-basis: content;
242
+ .sidebar-h3 {
243
+ margin: 1em 0 0.25em 0;
244
+ }
245
+
246
+ #link-wrapper-mobile a {
247
+ color:var(--clr-h1-and-bold);
248
+ text-decoration:none;
249
+ }
250
+
251
+ #link-wrapper-mobile a:hover, a:focus {
252
+ color: var(--clr-a-text-hvr);
211
253
  }
212
254
 
213
255
 
@@ -233,6 +275,29 @@ hr {
233
275
  }
234
276
 
235
277
  @media print, screen and (max-width: 720px) {
278
+ body {
279
+ word-wrap:break-word;
280
+ }
281
+
282
+ header {
283
+ padding:0;
284
+ overflow-x: hidden;
285
+ }
286
+
287
+ header ul, header p.view {
288
+ position:static;
289
+ }
290
+ .link-wrapper {
291
+ display: none !important;
292
+ }
293
+
294
+ .link-wrapper-mobile {
295
+ display:block !important;
296
+ }
297
+
298
+ .link-wrapper-mobile {
299
+ margin-bottom: 20px;
300
+ }
236
301
 
237
302
  .sidebar {
238
303
  float: none;
@@ -264,10 +329,6 @@ hr {
264
329
  overflow-x: hidden;
265
330
  }
266
331
 
267
- header {
268
- padding-right:320px;
269
- }
270
-
271
332
  section {
272
333
  border:1px solid var(--clr-splitter-blockquote-and-section);
273
334
  border-width:1px 0;
@@ -287,21 +348,6 @@ hr {
287
348
  .logo {
288
349
  display: none !important;
289
350
  }
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
351
 
306
352
  pre, code {
307
353
  word-wrap:normal;
@@ -322,4 +368,3 @@ hr {
322
368
  color:#444;
323
369
  }
324
370
  }
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.1
4
+ version: 0.3.4
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-04 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
@@ -127,6 +127,8 @@ files:
127
127
  - _includes/footer.html
128
128
  - _includes/head-custom-google-analytics.html
129
129
  - _includes/head-custom.html
130
+ - _includes/header.html
131
+ - _includes/mobile.html
130
132
  - _includes/sidebar.html
131
133
  - _layouts/default.html
132
134
  - _layouts/post.html