mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
Merge pull request #19 from lambdafu/lambda-captions-counter
Create captions counter on body to prevent reset at every figaction
This commit is contained in:
commit
16f4009339
1 changed files with 4 additions and 0 deletions
|
@ -91,6 +91,10 @@ video {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
counter-reset: captions;
|
||||||
|
}
|
||||||
|
|
||||||
figcaption:before {
|
figcaption:before {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue