grille 3e bandeau home
This commit is contained in:
@@ -277,7 +277,9 @@ a {
|
|||||||
line-height: 6rem;
|
line-height: 6rem;
|
||||||
margin-bottom: 5rem; }
|
margin-bottom: 5rem; }
|
||||||
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-accroche p {
|
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-accroche p {
|
||||||
margin: 0; }
|
display: table;
|
||||||
|
margin: 0px auto 0px auto;
|
||||||
|
background-color: white; }
|
||||||
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-title {
|
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-title {
|
||||||
grid-column: 4;
|
grid-column: 4;
|
||||||
grid-row: 1;
|
grid-row: 1;
|
||||||
@@ -285,7 +287,10 @@ a {
|
|||||||
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-title h2 a {
|
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-title h2 a {
|
||||||
color: #e1000f;
|
color: #e1000f;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
text-transform: uppercase; }
|
text-transform: uppercase;
|
||||||
|
display: table;
|
||||||
|
margin: 0px auto 0px auto;
|
||||||
|
background-color: white; }
|
||||||
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .links.inline {
|
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .links.inline {
|
||||||
grid-column: 2;
|
grid-column: 2;
|
||||||
grid-row: 4;
|
grid-row: 4;
|
||||||
@@ -455,12 +460,14 @@ a {
|
|||||||
width: 70%;
|
width: 70%;
|
||||||
margin: auto; }
|
margin: auto; }
|
||||||
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static div:first-child:not(.field__item):not(.field) {
|
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static div:first-child:not(.field__item):not(.field) {
|
||||||
display: grid;
|
display: flex;
|
||||||
grid-template-columns: 1fr repeat(4, 2fr) 1fr;
|
flex-direction: row;
|
||||||
grid-template-rows: 1fr 1fr 1fr 0.5fr 1fr 1fr; }
|
flex-wrap: wrap; }
|
||||||
|
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static div:first-child:not(.field__item):not(.field) :nth-child(4) {
|
||||||
|
order: 3; }
|
||||||
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .inline.links {
|
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .inline.links {
|
||||||
grid-row: 3;
|
z-index: 95;
|
||||||
grid-column: 5 / span 6;
|
align-self: flex-end;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
padding: 0.4rem 1rem;
|
padding: 0.4rem 1rem;
|
||||||
@@ -468,26 +475,20 @@ a {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
border: 2px solid #009ee3;
|
border: 2px solid #009ee3;
|
||||||
list-style: none;
|
list-style: none; }
|
||||||
align-self: end; }
|
|
||||||
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .inline.links a {
|
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .inline.links a {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #009ee3; }
|
color: #009ee3; }
|
||||||
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .inline.links a:after {
|
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .inline.links a:after {
|
||||||
content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>'); }
|
content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>'); }
|
||||||
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .field--name-field-images {
|
|
||||||
grid-column: 1;
|
|
||||||
grid-row: 1;
|
|
||||||
width: fit-content; }
|
|
||||||
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .field--name-field-images .field__item img {
|
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .field--name-field-images .field__item img {
|
||||||
width: 15rem;
|
width: 15rem;
|
||||||
height: auto; }
|
height: auto; }
|
||||||
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .field--name-title {
|
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .field--name-title {
|
||||||
display: none; }
|
display: none; }
|
||||||
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .field--name-field-accroche {
|
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .field--name-field-accroche {
|
||||||
grid-column: 2 / 6;
|
flex: 1 1 50px;
|
||||||
grid-row: 1 /span 3;
|
|
||||||
padding-left: 1rem; }
|
padding-left: 1rem; }
|
||||||
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .field--name-field-accroche p {
|
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .field--name-field-accroche p {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
@@ -497,9 +498,9 @@ a {
|
|||||||
padding-bottom: 2rem;
|
padding-bottom: 2rem;
|
||||||
margin-block-start: 0; }
|
margin-block-start: 0; }
|
||||||
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .field--name-field-videos {
|
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-2 .view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .field--name-field-videos {
|
||||||
grid-column: 1 / span 5;
|
flex: 0 0 80%;
|
||||||
grid-row: 5 / span 6;
|
padding-top: 4rem;
|
||||||
height: fit-content; }
|
margin: auto; }
|
||||||
|
|
||||||
.node-id-20 {
|
.node-id-20 {
|
||||||
background: url("../images/pictos/carre-contour-bleu_partenaire.svg");
|
background: url("../images/pictos/carre-contour-bleu_partenaire.svg");
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
display: grid;
|
display: grid;
|
||||||
grid-template-areas: "presentation presentation presentation presentation presentation presentation"
|
grid-template-areas: "presentation presentation presentation presentation presentation presentation"
|
||||||
"presentation presentation presentation presentation presentation presentation"
|
"presentation presentation presentation presentation presentation presentation"
|
||||||
// "presentation presentation presentation presentation presentation presentation"
|
|
||||||
"actus actus actus actus actus actus"
|
"actus actus actus actus actus actus"
|
||||||
"actus actus actus actus actus actus"
|
"actus actus actus actus actus actus"
|
||||||
"programme programme programme programme programme programme"
|
"programme programme programme programme programme programme"
|
||||||
@@ -22,22 +21,11 @@
|
|||||||
.node-type-static{
|
.node-type-static{
|
||||||
div:first-child{
|
div:first-child{
|
||||||
display: grid;
|
display: grid;
|
||||||
// flex-direction: column;
|
|
||||||
grid-template-columns: 1fr repeat(4, 2fr) 1fr;
|
grid-template-columns: 1fr repeat(4, 2fr) 1fr;
|
||||||
grid-template-rows: repeat(4, auto);
|
grid-template-rows: repeat(4, auto);
|
||||||
.field--name-field-images{
|
.field--name-field-images{
|
||||||
display: none;
|
display: none;
|
||||||
// z-index: -99;
|
|
||||||
// filter: grayscale(100%);
|
|
||||||
// filter: brightness(0%);
|
|
||||||
// opacity: 0.5;
|
|
||||||
// // display: none;
|
|
||||||
// grid-column: 1 /span 10;
|
|
||||||
// grid-row: 1 / span 4;
|
|
||||||
// img{
|
|
||||||
// width: 100vw;
|
|
||||||
// height: auto;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
.field--name-field-accroche{
|
.field--name-field-accroche{
|
||||||
grid-column: 2 /span 3;
|
grid-column: 2 /span 3;
|
||||||
@@ -48,7 +36,9 @@
|
|||||||
line-height: 6rem;
|
line-height: 6rem;
|
||||||
margin-bottom: 5rem;
|
margin-bottom: 5rem;
|
||||||
p{
|
p{
|
||||||
margin: 0;
|
display: table;
|
||||||
|
margin: 0px auto 0px auto;
|
||||||
|
background-color: $white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.field--name-title{
|
.field--name-title{
|
||||||
@@ -61,6 +51,9 @@
|
|||||||
color: #e1000f;
|
color: #e1000f;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
display: table;
|
||||||
|
margin: 0px auto 0px auto;
|
||||||
|
background-color: $white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -275,9 +268,12 @@
|
|||||||
// présentation programme
|
// présentation programme
|
||||||
.block-views-blockhome-nodes-block-2{
|
.block-views-blockhome-nodes-block-2{
|
||||||
grid-area: programme;
|
grid-area: programme;
|
||||||
|
|
||||||
.view-display-id-block_2:is(.view-id-home_nodes){
|
.view-display-id-block_2:is(.view-id-home_nodes){
|
||||||
padding-top: 2rem;
|
padding-top: 2rem;
|
||||||
|
// background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" version="1.1"><rect x="0" y="0" width="80" height="80" transform="rotate(35) translate(430, -800) scale(15)" fill="none" stroke="rgb(0,158,227)" stroke-width="0.4px"/></svg>');
|
||||||
background: url('../images/pictos/carre-contour-bleu.svg');
|
background: url('../images/pictos/carre-contour-bleu.svg');
|
||||||
|
// background-position-y: 50%;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
max-width: 100vw;
|
max-width: 100vw;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
@@ -286,16 +282,16 @@
|
|||||||
.node-type-static{
|
.node-type-static{
|
||||||
width: 70%;
|
width: 70%;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
|
||||||
div:first-child:not(.field__item):not(.field){
|
div:first-child:not(.field__item):not(.field){
|
||||||
display: grid;
|
display: flex;
|
||||||
grid-template-columns: 1fr repeat(4, 2fr) 1fr;
|
flex-direction: row;
|
||||||
grid-template-rows: 1fr 1fr 1fr 0.5fr 1fr 1fr;
|
flex-wrap: wrap;
|
||||||
|
:nth-child(4) { order: 3; }
|
||||||
}
|
}
|
||||||
|
|
||||||
.inline.links{
|
.inline.links{
|
||||||
grid-row: 3;
|
z-index: 95;
|
||||||
grid-column: 5 / span 6;
|
align-self: flex-end;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
padding: 0.4rem 1rem;
|
padding: 0.4rem 1rem;
|
||||||
@@ -304,7 +300,7 @@
|
|||||||
background-color: $white;
|
background-color: $white;
|
||||||
border: 2px solid $blue-light;
|
border: 2px solid $blue-light;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
align-self: end;
|
|
||||||
|
|
||||||
a{
|
a{
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
@@ -317,9 +313,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.field--name-field-images{
|
.field--name-field-images{
|
||||||
grid-column: 1;
|
// grid-column: 2 / 4;
|
||||||
grid-row: 1;
|
|
||||||
width: fit-content;
|
|
||||||
.field__item{
|
.field__item{
|
||||||
img{
|
img{
|
||||||
width: 15rem;
|
width: 15rem;
|
||||||
@@ -331,8 +325,8 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.field--name-field-accroche{
|
.field--name-field-accroche{
|
||||||
grid-column: 2 / 6;
|
flex: 1 1 50px;
|
||||||
grid-row: 1 /span 3;
|
// grid-column: 4 / 9;
|
||||||
padding-left: 1rem;
|
padding-left: 1rem;
|
||||||
p{
|
p{
|
||||||
background-color: $white;
|
background-color: $white;
|
||||||
@@ -345,10 +339,9 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
.field--name-field-videos{
|
.field--name-field-videos{
|
||||||
|
flex: 0 0 80%;
|
||||||
grid-column: 1 / span 5;
|
padding-top: 4rem;
|
||||||
grid-row: 5 / span 6;
|
margin: auto;
|
||||||
height: fit-content;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user