Styles term card more like the original design. #28.

This commit is contained in:
mateuswetah 2023-03-10 11:10:27 -03:00
parent a4ba5b793c
commit 46d5901bc0
3 changed files with 9 additions and 5 deletions

View File

@ -8,6 +8,8 @@
.term-name {
font-size: 1.125rem !important;
padding-left: 1rem;
padding-top: 0.75rem;
}
.term-description p {
@ -17,15 +19,17 @@
}
.term-children-link a {
margin-bottom: 1.5rem;
padding-left: 1rem;
margin-bottom: 1.75rem;
}
.term-items-link a {
margin-bottom: 1.5rem;
padding-left: 1rem;
margin-bottom: 1.75rem;
}
.term-thumbnail {
float: left;
float: right;
margin-bottom: 0;
width: 136px !important;
height: 136px !important;

File diff suppressed because one or more lines are too long

View File

@ -8,7 +8,7 @@
'after_terms_list' => '</ul>',
'before_term' => '<li class="tainacan-term-single tainacan-list-collection--card" id="term-id-$id">',
'after_term' => '</li>',
'before_term_thumbnail' => '<figure class="term-thumbnail tainacan-list-collection--card-img rounded-0 align-self-center mr-3">',
'before_term_thumbnail' => '<figure class="term-thumbnail tainacan-list-collection--card-img rounded-0 align-self-center ml-3">',
'after_term_thumbnail' => '</figure>',
'before_term_description' => '<div class="term-description media-body text-oslo-gray"><p>',
'thumbnails_size' => 'tainacan-medium',