Styles term card more like the original design. #28.
This commit is contained in:
parent
a4ba5b793c
commit
46d5901bc0
|
@ -8,6 +8,8 @@
|
||||||
|
|
||||||
.term-name {
|
.term-name {
|
||||||
font-size: 1.125rem !important;
|
font-size: 1.125rem !important;
|
||||||
|
padding-left: 1rem;
|
||||||
|
padding-top: 0.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.term-description p {
|
.term-description p {
|
||||||
|
@ -17,15 +19,17 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.term-children-link a {
|
.term-children-link a {
|
||||||
margin-bottom: 1.5rem;
|
padding-left: 1rem;
|
||||||
|
margin-bottom: 1.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.term-items-link a {
|
.term-items-link a {
|
||||||
margin-bottom: 1.5rem;
|
padding-left: 1rem;
|
||||||
|
margin-bottom: 1.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.term-thumbnail {
|
.term-thumbnail {
|
||||||
float: left;
|
float: right;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
width: 136px !important;
|
width: 136px !important;
|
||||||
height: 136px !important;
|
height: 136px !important;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -8,7 +8,7 @@
|
||||||
'after_terms_list' => '</ul>',
|
'after_terms_list' => '</ul>',
|
||||||
'before_term' => '<li class="tainacan-term-single tainacan-list-collection--card" id="term-id-$id">',
|
'before_term' => '<li class="tainacan-term-single tainacan-list-collection--card" id="term-id-$id">',
|
||||||
'after_term' => '</li>',
|
'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>',
|
'after_term_thumbnail' => '</figure>',
|
||||||
'before_term_description' => '<div class="term-description media-body text-oslo-gray"><p>',
|
'before_term_description' => '<div class="term-description media-body text-oslo-gray"><p>',
|
||||||
'thumbnails_size' => 'tainacan-medium',
|
'thumbnails_size' => 'tainacan-medium',
|
||||||
|
|
Loading…
Reference in New Issue