mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-19 21:33:41 -05:00
add some comments
This commit is contained in:
parent
a114f36ce7
commit
1631dbead0
1 changed files with 4 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue