From 0f1cbb7b6489743b43c619ff76f6cbd8ef7ff37f Mon Sep 17 00:00:00 2001 From: Michael Goerz Date: Fri, 8 Mar 2024 13:15:12 -0500 Subject: [PATCH] Fix CSS for dark mode --- NEWS.md | 5 +++++ docs/src/assets/citations.css | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index e0e8bf1..d708d2a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased][] +### Fixed + +* The recommended CSS (`citations.css`) now includes a fix to be compatible with the dark-mode CSS of Documenter. Existing pages should update their `citations.css` to add `!important` to the `list-style` of `.citation ul`. [[#70][]] + ## [Version 1.3.2][1.3.2] - 2023-11-29 @@ -153,6 +157,7 @@ There were several bugs and limitations in version `1.2.x` for which some existi [1.2.0]: https://github.com/JuliaDocs/DocumenterCitations.jl/compare/v1.1.0...v1.2.0 [1.1.0]: https://github.com/JuliaDocs/DocumenterCitations.jl/compare/v1.0.0...v1.1.0 [1.0.0]: https://github.com/JuliaDocs/DocumenterCitations.jl/compare/v0.2.12...v1.0.0 +[#70]: https://github.com/JuliaDocs/DocumenterCitations.jl/pull/70 [#65]: https://github.com/JuliaDocs/DocumenterCitations.jl/pull/65 [#62]: https://github.com/JuliaDocs/DocumenterCitations.jl/pull/62 [#61]: https://github.com/JuliaDocs/DocumenterCitations.jl/pull/61 diff --git a/docs/src/assets/citations.css b/docs/src/assets/citations.css index 76140e8..b0c6326 100644 --- a/docs/src/assets/citations.css +++ b/docs/src/assets/citations.css @@ -9,7 +9,7 @@ .citation ul { padding: 0 0 2.25em 0; margin: 0; - list-style: none;} + list-style: none !important;} .citation ul li { text-indent: -2.25em; margin: 0.33em 0.5em 0.5em 2.25em;}