summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-10-17 15:09:40 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2022-10-17 15:09:40 -0700
commit0cc48b560e1a86b5a4ef123c98a5e0ec7131d69f (patch)
tree45219df96273e301398e5abe4a0e9a15bb761cdc /data/templates
parent3666d79ae776ce4839262c9f9cbb9d76471d2eb0 (diff)
Use styles.citations.html partial in styles.html.
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/styles.html29
1 files changed, 4 insertions, 25 deletions
diff --git a/data/templates/styles.html b/data/templates/styles.html
index 776d6a872..36f7063c5 100644
--- a/data/templates/styles.html
+++ b/data/templates/styles.html
@@ -175,33 +175,12 @@ ul.task-list li input[type="checkbox"] {
$if(quotes)$
q { quotes: "“" "”" "‘" "’"; }
$endif$
-$if(highlighting-css)$
-$highlighting-css$
-$endif$
$if(displaymath-css)$
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
$endif$
-$if(csl-css)$
-div.csl-bib-body { }
-div.csl-entry {
- clear: both;
-$if(csl-entry-spacing)$
- margin-bottom: $csl-entry-spacing$;
+$if(highlighting-css)$
+$highlighting-css$
$endif$
-}
-.hanging div.csl-entry {
- margin-left:2em;
- text-indent:-2em;
-}
-div.csl-left-margin {
- min-width:2em;
- float:left;
-}
-div.csl-right-inline {
- margin-left:2em;
- padding-left:1em;
-}
-div.csl-indent {
- margin-left: 2em;
-}
+$if(csl-css)$
+$style.citations.html()$
$endif$