~emihalac/mnemosyne-proj/mnemosyne-proj

« back to all changes in this revision

Viewing changes to mnemosyne/mnemosyne/libmnemosyne/renderers/html_css_card_browser.py

  • Committer: Peter Bienstman
  • Date: 2017-03-01 18:28:52 UTC
  • Revision ID: peter.bienstman@ugent.be-20170301182852-uzlgodwicl505ft1
Option to have single window Q and A.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
            card_type.fact_key_format_proxies().items():
30
30
            css += ".%s { " % true_fact_key 
31
31
            # Font colours.
32
 
            if "force_text_colour" in render_args and render_args["force_text_colour"]:
 
32
            if "force_text_colour" in render_args and \
 
33
               render_args["force_text_colour"]:
33
34
                colour = render_args["force_text_colour"]
34
35
            else:
35
36
                colour = self.config().card_type_property(\