jekyll-theme-minimalistic 0.3.5 → 0.3.8

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: 8b8c1a23c873154f78f8c675a74c257098d0573469aec4de8d94f9f12f3ce027
4
- data.tar.gz: 2a7f12f8d92b07e2fdcee2c46833729a2668f437ff8b063986897d9ff7cdf259
3
+ metadata.gz: f7e801169ce635833d4f7b887ad200741362d8a5d6e605cded22d400a0d2de18
4
+ data.tar.gz: 3301117d2a8c789baf01ca1fdb1af570db95644523356ca59f90ae03d89d6190
5
5
  SHA512:
6
- metadata.gz: 6928bf31a8b7f6f11b2790d8b3dcf2a313d8d18f0e8c515b23bd40c5927ab93926ecb4a9b4cb5c0906dca7143f52383d15de5126ddb8e1ec372bfbd7293af73d
7
- data.tar.gz: 03bce14dd091dde41a8df181a88520f4cfd0032326bba6b9d1d3f75f879accfb964567d45ab85fd547135d1ece3c8895ac442dd5076a8a1ee10793693559fc6c
6
+ metadata.gz: f7b2794d49e88481023d2b41036cf4f3e6876306be463ecf91f5c4c3ca2eb3a86f1d39d036f627abacca6e71a3f111d2e3896f52ababbbf028fc399d3a092b49
7
+ data.tar.gz: a75fe124866c05d69e9299e35fa5ad2030a8f6b5b7983b50834ded0f6cacbe3ce8b88ec95a660544b35a540ad883e9095b75ad02501fc5c25f50ec55c7787920
@@ -3,4 +3,9 @@
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 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>
6
+ <p style="margin-bottom: 0px">
7
+ <small>
8
+ <a href="https://github.com/vaibhavvikas/jekyll-theme-minimalistic">Minimalistic</a> &mdash; Theme by
9
+ <a href="https://github.com/vaibhavvikas/">vaibhavvikas</a>
10
+ </small>
11
+ </p>
@@ -0,0 +1,15 @@
1
+ <section>
2
+ {% if site.logo %}
3
+ <img class="logo" src="{{ site.logo | relative_url }}" alt="Logo">
4
+ {% endif %}
5
+
6
+ {% if site.blank_title %}
7
+ <h1>{{ site.title | default: site.github.repository_name }}</h1>
8
+ {% else %}
9
+ <h1>{{ site.title | default: site.github.repository_name }}</h1>
10
+ {% endif %}
11
+
12
+ {% if site.email %}
13
+ <p class="addr"><i class="fa-solid fa-envelope"></i>&nbsp;<a href="mailto:{{site.email}}">{{ site.email }}</a></p>
14
+ {% endif %}
15
+ </section>
@@ -0,0 +1,13 @@
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>{{ site.title | default: site.github.repository_name }}</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 %}
@@ -1,16 +1,10 @@
1
- {% if site.logo %}
2
- <img class="logo" src="{{ site.logo | relative_url }}" alt="Logo">
3
- {% endif %}
1
+ <div class="header-title">
2
+ {% include header-title.html %}
3
+ </div>
4
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 %}
5
+ <div class="header-title-mobile">
6
+ {% include header-title-mobile.html %}
7
+ </div>
14
8
 
15
9
  <p>{{ site.description | default: site.github.project_tagline }}</p>
16
10
 
@@ -24,4 +18,4 @@
24
18
  {% endif %}
25
19
  {% endunless %}
26
20
 
27
- {% include sidebar.html %}
21
+ {% include sidebar.html %}
@@ -1,9 +1,11 @@
1
- <div class="link-wrapper-mobile" id="link-wrapper-mobile">
1
+ <div class="link-wrapper-mobile">
2
2
  {% if site.platforms %}
3
+ <ul class="link">
3
4
  {%- for platform in site.platforms %}
4
5
  <nobr><a href="{{ platform.link }}" rel="me">{{ platform.icon }}&nbsp;{{ platform.name }}</a>
5
6
  {%- unless forloop.last %}<span style="margin-left: 6px;"></span>{% endunless %}</nobr>
6
7
  {%- endfor %}
8
+ </ul>
7
9
  {% endif %}
