add some comments

This commit is contained in:
mystie 2025-03-28 19:44:01 +03:00
parent a114f36ce7
commit 1631dbead0

View file

@ -14,6 +14,7 @@
{% if cfg.style.tintColors %} {% if cfg.style.tintColors %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/tinted.css') }}"> <link rel="stylesheet" href="{{ url_for('static', filename='css/tinted.css') }}">
{% endif %} {% endif %}
<!-- variable styles depending on used font and accent color -->
<style> <style>
{% if cfg.accessibility.font == 'default' %} {% if cfg.accessibility.font == 'default' %}
@font-face { @font-face {
@ -111,12 +112,13 @@
</style> </style>
{% endif %} {% endif %}
{% if cfg.style.customCss and cfg.style.useCustomCss %} {% if cfg.style.customCss and cfg.style.useCustomCss %}
<!-- custom css -->
<style> <style>
{{ cfg.style.customCss | safe }} {{ cfg.style.customCss | safe }}
</style> </style>
{% endif %} {% endif %}
<!-- some essential styles so 3rd-party themes don't break -->
<style> <style>
/* some essential styles so 3rd-party themes don't break */
footer .icon-link, footer .icon-link i { footer .icon-link, footer .icon-link i {
display: flex; display: flex;
} }
@ -193,6 +195,7 @@
} }
} }
</style> </style>
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap-icons.min.css') }}"> <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap-icons.min.css') }}">
{%- if cfg.accessibility.font == 'default' -%} {%- if cfg.accessibility.font == 'default' -%}
<link rel="preload" href="{{ url_for('static', filename='fonts/rubik.woff2') }}" as="font" type="font/woff2" crossorigin> <link rel="preload" href="{{ url_for('static', filename='fonts/rubik.woff2') }}" as="font" type="font/woff2" crossorigin>