Explorar o código

Create captions counter on body element to prevent reset at every figcaption.

Marcus Brinkmann %!s(int64=9) %!d(string=hai) anos
pai
achega
76f09bff13
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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;