aboutsummaryrefslogtreecommitdiff
path: root/anki-card-template/readme.md
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-01-20 23:20:03 +0100
committerlonkaars <loek@pipeframe.xyz>2023-01-20 23:20:03 +0100
commit61d1cf73928e345dcfe4a8521762b6467ed4c9db (patch)
tree63fbed1877a31cf273c2337ead6a9e5bcea57230 /anki-card-template/readme.md
parent590ccd3107116ca70781d29b5f8390da88566635 (diff)
small css cleanup
Diffstat (limited to 'anki-card-template/readme.md')
-rw-r--r--anki-card-template/readme.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/anki-card-template/readme.md b/anki-card-template/readme.md
index ec53a9b..b502df1 100644
--- a/anki-card-template/readme.md
+++ b/anki-card-template/readme.md
@@ -70,6 +70,10 @@ are instructions to apply to an empty deck.
This card template is also compatible with AnkiDroid, but you need to add
`.night_mode { }` to the Styling tab for this to work. For some reason
-AnkiDroid's night mode CSS class is called `night_mode` instead of `nightMode`
-like the desktop version.
+AnkiDroid checks if the card has dark mode 'support' by checking if the Styling
+tab CSS contains the literal string `.night_mode`. [The
+documentation](https://docs.ankiweb.net/templates/styling.html#night-mode)
+suggests that the night mode CSS class is called `nightMode` instead of
+`night_mode`, but `night_mode` works fine on desktop too, so is used in this
+card template.