Passage à Pico CSS avec classes

This commit is contained in:
Edgar P. Burkhart 2024-06-14 15:02:53 +02:00
parent 524bd9d737
commit 49c30aab8f
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 3 additions and 3 deletions

View file

@ -25,13 +25,13 @@
<link rel="stylesheet" href="https://rsms.me/inter/inter.css"> <link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<link rel="preconnect" href="https://cdn.jsdelivr.net/"> <link rel="preconnect" href="https://cdn.jsdelivr.net/">
<link rel="stylesheet" <link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.fluid.classless.lime.min.css" /> href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.lime.min.css" />
<link rel="stylesheet" type="text/css" href="{% static 'css/blog.css' %}"> <link rel="stylesheet" type="text/css" href="{% static 'css/blog.css' %}">
{% block extra_css %}{# Override this in templates to add extra stylesheets #}{% endblock %} {% block extra_css %}{# Override this in templates to add extra stylesheets #}{% endblock %}
</head> </head>
<body> <body>
{% wagtailuserbar %} {% wagtailuserbar %}
<main> <main class="container-fluid">
{% block content %}{% endblock %} {% block content %}{% endblock %}
</main> </main>
{# Global javascript #} {# Global javascript #}

View file

@ -7,7 +7,7 @@
{{ page.body|richtext }} {{ page.body|richtext }}
</section> </section>
{% endif %} {% endif %}
<section> <section class="grid">
{% for link in page.links.all %}<a href="{{ link.link }}"><article>{{ link.title }}</article></a>{% endfor %} {% for link in page.links.all %}<a href="{{ link.link }}"><article>{{ link.title }}</article></a>{% endfor %}
</section> </section>
{% endblock content %} {% endblock content %}