Compare commits
No commits in common. "d8d5552e20e7c1b2c9a8cb0d803c17aa06055735" and "5dc70a6003b9e3209336bfaa0dfa1d7892a6b61f" have entirely different histories.
d8d5552e20
...
5dc70a6003
|
|
@ -42,7 +42,6 @@
|
||||||
@import './blocks/content-box.css';
|
@import './blocks/content-box.css';
|
||||||
@import './blocks/heading.css';
|
@import './blocks/heading.css';
|
||||||
@import './blocks/decorative-shapes.css';
|
@import './blocks/decorative-shapes.css';
|
||||||
@import './blocks/narrative-card.css';
|
|
||||||
|
|
||||||
/* ########### LIBS ############ */
|
/* ########### LIBS ############ */
|
||||||
@import './libs/swiper.css';
|
@import './libs/swiper.css';
|
||||||
|
|
|
||||||
|
|
@ -28,10 +28,6 @@ p {
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-heading {
|
|
||||||
@apply pb-4;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* body.wp-admin h1:not(.editor-visual-editor h1),
|
/* body.wp-admin h1:not(.editor-visual-editor h1),
|
||||||
body.wp-admin h2:not(.editor-visual-editor h2),
|
body.wp-admin h2:not(.editor-visual-editor h2),
|
||||||
body.wp-admin h3:not(.editor-visual-editor h3),
|
body.wp-admin h3:not(.editor-visual-editor h3),
|
||||||
|
|
|
||||||
|
|
@ -1,44 +0,0 @@
|
||||||
.narrative-card {
|
|
||||||
@apply bg-white border border-primary p-12 mx-auto max-w-screen-lg;
|
|
||||||
|
|
||||||
&--has-cover {
|
|
||||||
@apply grid grid-cols-2 gap-32 items-center;
|
|
||||||
grid-template-columns: 4fr 1fr;
|
|
||||||
|
|
||||||
&--left {
|
|
||||||
grid-template-columns: 1fr 4fr;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&__cover {
|
|
||||||
@apply w-full h-auto object-cover border border-primary mx-auto;
|
|
||||||
aspect-ratio: 1/1;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:nth-child(odd) {
|
|
||||||
.narrative-card__cover {
|
|
||||||
@apply rotate-3;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&:nth-child(even) {
|
|
||||||
.narrative-card__cover {
|
|
||||||
@apply rotate-[-3deg];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&__content {
|
|
||||||
p {
|
|
||||||
@apply text-primary text-lg;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.narrative-card__content h1,
|
|
||||||
.narrative-card__content h2,
|
|
||||||
.narrative-card__content h3,
|
|
||||||
.narrative-card__content h4,
|
|
||||||
.narrative-card__content h5,
|
|
||||||
.narrative-card__content h6 {
|
|
||||||
@apply text-primary uppercase;
|
|
||||||
|
|
||||||
font-size: 2.5rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user