Overwrite some styles from the template

This commit is contained in:
Lol3rrr
2026-09-27 02:20:10 +02:00
parent ab8ec68e77
commit 41bb1677ca
2 changed files with 38 additions and 0 deletions

28
sass/styles.scss Normal file
View File

@@ -0,0 +1,28 @@
article[itemprop="articleBody"] {
h1 {
font-size: 1.2rem !important;
}
}
article[itemprop="articleBody"] {
h2,
h3,
h4,
h5,
h6 {
margin-top: 1rem !important;
font-size: 1.1rem !important;
}
}
.hack h2,
.hack h3,
.hack h4,
.hack h5,
.hack h6 {
position: relative;
margin-bottom: 1.2rem;
margin-top: 1.75rem
}

View File

@@ -21,3 +21,13 @@
<script src="/js/chart.min.js"></script>
{% endblock %}
{% block styles %}
{{ super() }}
<link
rel="stylesheet"
href="{{ get_url(path='styles.css', trailing_slash=false) | safe }}"
/>
{% endblock %}