From 27bb55ab0729fe0531440362f6aa5eb1142e42fb Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 18 Nov 2021 17:33:48 +0100 Subject: [brand] SearXNG - docs html_theme = "searxng" Signed-off-by: Markus Heiser --- docs/_themes/searx/static/searx.css | 144 -------------------------------- docs/_themes/searx/theme.conf | 6 -- docs/_themes/searxng/static/searxng.css | 144 ++++++++++++++++++++++++++++++++ docs/_themes/searxng/theme.conf | 6 ++ docs/conf.py | 2 +- 5 files changed, 151 insertions(+), 151 deletions(-) delete mode 100644 docs/_themes/searx/static/searx.css delete mode 100644 docs/_themes/searx/theme.conf create mode 100644 docs/_themes/searxng/static/searxng.css create mode 100644 docs/_themes/searxng/theme.conf (limited to 'docs') diff --git a/docs/_themes/searx/static/searx.css b/docs/_themes/searx/static/searx.css deleted file mode 100644 index db101c054..000000000 --- a/docs/_themes/searx/static/searx.css +++ /dev/null @@ -1,144 +0,0 @@ -@import url("pocoo.css"); - -a, a.reference, a.footnote-reference { - color: #004b6b; - border-color: #004b6b; -} - -a:hover { - color: #6d4100; - border-color: #6d4100; -} - -p.version-warning { - background-color: #004b6b; -} - -div.sidebar { - background-color: whitesmoke; - border-color: lightsteelblue; - border-radius: 3pt; -} - -p.sidebar-title, .sidebar p { - margin: 6pt; -} - -.sidebar li, -.hlist li { - list-style-type: disclosure-closed; -} - - -/* admonitions -*/ - -div.admonition, div.topic, div.toctree-wrapper { - background-color: #fafafa; - margin: 8px 0px; - padding: 1em; - border-radius: 3pt 0 0 3pt; - border-top: none; - border-right: none; - border-bottom: none; - border-left: 5pt solid #ccc; - list-style-type: disclosure-closed; -} - -div.toctree-wrapper p.caption { - font-weight: normal; - font-size: 24px; - margin: 0 0 10px 0; - padding: 0; - line-height: 1; - display: inline; -} - -p.admonition-title:after { - content: none; -} - -.admonition.hint { border-color: #416dc0b0; } -.admonition.note { border-color: #6c856cb0; } -.admonition.tip { border-color: #85c5c2b0; } -.admonition.attention { border-color: #ecec97b0; } -.admonition.caution { border-color: #a6c677b0; } -.admonition.danger { border-color: #d46262b0; } -.admonition.important { border-color: #dfa3a3b0; } -.admonition.error { border-color: red; } -.admonition.warning { border-color: darkred; } - -.admonition.admonition-generic-admonition-title { - border-color: #416dc0b0; -} - - -/* admonitions with (rendered) reST markup examples (:class: rst-example) - * - * .. admonition:: title of the example - * :class: rst-example - * .... -*/ - -div.rst-example { - background-color: inherit; - margin: 0; - border-top: none; - border-right: 1px solid #ccc; - border-bottom: none; - border-left: none; - border-radius: none; - padding: 0; -} - -div.rst-example > p.admonition-title { - font-family: Sans Serif; - font-style: italic; - font-size: 0.8em; - display: block; - border-bottom: 1px solid #ccc; - padding: 0.5em 1em; - text-align: right; -} - -/* code block in figures - */ - -div.highlight pre { - text-align: left; -} - -/* Table theme -*/ - -thead, tfoot { - background-color: #fff; -} - -th:hover, td:hover { - background-color: #ffc; -} - -thead th, tfoot th, tfoot td, tbody th { - background-color: #fffaef; -} - -tbody tr:nth-child(odd) { - background-color: #fff; -} - -tbody tr:nth-child(even) { - background-color: #fafafa; -} - -caption { - font-family: Sans Serif; - padding: 0.5em; - margin: 0.5em 0 0.5em 0; - caption-side: top; - text-align: left; -} - -div.sphinx-tabs { - clear: both; -} diff --git a/docs/_themes/searx/theme.conf b/docs/_themes/searx/theme.conf deleted file mode 100644 index 2d5f72e7d..000000000 --- a/docs/_themes/searx/theme.conf +++ /dev/null @@ -1,6 +0,0 @@ -[theme] -inherit = pocoo -stylesheet = searx.css - -[options] -touch_icon = diff --git a/docs/_themes/searxng/static/searxng.css b/docs/_themes/searxng/static/searxng.css new file mode 100644 index 000000000..db101c054 --- /dev/null +++ b/docs/_themes/searxng/static/searxng.css @@ -0,0 +1,144 @@ +@import url("pocoo.css"); + +a, a.reference, a.footnote-reference { + color: #004b6b; + border-color: #004b6b; +} + +a:hover { + color: #6d4100; + border-color: #6d4100; +} + +p.version-warning { + background-color: #004b6b; +} + +div.sidebar { + background-color: whitesmoke; + border-color: lightsteelblue; + border-radius: 3pt; +} + +p.sidebar-title, .sidebar p { + margin: 6pt; +} + +.sidebar li, +.hlist li { + list-style-type: disclosure-closed; +} + + +/* admonitions +*/ + +div.admonition, div.topic, div.toctree-wrapper { + background-color: #fafafa; + margin: 8px 0px; + padding: 1em; + border-radius: 3pt 0 0 3pt; + border-top: none; + border-right: none; + border-bottom: none; + border-left: 5pt solid #ccc; + list-style-type: disclosure-closed; +} + +div.toctree-wrapper p.caption { + font-weight: normal; + font-size: 24px; + margin: 0 0 10px 0; + padding: 0; + line-height: 1; + display: inline; +} + +p.admonition-title:after { + content: none; +} + +.admonition.hint { border-color: #416dc0b0; } +.admonition.note { border-color: #6c856cb0; } +.admonition.tip { border-color: #85c5c2b0; } +.admonition.attention { border-color: #ecec97b0; } +.admonition.caution { border-color: #a6c677b0; } +.admonition.danger { border-color: #d46262b0; } +.admonition.important { border-color: #dfa3a3b0; } +.admonition.error { border-color: red; } +.admonition.warning { border-color: darkred; } + +.admonition.admonition-generic-admonition-title { + border-color: #416dc0b0; +} + + +/* admonitions with (rendered) reST markup examples (:class: rst-example) + * + * .. admonition:: title of the example + * :class: rst-example + * .... +*/ + +div.rst-example { + background-color: inherit; + margin: 0; + border-top: none; + border-right: 1px solid #ccc; + border-bottom: none; + border-left: none; + border-radius: none; + padding: 0; +} + +div.rst-example > p.admonition-title { + font-family: Sans Serif; + font-style: italic; + font-size: 0.8em; + display: block; + border-bottom: 1px solid #ccc; + padding: 0.5em 1em; + text-align: right; +} + +/* code block in figures + */ + +div.highlight pre { + text-align: left; +} + +/* Table theme +*/ + +thead, tfoot { + background-color: #fff; +} + +th:hover, td:hover { + background-color: #ffc; +} + +thead th, tfoot th, tfoot td, tbody th { + background-color: #fffaef; +} + +tbody tr:nth-child(odd) { + background-color: #fff; +} + +tbody tr:nth-child(even) { + background-color: #fafafa; +} + +caption { + font-family: Sans Serif; + padding: 0.5em; + margin: 0.5em 0 0.5em 0; + caption-side: top; + text-align: left; +} + +div.sphinx-tabs { + clear: both; +} diff --git a/docs/_themes/searxng/theme.conf b/docs/_themes/searxng/theme.conf new file mode 100644 index 000000000..802ffff4e --- /dev/null +++ b/docs/_themes/searxng/theme.conf @@ -0,0 +1,6 @@ +[theme] +inherit = pocoo +stylesheet = searxng.css + +[options] +touch_icon = diff --git a/docs/conf.py b/docs/conf.py index f892336f8..5bc83ebe6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -108,7 +108,7 @@ issues_github_path = "searxng/searxng" sys.path.append(os.path.abspath('_themes')) sys.path.insert(0, os.path.abspath("../utils/")) html_theme_path = ['_themes'] -html_theme = "searx" +html_theme = "searxng" # sphinx.ext.imgmath setup html_math_renderer = 'imgmath' -- cgit v1.2.3