jekyll-theme-miniplex 0.7.1 → 0.8.0
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 +4 -4
- data/README.md +2 -1
- data/_sass/jekyll-theme-miniplex.sass +85 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fde535edcf774642151e8c9ae4db5b81647555899c89f43b79d669a3d80599a6
|
4
|
+
data.tar.gz: bc7b87fd18b91716feaafacf6ff414af19912c32743300736877463b9bb1659e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3c849bf41b224d2946e6d859e827b71f77e26149187b053783f6befb22f575416fa6c47ffb9f6bf34ec80709211c8bba033080f1a4a56f426099ed26f28a043
|
7
|
+
data.tar.gz: f82681cb7a422ebd20bacdb3c434fb693fa5c1a246b4dc0f196d95f140322052f23e1ceed7fab38eee9196b47986b1173d1cdf788105d23c1e5ef8c1538074a4
|
data/README.md
CHANGED
@@ -63,8 +63,8 @@ miniplex:
|
|
63
63
|
|
64
64
|
## ToDos & Missing Features
|
65
65
|
|
66
|
-
- [ ] Print CSS
|
67
66
|
- [ ] Dark mode
|
67
|
+
- https://css-tricks.com/a-complete-guide-to-dark-mode-on-the-web/#aa-using-a-body-class
|
68
68
|
- [ ] In-page navigation
|
69
69
|
- [ ] Footer
|
70
70
|
- [ ] Maximizable tables
|
@@ -76,6 +76,7 @@ miniplex:
|
|
76
76
|
|
77
77
|
Most recent at the top.
|
78
78
|
|
79
|
+
- [X] Print CSS
|
79
80
|
- [X] Mobile nav bugfixing
|
80
81
|
- [X] Post author & date flexibility
|
81
82
|
- [X] Add a post's date to the page layout, or to a separate post layout
|
@@ -73,6 +73,10 @@ $large_breakpoint: $medium_breakpoint + $large_minimum_left_navigation_width + 2
|
|
73
73
|
@media screen and (min-width: $medium_table_breakpoint)
|
74
74
|
@content
|
75
75
|
|
76
|
+
@mixin print_mode
|
77
|
+
@media print
|
78
|
+
@content
|
79
|
+
|
76
80
|
// Creates a CSS property with separate values depending on the mode/breakpoint.
|
77
81
|
// Modes "xs", "s", "m" and "l" are available as keyword arguments. Examples:
|
78
82
|
//
|
@@ -198,10 +202,16 @@ $group_color_level_2: #dddddd
|
|
198
202
|
|
199
203
|
@mixin default_font
|
200
204
|
font-family: IBMPlexSans
|
201
|
-
|
205
|
+
color: $primary_foreground_color
|
202
206
|
font-weight: normal
|
207
|
+
|
208
|
+
@include responsive_property(font-size, $xs: 0.875 * $unit, $s: 1 * $unit, $m: 1.125 * $unit, $otherwise: 1.125 * $unit)
|
209
|
+
@include print_mode
|
210
|
+
font-size: 0.875 * $unit
|
211
|
+
|
203
212
|
@include responsive_property(line-height, $xs: $extrasmall_line_height, $s: $small_line_height, $m: $medium_line_height, $otherwise: $medium_line_height)
|
204
|
-
|
213
|
+
@include print_mode
|
214
|
+
line-height: $extrasmall_line_height
|
205
215
|
|
206
216
|
@mixin title_font
|
207
217
|
font-family: IBMPlexMono
|
@@ -286,20 +296,30 @@ body
|
|
286
296
|
margin-top: $medium_maximum_horizontal_margin
|
287
297
|
margin-bottom: $medium_maximum_horizontal_margin
|
288
298
|
|
299
|
+
@include print_mode
|
300
|
+
width: 15cm
|
301
|
+
margin-top: 0cm
|
302
|
+
margin-left: auto
|
303
|
+
margin-right: auto
|
304
|
+
|
289
305
|
p
|
290
306
|
@include default_font
|
291
307
|
@include responsive_property(margin-bottom, $xs: 0.75 * $unit, $s: 0.875 * $unit, $m: 1 * $unit, $otherwise:1 * $unit)
|
308
|
+
@include print_mode
|
309
|
+
margin-bottom: 0.625 * $unit
|
310
|
+
|
292
311
|
|
293
312
|
strong, b
|
294
313
|
font-weight: bold
|
295
314
|
color: $heading_foreground_color
|
296
315
|
|
297
|
-
|
298
316
|
em, i
|
299
317
|
font-style: italic
|
300
318
|
|
301
319
|
small
|
302
320
|
@include responsive_property(font-size, $xs: 0.625 * $unit, $s: 0.75 * $unit, $m: 0.875 * $unit, $otherwise: 0.875 * $unit)
|
321
|
+
@include print_mode
|
322
|
+
font-size: 0.625 * $unit
|
303
323
|
color: $accent_color_1
|
304
324
|
|
305
325
|
a
|
@@ -308,11 +328,21 @@ body
|
|
308
328
|
text-decoration: none
|
309
329
|
padding-left: math.div($unit, 4)
|
310
330
|
padding-right: math.div($unit, 4)
|
331
|
+
|
332
|
+
@include print_mode
|
333
|
+
text-decoration: underline
|
334
|
+
word-wrap: break-word
|
335
|
+
&:after
|
336
|
+
content: " (" attr(href) ")"
|
311
337
|
|
312
338
|
h1
|
313
339
|
@include title_font
|
314
340
|
@include responsive_property(font-size, $xs: 1.75 * $unit, $s: 2 * $unit, $m: 2.25 * $unit, $otherwise:2.25 * $unit)
|
315
341
|
@include responsive_property(margin-bottom, $xs: 1.5 * $unit, $s: 1.75 * $unit, $m: 2 * $unit, $otherwise: 2 * $unit)
|
342
|
+
@include print_mode
|
343
|
+
font-size: 1.75 * $unit
|
344
|
+
margin-bottom: 1.5 * $unit
|
345
|
+
|
316
346
|
|
317
347
|
h2
|
318
348
|
@include heading_font
|
@@ -320,6 +350,11 @@ body
|
|
320
350
|
@include responsive_property(font-size, $xs: 1.25 * $unit, $s: 1.5 * $unit, $m: 1.75 * $unit, $otherwise: 1.75 * $unit)
|
321
351
|
@include responsive_property(margin-top, $xs: 1.5 * $unit, $s: 1.75 * $unit, $m: 2 * $unit, $otherwise: 2 * $unit)
|
322
352
|
@include responsive_property(margin-bottom, $xs: 0.75 * $unit, $s: 0.875 * $unit, $m: 1 * $unit, $otherwise: 1 * $unit)
|
353
|
+
@include print_mode
|
354
|
+
font-size: 1.25 * $unit
|
355
|
+
margin-top: 1.5 * $unit
|
356
|
+
margin-bottom: 0.75 * $unit
|
357
|
+
page-break-after: avoid
|
323
358
|
|
324
359
|
h3
|
325
360
|
@include heading_font
|
@@ -328,6 +363,11 @@ body
|
|
328
363
|
@include responsive_property(font-size, $xs: 1.125 * $unit, $s: 1.25 * $unit, $m: 1.5 * $unit, $otherwise: 1.5 * $unit)
|
329
364
|
@include responsive_property(margin-top, $xs: 0.75 * $unit, $s: 0.875 * $unit, $m: 1 * $unit, $otherwise: 1 * $unit)
|
330
365
|
@include responsive_property(margin-bottom, $xs: 0.75 * $unit, $s: 0.875 * $unit, $m: 1 * $unit, $otherwise: 1 * $unit)
|
366
|
+
@include print_mode
|
367
|
+
font-size: 1.125 * $unit
|
368
|
+
margin-top: 0.75 * $unit
|
369
|
+
margin-bottom: 0.75 * $unit
|
370
|
+
page-break-after: avoid
|
331
371
|
|
332
372
|
h4
|
333
373
|
@include heading_font
|
@@ -335,6 +375,11 @@ body
|
|
335
375
|
@include responsive_property(font-size, $xs: 1 * $unit, $s: 1.125 * $unit, $m: 1.25 * $unit, $otherwise: 1.25 * $unit)
|
336
376
|
@include responsive_property(margin-top, $xs: 0.75 * $unit, $s: 0.875 * $unit, $m: 1 * $unit, $otherwise: 1 * $unit)
|
337
377
|
@include responsive_property(margin-bottom, $xs: 0.75 * $unit, $s: 0.875 * $unit, $m: 1 * $unit, $otherwise: 1 * $unit)
|
378
|
+
@include print_mode
|
379
|
+
font-size: 1 * $unit
|
380
|
+
margin-top: 0.75 * $unit
|
381
|
+
margin-bottom: 0.75 * $unit
|
382
|
+
page-break-after: avoid
|
338
383
|
|
339
384
|
h5
|
340
385
|
@include heading_font
|
@@ -342,6 +387,11 @@ body
|
|
342
387
|
@include responsive_property(font-size, $xs: 0.75 * $unit, $s: 0.875 * $unit, $m: 1 * $unit, $otherwise: 1 * $unit)
|
343
388
|
@include responsive_property(margin-top, $xs: 0.75 * $unit, $s: 0.875 * $unit, $m: 1 * $unit, $otherwise: 1 * $unit)
|
344
389
|
@include responsive_property(margin-bottom, $xs: 0.75 * $unit, $s: 0.875 * $unit, $m: 1 * $unit, $otherwise: 1 * $unit)
|
390
|
+
@include print_mode
|
391
|
+
font-size: 0.75 * $unit
|
392
|
+
margin-top: 0.75 * $unit
|
393
|
+
margin-bottom: 0.75 * $unit
|
394
|
+
page-break-after: avoid
|
345
395
|
|
346
396
|
h6
|
347
397
|
@include heading_font
|
@@ -349,6 +399,11 @@ body
|
|
349
399
|
@include responsive_property(font-size, $xs: 0.625 * $unit, $s: 0.75 * $unit, $m: 0.875 * $unit, $otherwise: 0.875 * $unit)
|
350
400
|
@include responsive_property(margin-top, $xs: 0.625 * $unit, $s: 0.75 * $unit, $m: 0.875 * $unit, $otherwise: 0.875 * $unit)
|
351
401
|
@include responsive_property(margin-bottom, $xs: 0.625 * $unit, $s: 0.75 * $unit, $m: 0.875 * $unit, $otherwise: 0.875 * $unit)
|
402
|
+
@include print_mode
|
403
|
+
font-size: 0.625 * $unit
|
404
|
+
margin-top: 0.625 * $unit
|
405
|
+
margin-bottom: 0.625 * $unit
|
406
|
+
page-break-after: avoid
|
352
407
|
|
353
408
|
hr
|
354
409
|
border: 0
|
@@ -399,7 +454,9 @@ body
|
|
399
454
|
|
400
455
|
// List items
|
401
456
|
li
|
402
|
-
margin-bottom:
|
457
|
+
@include responsive_property(margin-bottom, $xs: 0.25 * $unit, $s: 0.25 * $unit, $m: 0.5 * $unit, $otherwise: 0.5 * $unit)
|
458
|
+
@include print_mode
|
459
|
+
margin-bottom: 0.25 * $unit
|
403
460
|
|
404
461
|
img
|
405
462
|
max-width: 100%
|
@@ -503,6 +560,23 @@ body
|
|
503
560
|
tbody
|
504
561
|
td
|
505
562
|
@include responsive_property(padding, $xs: math.div($unit, 8), $s: math.div($unit, 4), $m: math.div($unit, 2), $otherwise: math.div($unit, 2))
|
563
|
+
|
564
|
+
@include print_mode
|
565
|
+
margin-bottom: 2 * $unit
|
566
|
+
font-size: 0.875 * $unit
|
567
|
+
margin-left: auto
|
568
|
+
margin-right: auto
|
569
|
+
|
570
|
+
thead
|
571
|
+
th
|
572
|
+
font-weight: bold
|
573
|
+
text-align: left
|
574
|
+
background-color: $group_color_level_2
|
575
|
+
padding: math.div($unit, 2)
|
576
|
+
|
577
|
+
tbody
|
578
|
+
td
|
579
|
+
padding: math.div($unit, 2)
|
506
580
|
|
507
581
|
// Desktop Navigation
|
508
582
|
nav#navigation-desktop
|
@@ -518,6 +592,10 @@ body
|
|
518
592
|
// Hide if below large mode
|
519
593
|
@include below_large_mode
|
520
594
|
display: none
|
595
|
+
|
596
|
+
// Hide when printing
|
597
|
+
@include print_mode
|
598
|
+
display: none
|
521
599
|
|
522
600
|
// Left Navigation styles
|
523
601
|
@include linear_responsive_property("padding-left", $large_breakpoint, $unit, $large_breakpoint + 8 * $unit, 8 * $unit)
|
@@ -636,6 +714,9 @@ body
|
|
636
714
|
nav#navigation-mobile
|
637
715
|
position: sticky
|
638
716
|
|
717
|
+
@include print_mode
|
718
|
+
display: none
|
719
|
+
|
639
720
|
// Mobile Navigation, closed state
|
640
721
|
nav#navigation-mobile[data-state="closed"]
|
641
722
|
#transparent-nav-close-area
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-miniplex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Timo Würsch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|