macaron dans home

This commit is contained in:
2022-01-28 14:09:20 +01:00
parent a747887595
commit 88f5392027
4 changed files with 124 additions and 14 deletions
+20 -5
View File
@@ -209,7 +209,7 @@ a {
justify-content: flex-end;
position: -webkit-sticky;
position: sticky;
top: 9rem; }
top: 10rem; }
@media (max-width: 810px) {
.path-node.page-node-type-static .layout-container .layout-content .layout__region--first .block-region-first {
display: none; } }
@@ -258,7 +258,10 @@ a {
margin-top: 1rem;
display: flex;
flex-direction: column;
width: 70%; }
width: 70%;
position: -webkit-sticky;
position: sticky;
top: 9rem; }
@media (max-width: 810px) {
.path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third {
margin: auto; } }
@@ -392,7 +395,19 @@ a {
grid-template-columns: 1fr repeat(4, 2fr) 1fr;
grid-template-rows: repeat(4, auto); }
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-images {
display: none; }
grid-column: 4 / span 6;
grid-row: 2; }
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-images .field__item {
display: block;
width: 400px;
height: 400px; }
@media (max-width: 1517px) {
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-images .field__item {
width: 300px;
height: 300px; } }
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-images .field__item img {
max-width: 100%;
max-height: 100%; }
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-accroche {
grid-column: 2 /span 3;
grid-row: 2 / span 2;
@@ -419,8 +434,8 @@ a {
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-accroche p {
margin-top: 0rem; } }
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-title {
grid-column: 4;
grid-row: 2;
grid-column: 2;
grid-row: 1 / span 2;
margin-top: 3rem; }
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-title h2 {
background-color: white; }