8
10
 
9
11
  {% if site.navigation %}
@@ -8,46 +8,39 @@ html {
8
8
 
9
9
  body {
10
10
  background-color: var(--clr-bg);
11
- padding:50px;
11
+ padding: 50px;
12
12
  font: 15px/1.5 "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
13
13
  color: var(--clr-text);
14
- font-weight:400;
15
- animation: fadein ease-in 1s;
14
+ font-weight: 400;
15
+ -ms-overflow-style: -ms-autohiding-scrollbar;
16
16
  }
17
17
 
18
- @keyframes fadein {
19
- 0% {
20
- opacity: 0;
21
- }
22
-
23
- 50% {
24
- opacity: 0.5;
25
- }
18
+ .header-title-mobile {
19
+ display: none;
20
+ }
26
21
 
27
- 75% {
28
- opacity: 0.75;
29
- }
30
-
31
- 100% {
32
- opacity: 1;
33
- }
22
+ .logo {
23
+ -webkit-border-radius: 100%;
24
+ -moz-border-radius: 100%;
25
+ border-radius: 100%;
26
+ margin-bottom: 10px;
34
27
  }
35
28
 
36
29
  h1, h2, h3, h4, h5, h6 {
37
30
  color: var(--clr-h1-and-bold);
38
- margin:0 0 20px;
31
+ margin: 0 0 20px;
39
32
  }
40
33
 
41
34
  p, ul, ol, table, pre, dl {
42
- margin:0 0 20px;
35
+ margin: 0 0 20px;
43
36
  }
44
37
 
45
38
  h1, h2, h3 {
46
- line-height:1.1;
39
+ line-height: 1.3;
47
40
  }
48
41
 
49
42
  h1 {
50
- font-size:32px;
43
+ font-size: 32px;
51
44
  }
52
45
 
53
46
  h2 {
@@ -69,22 +62,21 @@ a:hover, a:focus {
69
62
 
70
63
  a small {
71
64
  font-size:11px;
72
- color:var(--clr-small-in-a);
73
- margin-top:-0.3em;
74
- display:block;
65
+ color: var(--clr-small-in-a);
66
+ margin-top: -0.3em;
67
+ display: block;
75
68
  }
76
69
 
77
70
  a:hover small {
78
- color:var(--clr-small-in-a);
71
+ color: var(--clr-small-in-a);
79
72
  }
80
73
 
81
74
  .addr a:hover, a:focus {
82
- text-decoration: underline;
75
+ color: var(--clr-a-text-hvr);
83
76
  }
84
77
 
85
78
  ul.link a {
86
79
  color:var(--clr-h1-and-bold);
87
- text-decoration:none;
88
80
  }
89
81
 
90
82
  ul.link a:hover, a:focus {
@@ -95,10 +87,6 @@ ul.content {
95
87
  margin-left: -1.4em;
96
88
  }
97
89
 
98
- ul.content a:hover, a:focus {
99
- text-decoration: none;
100
- }
101
-
102
90
  .sublist {
103
91
  margin: 0 0 0;
104
92
  }
@@ -130,54 +118,54 @@ ul.link:last-child {
130
118
  }
131
119
 
132
120
  .wrapper {
133
- width:860px;
121
+ width: 860px;
134
122
  margin: 0 auto;
135
123
  }
136
124
 
137
125
  blockquote {
138
- border-left:1px solid var(--clr-splitter-blockquote-and-section);
139
- margin:0;
140
- padding:0 0 0 20px;
141
- font-style:italic;
126
+ border-left: 1px solid var(--clr-splitter-blockquote-and-section);
127
+ margin: 0;
128
+ padding: 0 0 0 20px;
129
+ font-style: italic;
142
130
  }
143
131
 
144
132
  code, pre {
145
- font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, Consolas, Liberation Mono, DejaVu Sans Mono, Courier New, monospace;
133
+ font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, Consolas, Liberation Mono, DejaVu Sans Mono, Courier New, monospace;
146
134
  color: var(--clr-code-text);
147
135
  }
148
136
 
149
137
  pre {
150
- padding:8px 15px;
138
+ padding: 8px 15px;
151
139
  background: var(--clr-code-bg);
152
- border-radius:5px;
153
- border:1px solid var(--clr-code-border);
140
+ border-radius: 5px;
141
+ border: 1px solid var(--clr-code-border);
154
142
  overflow-x: auto;
155
143
  }
156
144
 
157
145
  table {
158
- width:100%;
159
- border-collapse:collapse;
146
+ width: 100%;
147
+ border-collapse: collapse;
160
148
  display: block;
161
149
  overflow-x: auto;
162
150
  }
163
151
 
164
152
  th, td {
165
- text-align:left;
166
- padding:5px 10px;
167
- border-bottom:1px solid var(--clr-splitter-blockquote-and-section);
153
+ text-align: left;
154
+ padding: 5px 10px;
155
+ border-bottom: 1px solid var(--clr-splitter-blockquote-and-section);
168
156
  }
169
157
 
170
158
  dt {
171
- color:var(--clr-table-header-and-dt);
172
- font-weight:700;
159
+ color: var(--clr-table-header-and-dt);
160
+ font-weight: 700;
173
161
  }
174
162
 
175
163
  th {
176
- color:var(--clr-table-header-and-dt);
164
+ color: var(--clr-table-header-and-dt);
177
165
  }
178
166
 
179
167
  img {
180
- max-width:90%;
168
+ max-width: 90%;
181
169
  }
182
170
 
183
171
  kbd {
@@ -195,10 +183,10 @@ kbd {
195
183
  }
196
184
 
197
185
  .sidebar {
198
- width:250px;
199
- float:left;
200
- position:fixed;
201
- -webkit-font-smoothing:subpixel-antialiased;
186
+ width: 250px;
187
+ float: left;
188
+ position: fixed;
189
+ -webkit-font-smoothing: subpixel-antialiased;
202
190
  top: 0;
203
191
  padding: 58px 0 50px 0;
204
192
  display: flex;
@@ -207,12 +195,9 @@ kbd {
207
195
  height: calc(100vh - 108px);
208
196
  overflow-x: hidden;
209
197
  overflow-y: scroll;
210
- -ms-overflow-style: -ms-autohiding-scrollbar; // IE10+
198
+ -ms-overflow-style: -ms-autohiding-scrollbar;
211
199
  }
212
200
 
213
- // Disables the scrollbar in Firefox
214
- // HTML-Proofer fails without "@-moz-document url-prefix()"
215
- // because scrollbar-width is still experimental in Firefox.
216
201
  @-moz-document url-prefix() {
217
202
  .sidebar {
218
203
  scrollbar-width: none;
@@ -220,18 +205,17 @@ kbd {
220
205
  }
221
206
 
222
207
  .sidebar::-webkit-scrollbar {
223
- /* Chrome, Safari, Edge */
224
208
  display: none;
225
209
  }
226
210
 
227
211
  strong {
228
- color:var(--clr-h1-and-bold);
229
- font-weight:700;
212
+ color: var(--clr-h1-and-bold);
213
+ font-weight: 700;
230
214
  }
231
215
 
232
216
  section {
233
217
  width: 550px;
234
- float:right;
218
+ float: right;
235
219
  padding-bottom:30px;
236
220
  }
237
221
 
@@ -240,21 +224,21 @@ footer {
240
224
  }
241
225
 
242
226
  small {
243
- font-size:11px;
227
+ font-size: 11px;
244
228
  }
245
229
 
246
230
  hr {
247
- border:0;
248
- background:var(--clr-splitter-blockquote-and-section);
249
- height:1px;
250
- width:30%;
251
- margin:10px auto 30px;
231
+ border: 0;
232
+ background: var(--clr-splitter-blockquote-and-section);
233
+ height: 1px;
234
+ width: 100%;
235
+ margin: 10px auto 20px;
252
236
  }
253
237
 
254
238
  .sidebar-footer {
255
- width:250px;
256
- float:left;
257
- -webkit-font-smoothing:subpixel-antialiased;
239
+ width: 250px;
240
+ float: left;
241
+ -webkit-font-smoothing: subpixel-antialiased;
258
242
  flex-basis: content;
259
243
  }
260
244
 
@@ -262,18 +246,7 @@ hr {
262
246
  margin: 1em 0 0.25em 0;
263
247
  }
264
248
 
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);
272
- }
273
-
274
-
275
249
  @media print, screen and (max-width: 960px) {
276
-
277
250
  .wrapper {
278
251
  width: 610px;
279
252
  }
@@ -295,26 +268,24 @@ hr {
295
268
 
296
269
  @media print, screen and (max-width: 720px) {
297
270
  body {
298
- word-wrap:break-word;
271
+ word-wrap: break-word;
299
272
  }
300
273
 
301
274
  header {
302
- padding:0;
275
+ padding: 0;
303
276
  overflow-x: hidden;
304
277
  }
305
278
 
306
279
  header ul, header p.view {
307
- position:static;
280
+ position: static;
308
281
  }
282
+
309
283
  .link-wrapper {
310
284
  display: none !important;
311
285
  }
312
286
 
313
287
  .link-wrapper-mobile {
314
288
  display:block !important;
315
- }
316
-
317
- .link-wrapper-mobile {
318
289
  margin-bottom: 20px;
319
290
  }
320
291
 
@@ -337,53 +308,72 @@ hr {
337
308
  }
338
309
 
339
310
  div.wrapper {
340
- width:auto;
341
- margin:0;
311
+ width: auto;
312
+ margin: 0;
342
313
  }
343
314
 
344
315
  header, section, .wrapper {
345
- float:none;
346
- position:static;
347
- width:auto;
316
+ float: none;
317
+ position: static;
318
+ width: auto;
348
319
  overflow-x: hidden;
349
320
  }
350
321
 
351
322
  section {
352
- border:1px solid var(--clr-splitter-blockquote-and-section);
353
- border-width:1px 0;
354
- padding:20px 0;
355
- margin:0 0 20px;
323
+ border: 1px solid var(--clr-splitter-blockquote-and-section);
324
+ border-width: 1px 0;
325
+ padding: 20px 0;
326
+ margin: 0 0 20px;
327
+ }
328
+
329
+ .header-title {
330
+ display: none;
331
+ }
332
+
333
+ .header-title-mobile {
334
+ display: block;
356
335
  }
357
336
 
337
+ h1, h2, h3, h4, h5, h6 {
338
+ margin: 15px 0 15px;
339
+ }
340
+
341
+ .header-title-mobile h1 {
342
+ line-height: 1.1;
343
+ }
344
+
358
345
  header a small {
359
- display:inline;
346
+ display: inline;
360
347
  }
361
348
 
362
349
  header ul {
363
- right:50px;
364
- top:52px;
350
+ right: 50px;
351
+ top: 52px;
365
352
  }
366
353
 
367
354
  .logo {
368
- display: none !important;
355
+ float: right;
356
+ width: 100px;
357
+ box-sizing: border-box;
358
+ margin-bottom: 0px;
369
359
  }
370
360
 
371
361
  pre, code {
372
- word-wrap:normal;
362
+ word-wrap: normal;
373
363
  }
374
364
  }
375
365
 
376
366
 
377
367
  @media print, screen and (max-width: 480px) {
378
368
  body {
379
- padding:15px;
369
+ padding: 15px;
380
370
  }
381
371
  }
382
372
 
383
373
  @media print {
384
374
  body {
385
- padding:0.4in;
386
- font-size:12pt;
387
- color:#444;
375
+ padding: 0.4in;
376
+ font-size: 12pt;
377
+ color: #444;
388
378
  }
389
379
  }
@@ -3,13 +3,6 @@
3
3
 
4
4
  @import "jekyll-theme-minimalistic";
5
5
 
6
- .logo {
7
- -webkit-border-radius: 100%;
8
- -moz-border-radius: 100%;
9
- border-radius: 100%;
10
- margin-bottom: 10px;
11
- }
12
-
13
6
  .overlay {
14
7
  position: fixed;
15
8
  top: 0;
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.5
4
+ version: 0.3.8
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-09 00:00:00.000000000 Z
12
+ date: 2022-07-15 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-title-mobile.html
131
+ - _includes/header-title.html
130
132
  - _includes/header.html
131
133
  - _includes/mobile.html
132
134
  - _includes/sidebar.html