small changes; switched to fluid Pico CSS

This commit is contained in:
eclipse 2025-04-18 20:55:12 +02:00
parent 1c11876cc8
commit 5e4ec43683
3 changed files with 4 additions and 39 deletions

View File

@ -659,43 +659,6 @@ body > footer {
margin-left: auto;
padding: var(--pico-block-spacing-vertical) var(--pico-block-spacing-horizontal);
}
@media (min-width: 576px) {
body > header,
body > main,
body > footer {
max-width: 510px;
padding-right: 0;
padding-left: 0;
}
}
@media (min-width: 768px) {
body > header,
body > main,
body > footer {
max-width: 700px;
}
}
@media (min-width: 1024px) {
body > header,
body > main,
body > footer {
max-width: 950px;
}
}
@media (min-width: 1280px) {
body > header,
body > main,
body > footer {
max-width: 1200px;
}
}
@media (min-width: 1536px) {
body > header,
body > main,
body > footer {
max-width: 1450px;
}
}
/**
* Section

View File

@ -1,6 +1,6 @@
<nav>
<ul>
<li><a href="{{ url_for('views.home') }}">Home</a></li>
<li><a href="{{ url_for('views.texte') }}">Texte</a></li>
<li><a href="{{ url_for('views.texte_show') }}">Texte</a></li>
</ul>
</nav>

View File

@ -8,7 +8,7 @@
<meta name="description" content="Frontend für die Verwaltung von Texten und Veröffentlichungen" />
<meta name="author" content="Tobias Radloff" />
<link type="text/css" rel="stylesheet" href="{{ url_for('static', filename='pico.classless.azure.css') }}">
<link type="text/css" rel="stylesheet" href="{{ url_for('static', filename='pico.fluid.classless.azure.css') }}">
<!--<link rel="apple-touch-icon" sizes="180x180" href="../icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="../icons/favicon-32x32.png">
@ -31,6 +31,8 @@
<h1>{% block heading %}{% endblock heading %}</h1>
</header>
{% include("_messages.html") %}
{% block content %}<p>Hello, world.</p>{% endblock content %}
</main>