STYLE introducing component style
This commit is contained in:
parent
487e9f8abd
commit
2e2df71ecd
47
resources/css/blocks/document-card.css
Normal file
47
resources/css/blocks/document-card.css
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
.wp-block-carhop-blocks-document-card {
|
||||
@apply border border-solid border-primary p-8 bg-white grid items-center mb-6;
|
||||
|
||||
grid-template-columns: 1fr auto;
|
||||
|
||||
&:after {
|
||||
@apply content-[''] block !w-20 !h-20 bg-center bg-no-repeat;
|
||||
transition: transform 0.3s ease-in-out;
|
||||
background-image: url('../resources/img/carhop-fleche-full-green_down.svg') !important;
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
|
||||
&:hover:after {
|
||||
transform: translateY(14px);
|
||||
}
|
||||
|
||||
.file_info {
|
||||
@apply flex items-center text-primary;
|
||||
}
|
||||
|
||||
.wp-block-carhop-blocks-heading {
|
||||
@apply !pb-4;
|
||||
.carhop-heading__innerblocks {
|
||||
@apply !gap-2;
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
@apply nunito !normal-case !tracking-wide;
|
||||
}
|
||||
|
||||
p {
|
||||
@apply !text-3xl;
|
||||
}
|
||||
|
||||
+ .file_info {
|
||||
@apply !mt-4;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
@apply mb-4;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user