File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ export class CustomLiquid extends Liquid {
243
243
$ ( "figcaption" ) . each ( ( i , el ) => {
244
244
const $el = $ ( el ) ;
245
245
if ( ! $el . find ( "p" ) . length ) $el . wrapInner ( "
" ) ;
246
- $el . prepend ( `Figure ${ i + 1 } ` ) ;
246
+ $el . find ( "p" ) . first ( ) . prepend ( ` Figure ${ i + 1 } . ` ) ;
247
247
} ) ;
248
248
249
249
// Remove spurious copy-pasted content in 2.5.3 that doesn't belong there
Original file line number Diff line number Diff line change @@ -430,6 +430,26 @@ margin-right:.8em;
430
430
margin-left : 2em ;
431
431
}
432
432
433
+ /* overrides for restyled figures and captions */
434
+
435
+ figure {
436
+ margin : 2em 0 ;
437
+ padding-left : 1em ;
438
+ border-left : 2px solid var (--cloudy );
439
+ }
440
+
441
+ figure img ,
442
+ figure video ,
443
+ figure svg {
444
+ border : 1px solid var (--line-grey );
445
+ }
446
+
447
+ figcaption {
448
+ font-weight : initial;
449
+ border-bottom : initial;
450
+ font-size : 0.9rem ;
451
+ }
452
+
433
453
@media (max-width : 35em ) {
434
454
.nav-container {
435
455
padding : 0 ;
@@ -438,7 +458,7 @@ margin-right:.8em;
438
458
display : inline-block;
439
459
width : calc (100% - 2em );
440
460
}
441
- @supports (display : gred ) {
461
+ @supports (display : grid ) {
442
462
# site-header {
443
463
padding-left : 0 ;
444
464
}
You can’t perform that action at this time.
0 commit comments