move css rules to custom.css

This commit is contained in:
Roman Trapeznikov 2022-02-15 15:02:36 +03:00
parent b8648c5f33
commit 1672dec60d
No known key found for this signature in database
GPG Key ID: 89BED52F1E290F8D
2 changed files with 3 additions and 11 deletions

View File

@ -0,0 +1,3 @@
.pdoc .docstring {
margin-left: 2rem;
}

View File

@ -1,16 +1,5 @@
{% extends "default/module.html.jinja2" %}
{% block style_content %}
{{ super() }}
/* Docstrings */
<style>
.pdoc .docstring {
margin-bottom: 1.5rem;
margin-left: 2rem;
}
</style>
{% endblock %}
{% macro is_public(doc) %}
{% if "(internal)" in doc.docstring %}
{# Returning no text is interpreted as false #}