diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-12-27 16:00:54 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-12-27 16:00:54 +0100 |
commit | c0f41dd4c74ca4a12252103da0e6de296533e269 (patch) | |
tree | d81194f4b4f3818b71e3773325b0a5ad3478f510 /back-template.m4 | |
parent | 2cf87d7baeb0ec2b0221e2349989fd0b0967d26b (diff) |
add spoiler class for hiding sentence by default
Diffstat (limited to 'back-template.m4')
-rw-r--r-- | back-template.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/back-template.m4 b/back-template.m4 index d948b80..1a0607d 100644 --- a/back-template.m4 +++ b/back-template.m4 @@ -1,9 +1,9 @@ <div class="card back"> -<span class="parse sentence foreign">{{Complete sentence}}</span> +<span id="sentence" class="parse foreign">{{Complete sentence}}</span> <hr class="split"> -<span class="target-word-reading foreign">{{Target word reading}}</span> -<span class="target-word-translation native">{{Target word translation}}</span> -<span class="sentence-translation native">{{Complete sentence translation}}</span> +<span id="target-word-reading" class="foreign">{{Target word reading}}</span> +<span id="target-word-translation" class="native">{{Target word translation}}</span> +<span id="sentence-translation" class="native spoiler hidden">{{Complete sentence translation}}</span> </div> <style>undivert(`card.min.css')</style> |