on master help sign in
doc: CSS - fix alignment of code block in figure blocks

BTW: minor profread of reST.rst Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>

commit31db843c9c1f66da4ab2f8f23f969a0671ae6e65 authorMarkus Heiser <markus.heiser@darmarit.de> dateSun 22 Dec 2019, 14:08 (7 years ago) parentaa3b026
2 files changed+10−5
docs/_themes/searx/static/searx.css+7−1 docs/dev/reST.rst+3−4
docs/_themes/searx/static/searx.css+7−1
@@ -90,10 +90,16 @@ div.rst-example {
9090 }
9191}
9292
93+/* code block in figures
94+ */
95+
96+div.highlight pre {
97+ text-align: left;
98+}
99+
93100/* Table theme
94101*/
95102
96−
97103thead, tfoot {
98104 background-color: #fff;
99105}
docs/dev/reST.rst+3−4
@@ -1090,10 +1090,9 @@ Templating
10901090
10911091Templating is suitable for documentation which is created generic at the build
10921092time. The sphinx-jinja_ extension evaluates jinja_ templates in the :ref:`build
1093−environment <make pyenv>` with installed searx modules. We use this e.g. to
1094−build chapter: :ref:`engines generic`.
1095−
1096−Here is the content of the :origin:`docs/admin/engines.rst`:
1093+environment <make pyenv>` (with searx modules installed). We use this e.g. to
1094+build chapter: :ref:`engines generic`. Below the jinja directive from the
1095+:origin:`docs/admin/engines.rst` is shown:
10971096
10981097.. literalinclude:: ../admin/engines.rst
10991098 :language: reST