Skip to content

Commit

Permalink
Merge pull request #70 from JuliaDocs/css-dark
Browse files Browse the repository at this point in the history
Fix CSS for dark mode
  • Loading branch information
goerz authored Mar 8, 2024
2 parents a2f0c62 + 0f1cbb7 commit cc30eea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/src/assets/citations.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;}
Expand Down

0 comments on commit cc30eea

Please sign in to comment.