refactoring to handle independant staff-member block
This commit is contained in:
parent
6dd7476e8f
commit
1905ffa495
|
|
@ -11,22 +11,3 @@
|
|||
}
|
||||
}
|
||||
|
||||
.homegrade-blocks-staff-member {
|
||||
@apply flex items-center gap-6 !pl-0;
|
||||
&__member-icon {
|
||||
@apply bg-white shadowed rounded-2xl w-20 h-20;
|
||||
@apply shrink-0;
|
||||
img {
|
||||
@apply max-w-full max-h-full h-auto;
|
||||
}
|
||||
}
|
||||
&__member-informations {
|
||||
@apply shrink flex flex-col content-center;
|
||||
}
|
||||
&__name {
|
||||
@apply font-bold text-secondary text-lg;
|
||||
}
|
||||
&__position {
|
||||
@apply !mb-0 font-medium pt-1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
28
resources/css/blocks/staff-member.css
Normal file
28
resources/css/blocks/staff-member.css
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
.homegrade-blocks-staff-member {
|
||||
@apply flex items-center gap-6 !pl-0;
|
||||
&__member-icon {
|
||||
@apply bg-white shadowed rounded-2xl w-20 h-20;
|
||||
@apply shrink-0;
|
||||
img {
|
||||
@apply max-w-full max-h-full h-auto;
|
||||
}
|
||||
}
|
||||
&__member-informations {
|
||||
@apply shrink flex flex-col content-center;
|
||||
}
|
||||
&__name {
|
||||
@apply font-bold text-secondary text-lg;
|
||||
}
|
||||
&__position {
|
||||
@apply !mb-0 font-medium pt-1;
|
||||
}
|
||||
}
|
||||
|
||||
.homegrade-blocks-highlight--classic {
|
||||
.homegrade-blocks-staff-member {
|
||||
@apply my-5;
|
||||
&__name {
|
||||
@apply text-white;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user