873 lines
20 KiB
CSS
873 lines
20 KiB
CSS
@import url("https://use.typekit.net/iaa6iur.css");
|
|
|
|
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
|
|
|
|
/* @import "tailwindcss/base";
|
|
@import "tailwindcss/components";
|
|
@import "tailwindcss/utilities"; */
|
|
|
|
/* @import url("css/font.css"); */
|
|
|
|
.bigCaslon {
|
|
font-family: "big-caslon-fb", serif;
|
|
}
|
|
|
|
.montserrat {
|
|
font-family: "Montserrat", sans-serif;
|
|
}
|
|
|
|
/* @font-face {
|
|
font-family: "montserrat";
|
|
src: url("../fonts/montserrat-black-webfont.woff2") format("woff2"),
|
|
url("../fonts/montserrat-black-webfont.woff") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
@font-face {
|
|
font-family: "montserrat";
|
|
src: url("../fonts/montserrat-bold-webfont.woff2") format("woff2"),
|
|
url("../fonts/montserrat-bold-webfont.woff") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
@font-face {
|
|
font-family: "montserrat";
|
|
src: url("../fonts/montserrat-extrabold-webfont.woff2") format("woff2"),
|
|
url("../fonts/montserrat-extrabold-webfont.woff") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
@font-face {
|
|
font-family: "montserratextralight";
|
|
src: url("../fonts/montserrat-extralight-webfont.woff2") format("woff2"),
|
|
url("../fonts/montserrat-extralight-webfont.woff") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
@font-face {
|
|
font-family: "montserratlight";
|
|
src: url("../fonts/montserrat-light-webfont.woff2") format("woff2"),
|
|
url("../fonts/montserrat-light-webfont.woff") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
@font-face {
|
|
font-family: "montserratmedium";
|
|
src: url("../fonts/montserrat-medium-webfont.woff2") format("woff2"),
|
|
url("../fonts/montserrat-medium-webfont.woff") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
@font-face {
|
|
font-family: "montserratregular";
|
|
src: url("../fonts/montserrat-regular-webfont.woff2") format("woff2"),
|
|
url("../fonts/montserrat-regular-webfont.woff") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
@font-face {
|
|
font-family: "montserratsemibold";
|
|
src: url("../fonts/montserrat-semibold-webfont.woff2") format("woff2"),
|
|
url("../fonts/montserrat-semibold-webfont.woff") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
@font-face {
|
|
font-family: "montserratthin";
|
|
src: url("../fonts/montserrat-thin-webfont.woff2") format("woff2"),
|
|
url("../fonts/montserrat-thin-webfont.woff") format("woff");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
} */
|
|
|
|
.wpml-ls-item a span{
|
|
padding: 2px 0;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_dropdown_menu ul.wp-megamenu-sub-menu{
|
|
background-color: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_dropdown_menu ul.wp-megamenu-sub-menu li > a {
|
|
padding: 0px 12px;
|
|
}
|
|
|
|
.navigation #menu-primary-en li a {
|
|
font-family: "Montserrat", sans-serif!important;
|
|
font-weight: 500!important;
|
|
font-size: 15px!important;
|
|
color: #000!important;
|
|
transition: all 0.2s ease-in!important;
|
|
text-transform: none !important;
|
|
}
|
|
|
|
.navigation #menu-primary-en .current-menu-item a, .navigation #menu-primary-en a:hover {
|
|
color: var(--pink)!important;
|
|
}
|
|
|
|
#wp-megamenu-primary-en>.wpmm-nav-wrap ul.wp-megamenu>li ul.wp-megamenu-sub-menu li:hover>a, #wp-megamenu-primary-en>.wpmm-nav-wrap ul.wp-megamenu>li ul.wp-megamenu-sub-menu li.current-menu-ancestor>a, #wp-megamenu-primary-en>.wpmm-nav-wrap ul.wp-megamenu>li ul.wp-megamenu-sub-menu li.active>a, .wpmm-woo-product-category ul li.cat-list a:hover, .wpmm-woo-product-category.layout_2 ul li a:hover{
|
|
color: var(--pink)!important;
|
|
}
|
|
|
|
/* Ajustements Mobiles */
|
|
|
|
.wpmm-mobile-menu .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_dropdown_menu ul.wp-megamenu-sub-menu li > a {
|
|
padding: 0px 0px;
|
|
}
|
|
|
|
.navigation #menu-primary-beta > li.wpml-ls-menu-item, .navigation #menu-primary-en > li.wpml-ls-menu-item{
|
|
margin-left: 0px;
|
|
}
|
|
|
|
.navigation #menu-primary-beta > li.wpml-ls-menu-item a,.navigation #menu-primary-en > li.wpml-ls-menu-item a{
|
|
padding: 15px 4px;
|
|
}
|
|
|
|
.wpml-ls-first-item{
|
|
margin-left: 25px!important;
|
|
}
|
|
|
|
.wpml-ls-current-language a span{
|
|
border-bottom: solid 1px #000000;
|
|
}
|
|
|
|
@media screen and (max-width: 991px) {
|
|
.wpml-ls-first-item{
|
|
margin-left: 0!important;
|
|
}
|
|
|
|
.navigation #menu-primary-beta > li.wpml-ls-menu-item, .navigation #menu-primary-en > li.wpml-ls-menu-item{
|
|
padding: 0 12px!important;
|
|
}
|
|
|
|
.navigation #menu-primary-beta > li.wpml-ls-menu-item a, .navigation #menu-primary-en > li.wpml-ls-menu-item a {
|
|
padding: 2px 4px;
|
|
}
|
|
}
|
|
|
|
.wp-admin.post-type-portfolio .block-editor-block-list__layout.is-root-container > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
|
|
}
|
|
|
|
.wp-admin.post-type-portfolio .chapter-section {
|
|
box-sizing: border-box;
|
|
padding-left: 8rem;
|
|
padding-right: 8rem;
|
|
margin: 2rem calc(50% - 50vw);
|
|
max-width: 100vw;
|
|
width: 100vw;
|
|
}
|
|
|
|
.wp-admin.post-type-portfolio .block-editor-block-list__layout.is-root-container > :where(:not(.alignleft):not(.alignright):not(.wp-admin.post-type-portfolio .chapter-section)) {
|
|
}
|
|
|
|
.wp-block-post-title {
|
|
text-transform: unset;
|
|
line-height: 1;
|
|
}
|
|
|
|
.wp-block-post-title:before {
|
|
content: none;
|
|
}
|
|
|
|
.deligraph-blocks-chapter-section + .gallery-website-screens{
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
.simple-screen--white + .gallery-website-screens{
|
|
margin-top: 8rem;
|
|
}
|
|
|
|
.wp-admin.post-type-portfolio .is-root-container,
|
|
.portfolio-single{
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding-top: 7rem;
|
|
/* & + *:not(.simple-screen) {
|
|
@apply xl:mt-32;
|
|
} */
|
|
}
|
|
|
|
.wp-admin.post-type-portfolio .is-root-container h1,
|
|
.wp-admin.post-type-portfolio .is-root-container h2,
|
|
.wp-admin.post-type-portfolio .is-root-container h3,
|
|
.wp-admin.post-type-portfolio .is-root-container h4,
|
|
.wp-admin.post-type-portfolio .is-root-container h5,
|
|
.wp-admin.post-type-portfolio .is-root-container h6,
|
|
.portfolio-single h1,
|
|
.portfolio-single h2,
|
|
.portfolio-single h3,
|
|
.portfolio-single h4,
|
|
.portfolio-single h5,
|
|
.portfolio-single h6{
|
|
letter-spacing: 0em;
|
|
font-family: "big-caslon-fb", serif;
|
|
}
|
|
|
|
.wp-admin.post-type-portfolio .is-root-container h1:before, .wp-admin.post-type-portfolio .is-root-container h2:before, .wp-admin.post-type-portfolio .is-root-container h3:before, .wp-admin.post-type-portfolio .is-root-container h4:before, .wp-admin.post-type-portfolio .is-root-container h5:before, .wp-admin.post-type-portfolio .is-root-container h6:before, .portfolio-single h1:before, .portfolio-single h2:before, .portfolio-single h3:before, .portfolio-single h4:before, .portfolio-single h5:before, .portfolio-single h6:before{
|
|
--tw-content: none;
|
|
content: var(--tw-content);
|
|
}
|
|
|
|
.wp-admin.post-type-portfolio .is-root-container a, .portfolio-single a {
|
|
color: unset;
|
|
text-decoration-line: underline;
|
|
text-underline-offset: 4px;
|
|
text-decoration-thickness: 1px;
|
|
}
|
|
|
|
.wp-admin.post-type-portfolio .is-root-container a:hover, .portfolio-single a:hover {
|
|
color: unset;
|
|
text-decoration-thickness: 1px;
|
|
}
|
|
|
|
.wp-admin.post-type-portfolio .is-root-container p,
|
|
.wp-admin.post-type-portfolio .is-root-container span,
|
|
.portfolio-single p,
|
|
.portfolio-single span {
|
|
font-family: "Montserrat", sans-serif;
|
|
font-size: 0.75rem;
|
|
line-height: 1rem;
|
|
line-height: 1.625;
|
|
}
|
|
|
|
.wp-admin.post-type-portfolio .is-root-container strong, .portfolio-single strong{
|
|
font-weight: 600;
|
|
}
|
|
|
|
.wp-admin.post-type-portfolio .is-root-container__project-infos, .portfolio-single__project-infos {
|
|
border-bottom: 1px solid #3e3c3c;
|
|
display: flex;
|
|
list-style-type: none;
|
|
flex-wrap: wrap;
|
|
margin: 2rem calc(50% - 50vw);
|
|
max-width: 100vw;
|
|
width: 100vw;
|
|
}
|
|
|
|
.wp-admin.post-type-portfolio .block-editor-block-list__layout.is-root-container > :where(:not(.alignleft):not(.alignright):not(.wp-admin.post-type-portfolio .is-root-container__project-infos)),.wp-admin.post-type-portfolio .block-editor-block-list__layout.is-root-container > :where(:not(.alignleft):not(.alignright):not( .portfolio-single__project-infos)) {
|
|
}
|
|
|
|
.wp-admin.post-type-portfolio .is-root-container h2, .portfolio-single h2{
|
|
padding-bottom: 1.5rem;
|
|
line-height: 2.5rem;
|
|
font-weight: 700 !important;
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.chapter-section + .peertube-integration{
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.portfolio-archive{
|
|
padding-top: 8rem !important;
|
|
}
|
|
|
|
/* @apply bigCaslon; */
|
|
|
|
.portfolio-archive h1:before, .portfolio-archive h2:before, .portfolio-archive h3:before, .portfolio-archive h4:before, .portfolio-archive h5:before, .portfolio-archive h6:before, .old-projects h1:before, .old-projects h2:before, .old-projects h3:before, .old-projects h4:before, .old-projects h5:before, .old-projects h6:before{
|
|
--tw-content: none;
|
|
content: var(--tw-content);
|
|
}
|
|
|
|
.portfolio-archive p,
|
|
.portfolio-archive span,
|
|
.old-projects p,
|
|
.old-projects span {
|
|
font-family: "Montserrat", sans-serif;
|
|
font-size: 0.875rem;
|
|
line-height: 1.25rem;
|
|
line-height: 1.625;
|
|
}
|
|
|
|
.portfolio-archive strong, .old-projects strong{
|
|
font-weight: 600;
|
|
}
|
|
|
|
.portfolio-project-card{
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding-left: 3rem;
|
|
padding-right: 3rem;
|
|
padding-top: 8rem;
|
|
max-width: 1800px;
|
|
}
|
|
|
|
.portfolio-project-card__cover{
|
|
display: block;
|
|
overflow: hidden;
|
|
--tw-bg-opacity: 1;
|
|
background-color: rgb(245 245 245 / var(--tw-bg-opacity, 1));
|
|
/* &:hover {
|
|
img {
|
|
transform: scale(1.02);
|
|
}
|
|
} */
|
|
}
|
|
|
|
.portfolio-project-card__cover img{
|
|
width: 100%;
|
|
-o-object-fit: cover;
|
|
object-fit: cover;
|
|
-o-object-position: center;
|
|
object-position: center;
|
|
mix-blend-mode: multiply;
|
|
transition: transform 0.3s ease-in-out;
|
|
}
|
|
|
|
.portfolio-project-card--active .portfolio-project-card__cover:hover img {
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
.portfolio-project-card__details{
|
|
display: grid;
|
|
}
|
|
|
|
@media (min-width: 782px){
|
|
.portfolio-project-card__details{
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
.portfolio-project-card__details .client-name{
|
|
padding-top: 1rem;
|
|
font-weight: 400;
|
|
text-decoration-line: underline;
|
|
text-underline-offset: 4px;
|
|
font-family: "Montserrat", sans-serif;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.portfolio-project-card__details .excerpt{
|
|
padding-top: 1rem;
|
|
}
|
|
|
|
.portfolio-project-card__details .excerpt h3{
|
|
font-size: 1.25rem;
|
|
font-family: "Montserrat", sans-serif;
|
|
/* @apply bigCaslon text-4xl; */
|
|
/* @apply bigCaslon text-4xl; */
|
|
}
|
|
|
|
.portfolio-project-card__details .excerpt p{
|
|
margin-bottom: 0px;
|
|
padding-bottom: 0px;
|
|
font-size: 0.875rem;
|
|
line-height: 1.25rem;
|
|
--tw-text-opacity: 1;
|
|
color: rgb(115 115 115 / var(--tw-text-opacity, 1));
|
|
}
|
|
|
|
.portfolio-project-card__details .excerpt a{
|
|
--tw-text-opacity: 1;
|
|
color: rgb(115 115 115 / var(--tw-text-opacity, 1));
|
|
text-decoration: underline;
|
|
text-decoration-color: #999999;
|
|
transition: all 0.2s ease-in;
|
|
}
|
|
|
|
.portfolio-project-card__details .excerpt a:hover {
|
|
text-decoration: underline;
|
|
text-decoration-color: #000;
|
|
}
|
|
|
|
.portfolio-project-card__details .terms{
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.portfolio-project-card .cta--read-project{
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 0px;
|
|
display: block;
|
|
width: -moz-fit-content;
|
|
width: fit-content;
|
|
font-size: 0.875rem;
|
|
line-height: 1.25rem;
|
|
--tw-text-opacity: 1;
|
|
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 9999px;
|
|
--tw-bg-opacity: 1;
|
|
background-color: rgb(23 23 23 / var(--tw-bg-opacity, 1));
|
|
padding-top: 0.75rem;
|
|
padding-bottom: 0.75rem;
|
|
padding-left: 1.25rem;
|
|
padding-right: 1.25rem;
|
|
}
|
|
|
|
.portfolio-project-card .cta--read-project:hover{
|
|
padding-left: 1.5rem;
|
|
padding-right: 1.5rem;
|
|
}
|
|
|
|
.portfolio-project-card .cta--read-project {
|
|
box-sizing: content-box;
|
|
transition: all 0.3s ease-in-out;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* background-color: #34113F; */
|
|
|
|
/* background-color: #0033DA; */
|
|
|
|
.portfolio-project-card .cta--read-project span{
|
|
font-size: 0.75rem;
|
|
line-height: 1rem;
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
transition: all 0.4s ease-in-out;
|
|
margin-right: 0px;
|
|
}
|
|
|
|
.portfolio-project-card .cta--read-project img{
|
|
position: absolute;
|
|
right: 1.5rem;
|
|
height: 1.5rem;
|
|
width: 1.5rem;
|
|
--tw-translate-x: -2rem;
|
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
opacity: 0;
|
|
filter: invert(1);
|
|
}
|
|
|
|
.portfolio-project-card .cta--read-project:hover {
|
|
background-color: var(--hover-color);
|
|
}
|
|
|
|
/* background-color: #0033DA; */
|
|
|
|
/* @apply bg-deli-pink; */
|
|
|
|
.portfolio-project-card .cta--read-project:hover span{
|
|
margin-right: 2rem;
|
|
}
|
|
|
|
.portfolio-project-card .cta--read-project:hover img{
|
|
--tw-translate-x: 0px;
|
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
opacity: 1;
|
|
transition: opacity 0.6s ease-in-out, translate 0.4s ease-in-out;
|
|
}
|
|
|
|
/* $couleur = array(
|
|
'web' => '#1CC7C7',
|
|
'print' => '#C14FE3',
|
|
'motiondesign' => '#21D5F5',
|
|
'video' => '#21D5F5',
|
|
); */
|
|
|
|
.portfolio-header{
|
|
position: relative;
|
|
width: 100vw !important;
|
|
padding: 1.5rem;
|
|
box-sizing: border-box;
|
|
margin: 0 calc(50% - 50vw);
|
|
max-width: 100vw !important;
|
|
dispay: block;
|
|
}
|
|
|
|
.portfolio-header a {
|
|
color: var(--color-lol) !important;
|
|
text-decoration-line: underline;
|
|
text-underline-offset: 4px;
|
|
text-decoration-thickness: 1px;
|
|
}
|
|
|
|
.portfolio-header__cover{
|
|
position: absolute;
|
|
inset: 0px;
|
|
height: 100% !important;
|
|
width: 100%;
|
|
-o-object-fit: cover;
|
|
object-fit: cover;
|
|
z-index: -1;
|
|
}
|
|
|
|
.portfolio-header__content{
|
|
position: relative;
|
|
z-index: 10;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 80vh;
|
|
}
|
|
|
|
.portfolio-header__project-details{
|
|
margin-top: auto;
|
|
margin-bottom: auto;
|
|
font-size: 0.875rem;
|
|
line-height: 1.25rem;
|
|
}
|
|
|
|
.portfolio-header__heading-infos{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 0.75rem;
|
|
line-height: 1rem;
|
|
}
|
|
|
|
.portfolio-header__heading-infos .project-type{
|
|
margin-top: 0px;
|
|
margin-bottom: 0px;
|
|
line-height: 1.625;
|
|
}
|
|
|
|
.portfolio-header .client-logo{
|
|
position: relative;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: 3rem;
|
|
margin-bottom: 3rem;
|
|
display: block;
|
|
height: auto;
|
|
width: 18rem;
|
|
-o-object-fit: contain;
|
|
object-fit: contain;
|
|
-o-object-position: center;
|
|
object-position: center;
|
|
}
|
|
|
|
.portfolio-header__innerblocks{
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
max-width: 32rem;
|
|
border-radius: 0.5rem;
|
|
padding: 2rem;
|
|
text-align: center;
|
|
font-size: 0.875rem;
|
|
line-height: 1.25rem;
|
|
}
|
|
|
|
.gallery-website-screens{
|
|
width: 100vw;
|
|
--tw-bg-opacity: 1;
|
|
background-color: rgb(245 245 245 / var(--tw-bg-opacity, 1));
|
|
padding: 2.5rem;
|
|
}
|
|
|
|
.gallery-website-screens--padding-simple{
|
|
padding-top: 2.5rem;
|
|
padding-bottom: 2.5rem;
|
|
}
|
|
|
|
.gallery-website-screens--padding-double{
|
|
padding-top: 4rem;
|
|
padding-bottom: 4rem;
|
|
}
|
|
|
|
.gallery-website-screens{
|
|
margin: 0 calc(50% - 50vw);
|
|
}
|
|
|
|
.gallery-website-screens__screens-grid{
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
list-style-type: none;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
padding-left: 0px;
|
|
padding-right: 0px;
|
|
}
|
|
|
|
@media (min-width: 782px){
|
|
.gallery-website-screens__screens-grid{
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 960px){
|
|
.gallery-website-screens__screens-grid{
|
|
padding-left: 3rem;
|
|
padding-right: 3rem;
|
|
}
|
|
}
|
|
|
|
.gallery-website-screens__screens-grid.is-grid{
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
@media (min-width: 960px){
|
|
.gallery-website-screens__screens-grid.is-grid{
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
.gallery-website-screens__screens-grid.is-flex{
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.gallery-website-screens__screens-grid.is-flex img{
|
|
max-height: 24rem;
|
|
}
|
|
|
|
.gallery-website-screens__screens-grid.is-flex.height--small img{
|
|
max-height: 16rem;
|
|
}
|
|
|
|
.gallery-website-screens__screens-grid.is-flex.height--medium img{
|
|
max-height: 20rem;
|
|
}
|
|
|
|
.gallery-website-screens__screens-grid.is-flex.height--big img{
|
|
max-height: 24rem;
|
|
}
|
|
|
|
@media (min-width: 782px){
|
|
.gallery-website-screens__screens-grid.is-mobile-capture{
|
|
gap: 1.5rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1280px){
|
|
.gallery-website-screens__screens-grid.is-mobile-capture{
|
|
gap: 3rem;
|
|
}
|
|
}
|
|
|
|
.gallery-website-screens__screens-grid.is-mobile-capture img{
|
|
max-width: 15rem;
|
|
border-radius: 0.75rem;
|
|
}
|
|
|
|
@media (min-width: 1280px){
|
|
.gallery-website-screens__screens-grid.is-mobile-capture img{
|
|
border-radius: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.gallery-website-screens__screens-grid .gallery-website-screens__single-screen img {
|
|
width: 100%;
|
|
/* Fixe la largeur max */
|
|
height: 100%;
|
|
/* Fixe la hauteur max */
|
|
/* max-height: 500px; Ajuste selon ton besoin */
|
|
-o-object-fit: cover;
|
|
object-fit: cover;
|
|
/* Évite les déformations */
|
|
}
|
|
|
|
.gallery-website-screens__screens-grid{
|
|
max-width: 1800px;
|
|
}
|
|
|
|
.chapter-section{
|
|
margin-top: 0px !important;
|
|
margin-bottom: 0px !important;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 2rem;
|
|
padding-left: 3rem;
|
|
padding-right: 3rem;
|
|
}
|
|
|
|
@media (min-width: 1440px){
|
|
.chapter-section{
|
|
gap: 3rem;
|
|
}
|
|
}
|
|
|
|
.chapter-section {
|
|
/* min-height: 80vh; */
|
|
}
|
|
|
|
@media (min-width: 1280px){
|
|
.chapter-section{
|
|
padding-top: 8rem;
|
|
}
|
|
}
|
|
|
|
.chapter-section{
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
/* & + *:not(.simple-screen) {
|
|
@apply xl:mt-32;
|
|
} */
|
|
|
|
.chapter-section--right{
|
|
flex-direction: row-reverse;
|
|
}
|
|
|
|
.chapter-section__content {
|
|
flex-shrink: 0;
|
|
max-width: 32rem;
|
|
}
|
|
|
|
.chapter-section__content p{
|
|
max-width: 24rem;
|
|
--tw-text-opacity: 1;
|
|
color: rgb(82 82 82 / var(--tw-text-opacity, 1));
|
|
}
|
|
|
|
/* @apply max-w-xl; */
|
|
|
|
.chapter-section__innerblocks p {
|
|
}
|
|
|
|
.chapter-section__cover{
|
|
-o-object-fit: contain;
|
|
object-fit: contain;
|
|
min-width: 0;
|
|
flex-shrink: 1;
|
|
max-width: 100%;
|
|
/* Empêche de dépasser son conteneur */
|
|
display: block;
|
|
}
|
|
|
|
.chapter-section__cover--large{
|
|
height: 24rem !important;
|
|
}
|
|
|
|
.chapter-section__cover--grande{
|
|
height: 20rem !important;
|
|
}
|
|
|
|
.chapter-section__cover--medium{
|
|
height: 16rem !important;
|
|
}
|
|
|
|
.chapter-section__cover--small{
|
|
height: 3rem !important;
|
|
}
|
|
|
|
.simple-screen{
|
|
margin-top: 0px;
|
|
margin-bottom: 0px;
|
|
margin: 2rem calc(50% - 50vw);
|
|
max-width: 100vw;
|
|
width: 100vw;
|
|
}
|
|
|
|
.wp-admin.post-type-portfolio .block-editor-block-list__layout.is-root-container > :where(:not(.alignleft):not(.alignright):not(.simple-screen)) {
|
|
}
|
|
|
|
.simple-screen img{
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.simple-screen--full img{
|
|
height: auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.simple-screen--large{
|
|
padding: 6rem;
|
|
}
|
|
|
|
.simple-screen--large img{
|
|
height: auto;
|
|
width: 100%;
|
|
max-width: 1440px;
|
|
}
|
|
|
|
.simple-screen--white{
|
|
padding-top: 0px;
|
|
padding-bottom: 0px;
|
|
}
|
|
|
|
.peertube-integration{
|
|
display: flex;
|
|
width: 100%;
|
|
--tw-bg-opacity: 1;
|
|
background-color: rgb(245 245 245 / var(--tw-bg-opacity, 1));
|
|
padding-left: 2rem;
|
|
padding-right: 2rem;
|
|
padding-top: 3rem;
|
|
padding-bottom: 3rem;
|
|
}
|
|
|
|
@media (min-width: 782px){
|
|
.peertube-integration{
|
|
padding-left: 3rem;
|
|
padding-right: 3rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1280px){
|
|
.peertube-integration{
|
|
padding-left: 6rem;
|
|
padding-right: 6rem;
|
|
}
|
|
}
|
|
|
|
.peertube-integration iframe{
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
@media (min-width: 960px){
|
|
.peertube-integration iframe{
|
|
max-width: 80vw;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1280px){
|
|
.peertube-integration iframe{
|
|
max-width: 60vw;
|
|
}
|
|
}
|
|
|
|
.peertube-integration iframe {
|
|
width: 100%;
|
|
height: auto;
|
|
aspect-ratio: 16/9;
|
|
}
|
|
|
|
.case-button{
|
|
margin-top: 1.5rem;
|
|
display: block;
|
|
width: -moz-fit-content;
|
|
width: fit-content;
|
|
border-radius: 9999px;
|
|
--tw-bg-opacity: 1;
|
|
background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
|
|
padding-left: 1.5rem;
|
|
padding-right: 1.5rem;
|
|
padding-top: 0.5rem;
|
|
padding-bottom: 0.5rem;
|
|
--tw-text-opacity: 1;
|
|
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
transition: transform 0.3s ease-in-out;
|
|
text-decoration: none !important ;
|
|
}
|
|
|
|
.case-button:hover {
|
|
transform: translateX(2px);
|
|
}
|
|
|
|
.project-type--print .case-button{
|
|
--tw-bg-opacity: 1;
|
|
background-color: rgb(193 79 227 / var(--tw-bg-opacity, 1));
|
|
}
|
|
|
|
.project-type--video .case-button, .project-type--web .case-button{
|
|
--tw-bg-opacity: 1;
|
|
background-color: rgb(28 199 199 / var(--tw-bg-opacity, 1));
|
|
font-size: 0.875rem;
|
|
line-height: 1.25rem;
|
|
--tw-text-opacity: 1 !important;
|
|
color: rgb(255 255 255 / var(--tw-text-opacity, 1)) !important;
|
|
font-family: "Montserrat", sans-serif;
|
|
font-weight: 600;
|
|
}
|
|
|
|
body,
|
|
* {
|
|
/* @apply !bg-red-500; */
|
|
}
|
|
|
|
.test {
|
|
background-color: red;
|
|
}
|