diff options
| author | mb21 <[email protected]> | 2021-03-20 12:24:02 +0100 |
|---|---|---|
| committer | mb21 <[email protected]> | 2021-03-20 13:48:12 +0100 |
| commit | 8655871a40eeb725dda79d9446585116534c77b8 (patch) | |
| tree | 31d53e25d246680b19aa7fe14b5995cae5bf4363 /data | |
| parent | 0e489c511578b9e131f94a3ff268209d4d6646a7 (diff) | |
wrap in if(document-css)dark-mode
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/styles.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/templates/styles.html b/data/templates/styles.html index ad8b9aa88..250c7ef9c 100644 --- a/data/templates/styles.html +++ b/data/templates/styles.html @@ -177,6 +177,7 @@ div.csl-indent { margin-left: 2em; } $endif$ +$if(document-css)$ @media screen and (prefers-color-scheme: dark) { html { color: #d3d3d3; @@ -202,4 +203,5 @@ $endif$ $highlighting-css-dark$ $endif$ } +$endif$ |
