change comments css importing strategy

This commit is contained in:
2024-01-12 20:27:01 +01:00
parent 883364c5e1
commit ac550882b6
2 changed files with 4 additions and 1 deletions

View File

@@ -13,6 +13,8 @@
border: none; border: none;
} }
@import url("https://comments.jozwiak.top/themes/default-borderless/comments.css");
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
:root { :root {
--bg-color: #17171b; --bg-color: #17171b;
@@ -29,6 +31,8 @@
.listmonk-form button { .listmonk-form button {
border: 0.001rem solid var(--txt-color); border: 0.001rem solid var(--txt-color);
} }
@import url("https://comments.jozwiak.top/themes/default-dark-borderless/comments.css");
} }
body { body {

View File

@@ -84,7 +84,6 @@
{% do assets.addCss('theme://fonts/opensans/local.css') %} {% do assets.addCss('theme://fonts/opensans/local.css') %}
{% do assets.addCss('theme://fonts/sourcecodepro/local.css') %} {% do assets.addCss('theme://fonts/sourcecodepro/local.css') %}
{% if theme_config.hashover.domain %} {% if theme_config.hashover.domain %}
<link rel="stylesheet" type="text/css" href="https://{{ theme_config.hashover.domain }}/themes/{{ theme_config.hashover.theme }}/comments.css">
{% endif %} {% endif %}
{% endblock %} {% endblock %}