Compare commits
7 Commits
206059da55
...
951c19e2ea
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
951c19e2ea | ||
|
|
1e8e061017 | ||
|
|
5efecf6610 | ||
|
|
1b1798551c | ||
|
|
8b32472471 | ||
|
|
f54a3a39fa | ||
|
|
9574cdbbfa |
|
|
@ -48,6 +48,8 @@
|
||||||
@import './blocks/narrative-card.css';
|
@import './blocks/narrative-card.css';
|
||||||
@import './blocks/scroll-story-block.css';
|
@import './blocks/scroll-story-block.css';
|
||||||
@import './blocks/gallery.css';
|
@import './blocks/gallery.css';
|
||||||
|
@import './blocks/content-card.css';
|
||||||
|
@import './blocks/card-grid.css';
|
||||||
|
|
||||||
/* ########### LIBS ############ */
|
/* ########### LIBS ############ */
|
||||||
@import './libs/swiper.css';
|
@import './libs/swiper.css';
|
||||||
|
|
|
||||||
19
resources/css/blocks/card-grid.css
Normal file
19
resources/css/blocks/card-grid.css
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
.card-grid {
|
||||||
|
&--columns-2 .card-grid__innerblocks {
|
||||||
|
@apply md:grid-cols-2;
|
||||||
|
/* grid-template-columns: repeat(2, 1fr); */
|
||||||
|
}
|
||||||
|
&--columns-3 .card-grid__innerblocks {
|
||||||
|
@apply md:grid-cols-3;
|
||||||
|
}
|
||||||
|
&--columns-4 .card-grid__innerblocks {
|
||||||
|
@apply md:grid-cols-2 lg:grid-cols-4;
|
||||||
|
}
|
||||||
|
&--columns-5 .card-grid__innerblocks {
|
||||||
|
@apply md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__innerblocks {
|
||||||
|
@apply gap-8;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -72,6 +72,21 @@
|
||||||
&--small {
|
&--small {
|
||||||
@apply !h-12;
|
@apply !h-12;
|
||||||
}
|
}
|
||||||
|
&--classic {
|
||||||
|
@apply !rounded-none;
|
||||||
|
}
|
||||||
|
&--photoframe {
|
||||||
|
@apply object-cover;
|
||||||
|
border: 20px solid white;
|
||||||
|
box-sizing: content-box;
|
||||||
|
filter: saturate(0);
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
filter: saturate(1);
|
||||||
|
scale: 1.01;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__background {
|
&__background {
|
||||||
|
|
@ -96,3 +111,9 @@
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.chapter-section:nth-child(even) {
|
||||||
|
.chapter-section__cover--photoframe {
|
||||||
|
@apply -rotate-1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,9 @@
|
||||||
color: var(--content-box-text-color);
|
color: var(--content-box-text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wp-block-group {
|
||||||
|
}
|
||||||
|
|
||||||
&--bg-light {
|
&--bg-light {
|
||||||
--content-box-text-color: var(--wp--preset--color--carhop-green);
|
--content-box-text-color: var(--wp--preset--color--carhop-green);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
11
resources/css/blocks/content-card.css
Normal file
11
resources/css/blocks/content-card.css
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
.content-card {
|
||||||
|
h1.wp-block-heading,
|
||||||
|
h2.wp-block-heading,
|
||||||
|
h3.wp-block-heading,
|
||||||
|
h4.wp-block-heading,
|
||||||
|
h5.wp-block-heading,
|
||||||
|
h6.wp-block-heading {
|
||||||
|
@apply nunito;
|
||||||
|
letter-spacing: 0.05em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
.decorative-shapes {
|
.decorative-shapes {
|
||||||
@apply py-32;
|
/* @apply py-32; */
|
||||||
|
@apply py-12;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.carhop-heading {
|
.carhop-heading {
|
||||||
&__innerblocks {
|
&__innerblocks {
|
||||||
@apply max-w-screen-2xl mx-auto flex flex-col justify-center gap-8;
|
@apply alignwide !mx-auto flex flex-col justify-center gap-8;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--align-center {
|
&--align-center {
|
||||||
|
|
@ -20,7 +20,16 @@
|
||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
@apply font-light uppercase tracking-wider max-w-4xl mx-auto !text-5xl;
|
@apply font-light uppercase tracking-wider max-w-4xl !text-5xl;
|
||||||
line-height: 1.2 !important;
|
line-height: 1.2 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1.has-text-align-center,
|
||||||
|
h2.has-text-align-center,
|
||||||
|
h3.has-text-align-center,
|
||||||
|
h4.has-text-align-center,
|
||||||
|
h5.has-text-align-center,
|
||||||
|
h6.has-text-align-center {
|
||||||
|
@apply mx-auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user