Skip to content
Snippets Groups Projects
Commit 9b561a7c authored by Damien George's avatar Damien George
Browse files

docs: Add custom CSS file, with code for admonition.

parent 4b60b45b
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ extensions = [
]
# Add any paths that contain templates here, relative to this directory.
#templates_path = ['templates']
templates_path = ['templates']
# The suffix of source filenames.
source_suffix = '.rst'
......@@ -144,7 +144,7 @@ else:
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
#html_static_path = ['static']
html_static_path = ['static']
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
......
/* custom CSS for Micro Python docs
*/
.admonition-difference-to-cpython {
border: 1px solid black;
}
.admonition-difference-to-cpython .admonition-title {
margin: 4px;
}
{% extends "!layout.html" %}
{% set css_files = css_files + ["_static/customstyle.css"] %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment