version advance + some refactoring

This commit is contained in:
Yusur 2023-07-12 16:28:59 +02:00
parent ded90d1ac4
commit 910e01b691
6 changed files with 49 additions and 72 deletions

View file

@ -12,19 +12,6 @@
{% else %}
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
{% endif %}
{% if math_version and katex_url %}
<link rel="stylesheet" href="{{ katex_url }}" />
<style type="text/css">
.katex img {
object-fit: fill;
padding: unset;
display: block;
position: absolute;
width: 100%;
height: inherit;
}
</style>
{% endif %}
{% block json_info %}{% endblock %}
</head>
<body {% if request.cookies.get('dark') == '1' %}class="dark"{% endif %}>