File tree 2 files changed +21
-2
lines changed
2 files changed +21
-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 ( "<p></p>" ) ;
246
- $el . prepend ( `Figure ${ i + 1 } ` ) ;
246
+ $el . prepend ( `<span> Figure ${ i + 1 } </span> ` ) ;
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,25 @@ margin-right:.8em;
430
430
margin-left : 2em ;
431
431
}
432
432
433
+ /* overrides for restyled figure captions */
434
+
435
+ figure {
436
+ margin : 2em 0 ;
437
+ }
438
+
439
+ figcaption {
440
+ font-weight : initial;
441
+ border-bottom : initial;
442
+ font-size : 0.9rem ;
443
+ padding-left : 1em ;
444
+ border-left : 2px solid # 005a9c ;
445
+ border-left : 2px solid var (--w3c-classic );
446
+ }
447
+
448
+ figcaption > span {
449
+ font-weight : bold;
450
+ }
451
+
433
452
@media (max-width : 35em ) {
434
453
.nav-container {
435
454
padding : 0 ;
@@ -438,7 +457,7 @@ margin-right:.8em;
438
457
display : inline-block;
439
458
width : calc (100% - 2em );
440
459
}
441
- @supports (display : gred ) {
460
+ @supports (display : grid ) {
442
461
# site-header {
443
462
padding-left : 0 ;
444
463
}
You can’t perform that action at this time.
0 commit comments