diff --git a/src/fellchensammlung/static/fellchensammlung/css/styles.css b/src/fellchensammlung/static/fellchensammlung/css/styles.css index 02778f5..3e38249 100644 --- a/src/fellchensammlung/static/fellchensammlung/css/styles.css +++ b/src/fellchensammlung/static/fellchensammlung/css/styles.css @@ -314,7 +314,7 @@ h1 { .adoption-notices { display: flex; flex-wrap: wrap; - list-style-type:none; + list-style-type: none; } .card-adoption-notice { @@ -344,7 +344,7 @@ h1 { .animals { display: flex; flex-wrap: wrap; - list-style-type:none; + list-style-type: none; } .card-animal { @@ -359,12 +359,24 @@ h1 { .card-animal { flex: 1 100%; } + .card-adoption-notice { + flex: 1 100%; + } } -.card-animal img { +.adoption-notice-img img, .card-animal img { max-width: 100%; border-radius: 10%; margin: 5px; max-height: 250px; } +.adoption-card-report-link { + margin-left: auto; + font-size: 2rem; + padding: 10px; +} + +.heading-card-adoption-notice { + word-wrap: anywhere; +} \ No newline at end of file diff --git a/src/fellchensammlung/templates/fellchensammlung/lists/list-adoption-notices.html b/src/fellchensammlung/templates/fellchensammlung/lists/list-adoption-notices.html index ffead9d..4a123cb 100644 --- a/src/fellchensammlung/templates/fellchensammlung/lists/list-adoption-notices.html +++ b/src/fellchensammlung/templates/fellchensammlung/lists/list-adoption-notices.html @@ -3,5 +3,3 @@ {% include "fellchensammlung/partials/partial-adoption-notice.html" %} {% endfor %} - - diff --git a/src/fellchensammlung/templates/fellchensammlung/partials/partial-adoption-notice.html b/src/fellchensammlung/templates/fellchensammlung/partials/partial-adoption-notice.html index d01b3af..9ea25b1 100644 --- a/src/fellchensammlung/templates/fellchensammlung/partials/partial-adoption-notice.html +++ b/src/fellchensammlung/templates/fellchensammlung/partials/partial-adoption-notice.html @@ -4,8 +4,8 @@
{% translate "Notfellchen" %}: {{ adoption_notice.animals.all|join_link:", " | safe }}