hadnlign component style
This commit is contained in:
parent
8133ebe0f7
commit
825aa017a9
40
resources/css/blocks/page-card.css
Normal file
40
resources/css/blocks/page-card.css
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
.homegrade-blocks-page-card {
|
||||
@apply flex flex-col text-2xl mt-8 bg-white shadowed-lg rounded-3xl !p-8 relative;
|
||||
|
||||
text-decoration: none !important;
|
||||
transitions: all 0.3s ease-in-out;
|
||||
&:hover {
|
||||
@apply !bg-white !rounded-3xl translate-y-2;
|
||||
transitions: all 0.3s ease-in-out;
|
||||
scale: 1.01;
|
||||
.homegrade-blocks-page-card__cta .cta_arrow_button {
|
||||
@apply translate-x-2;
|
||||
}
|
||||
}
|
||||
&__icon {
|
||||
max-width: 80px;
|
||||
}
|
||||
&__title {
|
||||
text-decoration: none;
|
||||
@apply !text-xl font-bold !mt-3 text-black;
|
||||
line-height: 1.2 !important;
|
||||
}
|
||||
|
||||
&__excerpt {
|
||||
@apply text-base pt-3 !text-base text-black font-normal;
|
||||
}
|
||||
|
||||
&__cta {
|
||||
.cta_arrow_button {
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
@apply mt-auto text-lg relative w-full text-black;
|
||||
/* align-self: last baseline; */
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding-top: 2rem;
|
||||
font-weight: 700;
|
||||
/* position: unset; */
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user