mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-28 01:43:22 +08:00
move css rules to custom.css
This commit is contained in:
parent
b8648c5f33
commit
1672dec60d
3
assets/src/pdoc/templates/custom.css
Normal file
3
assets/src/pdoc/templates/custom.css
Normal file
@ -0,0 +1,3 @@
|
||||
.pdoc .docstring {
|
||||
margin-left: 2rem;
|
||||
}
|
||||
@ -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 #}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user