فهرست منبع

Merge pull request #19 from lambdafu/lambda-captions-counter

Create captions counter on body to prevent reset at every figaction
gcushen 9 سال پیش
والد
کامیت
16f4009339
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      static/css/hugo-academic.css

+ 4 - 0
static/css/hugo-academic.css

@@ -91,6 +91,10 @@ video {
     display: block;
 }
 
+body {
+    counter-reset: captions;
+}
+
 figcaption:before {
     font-weight: 700;
     text-transform: uppercase;