refactor: Various redesigns
This commit is contained in:
parent
8037b66597
commit
7a649d00ee
@ -314,7 +314,7 @@ h1 {
|
|||||||
.adoption-notices {
|
.adoption-notices {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
list-style-type:none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-adoption-notice {
|
.card-adoption-notice {
|
||||||
@ -344,7 +344,7 @@ h1 {
|
|||||||
.animals {
|
.animals {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
list-style-type:none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-animal {
|
.card-animal {
|
||||||
@ -359,12 +359,24 @@ h1 {
|
|||||||
.card-animal {
|
.card-animal {
|
||||||
flex: 1 100%;
|
flex: 1 100%;
|
||||||
}
|
}
|
||||||
|
.card-adoption-notice {
|
||||||
|
flex: 1 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-animal img {
|
.adoption-notice-img img, .card-animal img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
border-radius: 10%;
|
border-radius: 10%;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
max-height: 250px;
|
max-height: 250px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.adoption-card-report-link {
|
||||||
|
margin-left: auto;
|
||||||
|
font-size: 2rem;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.heading-card-adoption-notice {
|
||||||
|
word-wrap: anywhere;
|
||||||
|
}
|
@ -3,5 +3,3 @@
|
|||||||
{% include "fellchensammlung/partials/partial-adoption-notice.html" %}
|
{% include "fellchensammlung/partials/partial-adoption-notice.html" %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
<div class="card-adoption-notice">
|
<div class="card-adoption-notice">
|
||||||
<div>
|
<div>
|
||||||
<div class="header-card-adoption-notice">
|
<div class="header-card-adoption-notice">
|
||||||
<h1><a href="{{ adoption_notice.get_absolute_url }}"> {{ adoption_notice.name }}</a></h1>
|
<h1><a class="heading-card-adoption-notice" href="{{ adoption_notice.get_absolute_url }}"> {{ adoption_notice.name }}</a></h1>
|
||||||
<a href="{{ adoption_notice.get_report_url }}">{% translate "Melden" %}</a>
|
<a class="adoption-card-report-link" href="{{ adoption_notice.get_report_url }}"><i class="fa-solid fa-flag"></i></a>
|
||||||
</div>
|
</div>
|
||||||
<p><b>{% translate "Notfellchen" %}:</b> {{ adoption_notice.animals.all|join_link:", " | safe }}
|
<p><b>{% translate "Notfellchen" %}:</b> {{ adoption_notice.animals.all|join_link:", " | safe }}
|
||||||
</p>
|
</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user