-.hint {
- background: #ffc;
- border: 1px solid #dda;
-}
-
-/* more compact errors table */
-#sqlstate-exceptions table p {
- margin: 0;
-}
-
-/* more compact data types table */
-table.data-types p,
-table.data-types div.line-block {
- margin: 0;
-}
-
-/* less space between enum values */
-dl.attribute {
- margin-bottom: 1rem;
+/* style rubric in furo
+ * TODO: remove after https://github.com/pradyunsg/furo/issues/33 fixed */
+p.rubric {
+ font-size: 1.2rem;
+ font-weight: bold;
}
# -- Options for HTML output -------------------------------------------------
+html_css_files = ["psycopg.css"]
+
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = "friendly"
html_show_sphinx = False
html_theme_options = {
"announcement": """
- <a style=\"text-decoration: none; color: white;\"
+ <a style=\"text-decoration: none; color: white;\"
href=\"https://github.com/sponsors/dvarrazzo\">
- <img height="24px" width="24px" src=\"_static/psycopg-48.png\"/> Sponsor psycopg3 on GitHub
+ <img height="24px" width="24px" src=\"_static/psycopg-48.png\"/>
+ Sponsor psycopg3 on GitHub
</a>
""",
- "sidebar_hide_name": True,
+ "sidebar_hide_name": False,
"light_logo": "psycopg-100.png",
"dark_logo": "psycopg-100.png",
+ "light_css_variables": {
+ "admonition-font-size": "1rem",
+ },
}
# Add any paths that contain custom static files (such as style sheets) here,