Close blocks properly

This commit is contained in:
daudix
2024-09-06 16:12:23 +03:00
parent dd5eb6d669
commit 1608ed814c
5 changed files with 6 additions and 12 deletions

View File

@ -19,10 +19,6 @@
// @media only screen and (max-width: 480px) { // @media only screen and (max-width: 480px) {
// font-size: 14px; // font-size: 14px;
// } // }
@media (prefers-color-scheme: dark) {
color-scheme: dark;
}
} }
body { body {

View File

@ -5,9 +5,7 @@
z-index: 999; z-index: 999;
backdrop-filter: var(--blur); backdrop-filter: var(--blur);
margin: 1rem auto; margin: 1rem auto;
box-shadow: box-shadow: var(--edge-highlight), 0 0.75rem 1.5rem -1rem rgb(0 0 0 / 0.5);
var(--edge-highlight),
0 0.75rem 1.5rem -1rem rgb(0 0 0 / 0.5);
border-radius: 1.625rem; border-radius: 1.625rem;
background-color: var(--nav-bg); background-color: var(--nav-bg);
max-width: 90%; max-width: 90%;

View File

@ -16,10 +16,10 @@
{% include "partials/nav.html" %} {% include "partials/nav.html" %}
{%- endif %} {%- endif %}
<div id="main" class="container"> <div id="main" class="container">
{% block custom %}{% endblock %} {% block custom %}{% endblock custom %}
{% block content %}{% endblock %} {% block content %}{% endblock content %}
</div> </div>
{% include "partials/footer.html" %} {% include "partials/footer.html" %}
{% endblock %} {% endblock body %}
</body> </body>
</html> </html>

View File

@ -69,4 +69,4 @@ Function name: getPluralizationKey -#}
{%- set translated_text = translated_text | replace(from="$NUMBER", to=number | as_str) -%} {%- set translated_text = translated_text | replace(from="$NUMBER", to=number | as_str) -%}
{%- endif -%} {%- endif -%}
{{- translated_text -}} {{- translated_text -}}
{% endmacro %} {% endmacro translate %}

View File

@ -1,4 +1,4 @@
{#- Based on https://github.com/getzola/zola/blob/master/docs/static/search.js -#} {#- Based on https://github.com/getzola/zola/blob/1ac1231de1e342bbaf4d7a51a8a9a40ea152e246/docs/static/search.js -#}
<script type="text/javascript"> <script type="text/javascript">
function debounce(func, wait) { function debounce(func, wait) {