templates: add django blocks with no paddings to mini-base (#87202)
gitea/publik-base-theme/pipeline/head This commit looks good Details

This commit is contained in:
Frédéric Péters 2024-02-20 11:27:38 +01:00
parent 82e78429c0
commit 48de2fcff1
2 changed files with 11 additions and 2 deletions

View File

@ -205,10 +205,13 @@ body.pk-mini-page {
background: white;
max-width: 30em;
margin: 4em auto;
padding: 1em;
padding: 0em;
text-align: center;
border-bottom: 5px solid var(--primary-color);
}
.pk-mini-page--content {
padding: 1em
}
.loader {
margin: 2em auto;
width: 40px;

View File

@ -20,7 +20,13 @@
</head>
<body class="pk-mini-page">
<main>
{% block content %}
{% block content-top %}
{% endblock %}
<div class="pk-mini-page--content">
{% block content %}
{% endblock %}
</div>
{% block content-bottom %}
{% endblock %}
</main>
</body>