Skip to content
Snippets Groups Projects
Commit 40d877cc authored by Julian's avatar Julian
Browse files

Update image, center it and limit its sizes

parent 7f86898a
No related branches found
No related tags found
1 merge request!43Resolve "Make Alsijil work with current core"
Pipeline #2648 passed
......@@ -130,3 +130,14 @@ table.person-info td.person-img img {
.sheet * {
page-break-inside: avoid;
}
img.max-size-600 {
max-width: 600px;
max-height: 600px;
}
img.center{
position: relative;
left: 50%;
transform: translateX(-50%);
}
......@@ -14,7 +14,9 @@
<section class="sheet padding-10mm bigprint" id="titlepage">
<div>
<h1>{% trans 'Class register' %}</h1>
<img src="{% cropped_thumbnail school 'logo_cropping' max_size='600x600' %}" id="school-logo" />
{% static "img/aleksis-banner.svg" as aleksis_banner %}
<img src="{% firstof request.site.preferences.theme__logo.url aleksis_banner %}"
alt="{{ request.site.preferences.general__title }} – Logo" class="max-size-600 center">
<p id="group-desc">
{{ group.name }}
</p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment