page actualite image

This commit is contained in:
2021-12-07 17:26:21 +01:00
parent e79b1827ec
commit 28204e510a
8 changed files with 149 additions and 78 deletions
+43 -22
View File
@@ -160,9 +160,6 @@ a {
width: fit-content; width: fit-content;
margin-left: 13%; margin-left: 13%;
margin-top: 15vh; } margin-top: 15vh; }
.layout__region--top .block-entity-fieldnodefield-images {
display: none;
height: inherit; }
.layout__region--first .block-region-first { .layout__region--first .block-region-first {
display: flex; display: flex;
@@ -321,7 +318,7 @@ a {
font-weight: 900; font-weight: 900;
color: #009ee3; color: #009ee3;
line-height: 7rem; line-height: 7rem;
margin-top: 6rem; margin-top: 1rem;
margin-bottom: 5rem; margin-bottom: 5rem;
width: fit-content; } width: fit-content; }
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-accroche span { .path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-accroche span {
@@ -427,7 +424,7 @@ a {
display: flex; display: flex;
justify-self: end; justify-self: end;
width: 50%; width: 50%;
margin-top: 14rem; } margin-top: 3rem; }
.path-frontpage .block-region-content .block-block-content7db64d87-3e22-4fbd-9c11-2b95f5bef695 .field--name-body { .path-frontpage .block-region-content .block-block-content7db64d87-3e22-4fbd-9c11-2b95f5bef695 .field--name-body {
justify-content: right; justify-content: right;
display: flex; display: flex;
@@ -622,37 +619,52 @@ a {
.field--name-field-partenaires a svg { .field--name-field-partenaires a svg {
display: none; } display: none; }
.path-node.page-node-type-actualite .layout__region--top { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top {
background-color: rgba(0, 158, 227, 0.2); } background-color: rgba(0, 158, 227, 0.2);
.path-node.page-node-type-actualite .layout__region--top .block-region-top { padding-right: 1rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top {
display: grid; display: grid;
grid-template-columns: 1fr repeat(4, 2fr) 1fr; grid-template-columns: 1fr repeat(8, 1fr) 1fr;
padding-top: 2rem; } padding-top: 2rem; }
.path-node.page-node-type-actualite .layout__region--top .block-region-top .block-entity-fieldnodefield-actu-type { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-entity-fieldnodefield-actu-type {
grid-column: 2; } grid-column: 2; }
.path-node.page-node-type-actualite .layout__region--top .block-region-top .block-entity-fieldnodetitle { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-entity-fieldnodetitle {
grid-column: 2 /span 6; grid-column: 2 /span 12;
margin: 0; } margin: 0; }
.path-node.page-node-type-actualite .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title {
font-family: "Source Code Pro"; font-family: "Source Code Pro";
font-size: 4rem; font-size: 3rem;
font-weight: 500; } font-weight: 500; }
.path-node.page-node-type-actualite .layout__region--top .block-region-top .block-entity-fieldnodefield-date { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-entity-fieldnodefield-date {
grid-column: 2; grid-column: 2;
text-transform: uppercase; text-transform: uppercase;
color: #09398b; color: #09398b;
font-size: 1.5rem; font-size: 1.2rem;
font-weight: 800; } font-weight: 800; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-entity-fieldnodefield-images {
grid-column-start: 5;
grid-column-end: 9; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-entity-fieldnodefield-images img {
padding-top: 2rem;
width: 600px;
max-height: 400px;
object-fit: cover; }
.layout__region--second { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first {
flex: 0 1 45%; } margin-top: 15rem; }
.layout__region--second .block-region-second {
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second {
flex: 0 1 50%;
margin-top: 15rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second {
width: 90%; } width: 90%; }
.layout__region--second .block-region-second .block-entity-fieldnodebody .panel-body #outputtext { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodebody .panel-body #outputtext {
overflow-y: visible !important; } overflow-y: visible !important; }
.layout__region--third .block-region-third { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third {
width: 65%; } margin-top: 15rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third {
width: 65%; }
.node-id-35 .region-content { .node-id-35 .region-content {
background: url("../images/pictos/carre-contour-bleu_gouvernance.svg"); background: url("../images/pictos/carre-contour-bleu_gouvernance.svg");
@@ -662,6 +674,9 @@ a {
.node-id-35 .layout__region--top { .node-id-35 .layout__region--top {
padding-bottom: 3rem; } padding-bottom: 3rem; }
.node-id-35 .layout__region--top .block-region-top .block-entity-fieldnodefield-images {
display: none;
height: inherit; }
.node-id-35 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title { .node-id-35 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title {
font-family: 'Source Code Pro'; font-family: 'Source Code Pro';
font-size: 2rem; font-size: 2rem;
@@ -678,6 +693,9 @@ a {
background-size: contain; } background-size: contain; }
.node-id-3 .layout__region--top { .node-id-3 .layout__region--top {
padding-bottom: 3rem; } padding-bottom: 3rem; }
.node-id-3 .layout__region--top .block-region-top .block-entity-fieldnodefield-images {
display: none;
height: inherit; }
.node-id-3 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title { .node-id-3 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title {
font-family: 'Source Code Pro'; font-family: 'Source Code Pro';
font-size: 2rem; font-size: 2rem;
@@ -760,6 +778,9 @@ a {
background-size: contain; } background-size: contain; }
.node-id-4 .layout__region--top { .node-id-4 .layout__region--top {
padding-bottom: 3rem; } padding-bottom: 3rem; }
.node-id-4 .layout__region--top .block-region-top .block-entity-fieldnodefield-images {
display: none;
height: inherit; }
.node-id-4 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title { .node-id-4 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title {
font-family: 'Source Code Pro'; font-family: 'Source Code Pro';
font-size: 2rem; font-size: 2rem;
@@ -1,57 +1,90 @@
.path-node.page-node-type-actualite{ .path-node.page-node-type-actualite{
.layout--threecol-25-50-25{
// display: grid;
// grid-template-rows: repeat(6, auto);
.layout__region--top{ .layout__region--top{
// grid-row: 1 / span 2;
background-color: $background-actus; background-color: $background-actus;
.block-region-top{ // height: fit-content;
display: grid; padding-right: 1rem;
grid-template-columns: 1fr repeat(4, 2fr) 1fr; .block-region-top{
padding-top: 2rem; // position: relative;
.block-entity-fieldnodefield-actu-type{ display: grid;
grid-template-columns: 1fr repeat(8, 1fr) 1fr;
padding-top: 2rem;
.block-entity-fieldnodefield-actu-type{
grid-column: 2;
}
.block-entity-fieldnodetitle{
grid-column: 2 /span 12;
margin: 0;
.field--name-title{
font-family: "Source Code Pro";
font-size: 3rem;
font-weight: 500;
}
}
.block-entity-fieldnodefield-date{
grid-column: 2;
text-transform: uppercase;
color: $blue-dark;
font-size: 1.2rem;
font-weight: 800;
}
.block-entity-fieldnodefield-images{
grid-column-start: 5;
grid-column-end: 9;
img{
padding-top: 2rem;
width: 600px;
// height: auto;
max-height: 400px;
object-fit: cover;
}
// position: relative;
// bottom: -50%;
}
grid-column: 2;
} }
}
.layout__region--first{
margin-top: 15rem;
}
.layout__region--second{
// grid-row: 3;
flex: 0 1 50%;
margin-top: 15rem;
.block-region-second{
width: 90%;
.block-entity-fieldnodebody{
.block-entity-fieldnodetitle{ .panel-body{
grid-column: 2 /span 6; #outputtext{
margin: 0; overflow-y: visible !important;
.field--name-title{ }
font-family: "Source Code Pro"; }
font-size: 4rem;
font-weight: 500;
} }
} }
.block-entity-fieldnodefield-date{ }
grid-column: 2;
text-transform: uppercase; .layout__region--third{
color: $blue-dark; // grid-row: 4;
font-size: 1.5rem; margin-top: 15rem;
font-weight: 800; .block-region-third{
width: 65%;
} }
} }
} }
}
.layout__region--second{
flex: 0 1 45%;
.block-region-second{
width: 90%;
.block-entity-fieldnodebody{
.panel-body{
#outputtext{
overflow-y: visible !important;
}
}
}
}
}
.layout__region--third{
.block-region-third{
width: 65%;
}
} }
@@ -9,6 +9,11 @@
.layout__region--top{ //bandeau titre page static .layout__region--top{ //bandeau titre page static
padding-bottom: 3rem; padding-bottom: 3rem;
.block-region-top{ .block-region-top{
.block-entity-fieldnodefield-images{
display: none;
height: inherit;
}
.block-entity-fieldnodetitle{ .block-entity-fieldnodetitle{
.field--name-title{ .field--name-title{
font-family: 'Source Code Pro'; font-family: 'Source Code Pro';
@@ -11,6 +11,11 @@
.layout__region--top{ //bandeau titre page static .layout__region--top{ //bandeau titre page static
padding-bottom: 3rem; padding-bottom: 3rem;
.block-region-top{ .block-region-top{
.block-entity-fieldnodefield-images{
display: none;
height: inherit;
}
.block-entity-fieldnodetitle{ .block-entity-fieldnodetitle{
.field--name-title{ .field--name-title{
font-family: 'Source Code Pro'; font-family: 'Source Code Pro';
+2 -2
View File
@@ -38,7 +38,7 @@
font-weight: 900; font-weight: 900;
color: $blue-light; color: $blue-light;
line-height: 7rem; line-height: 7rem;
margin-top: 6rem; margin-top: 1rem;
margin-bottom: 5rem; margin-bottom: 5rem;
width: fit-content; width: fit-content;
span { span {
@@ -184,7 +184,7 @@
display: flex; display: flex;
justify-self: end; justify-self: end;
width: 50%; width: 50%;
margin-top: 14rem; margin-top: 3rem;
.field--name-body{ .field--name-body{
justify-content: right; justify-content: right;
display: flex; display: flex;
@@ -9,6 +9,7 @@
.layout__region--top{ //bandeau titre page static .layout__region--top{ //bandeau titre page static
padding-bottom: 3rem; padding-bottom: 3rem;
.block-region-top{ .block-region-top{
.block-entity-fieldnodetitle{ .block-entity-fieldnodetitle{
.field--name-title{ .field--name-title{
font-family: 'Source Code Pro'; font-family: 'Source Code Pro';
@@ -8,7 +8,13 @@
.layout__region--top{ //bandeau titre page static .layout__region--top{ //bandeau titre page static
padding-bottom: 3rem; padding-bottom: 3rem;
.block-region-top{ .block-region-top{
.block-entity-fieldnodefield-images{
display: none;
height: inherit;
}
.block-entity-fieldnodetitle{ .block-entity-fieldnodetitle{
.field--name-title{ .field--name-title{
@@ -9,11 +9,11 @@
margin-left: 13%; margin-left: 13%;
margin-top: 15vh; margin-top: 15vh;
} }
.block-entity-fieldnodefield-images{ // .block-entity-fieldnodefield-images{
display: none; // display: none;
height: inherit; // height: inherit;
} // }
} }
.layout__region--first{ // menu ancres a gauche .layout__region--first{ // menu ancres a gauche