css page 1 actu

This commit is contained in:
2021-12-23 18:24:50 +01:00
parent 6d1b2cb5b5
commit b0cd881797
2 changed files with 69 additions and 44 deletions
+28 -21
View File
@@ -738,35 +738,35 @@ a {
object-fit: cover; } object-fit: cover; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first {
display: flex;
justify-content: end;
margin-top: 18rem; } margin-top: 18rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-entity-fieldnodefield-textes { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-region-first {
display: flex; display: flex;
width: 50%; justify-content: end; }
background-color: white; .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-region-first .block-entity-fieldnodefield-textes {
padding-right: 2rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-entity-fieldnodefield-textes .field--name-field-titre {
display: flex; display: flex;
font-size: 1rem; justify-content: end;
font-weight: 1000; width: 50%;
color: #09398b; background-color: white;
border-bottom: 1px solid #009ee3; padding-right: 2rem; }
padding-bottom: 0.5rem; .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-region-first .block-entity-fieldnodefield-textes .field--name-field-titre {
padding-right: 1rem; display: flex;
margin-top: 2rem; font-size: 1rem;
margin-bottom: 0.8rem; } font-weight: 1000;
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-entity-fieldnodefield-textes .field--name-field-titre:hover { color: #09398b;
text-decoration: underline; } border-bottom: 1px solid #009ee3;
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-entity-fieldnodefield-textes a.ext { padding-bottom: 0.5rem;
color: black; padding-right: 1rem;
text-decoration: underline; } margin-bottom: 0.8rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-region-first .block-entity-fieldnodefield-textes .field--name-field-titre:hover {
text-decoration: underline; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second {
flex: 0 1 50%; flex: 0 1 50%;
margin-top: 18rem; } margin-top: 18rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second {
width: 90%; } width: 90%; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodebody p {
margin-top: 0; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes {
background-color: white; } background-color: white; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes .field--name-field-titre { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes .field--name-field-titre {
@@ -774,7 +774,9 @@ a {
font-weight: 1000; font-weight: 1000;
font-family: 'Source Code Pro'; font-family: 'Source Code Pro';
color: #09398b; color: #09398b;
text-transform: uppercase; } text-transform: uppercase;
margin-top: 2rem;
margin-bottom: 0.8rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes h4 { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes h4 {
text-transform: none !important; } text-transform: none !important; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes h4 img { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes h4 img {
@@ -784,6 +786,11 @@ a {
padding-right: 2rem; } padding-right: 2rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes p { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes p {
margin-top: 0; } margin-top: 0; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes a {
color: black;
text-decoration: underline; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes a svg {
display: none; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .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; }
@@ -67,35 +67,38 @@
} }
} }
.layout__region--first{ .layout__region--first{
display: flex;
justify-content: end;
margin-top: 18rem; margin-top: 18rem;
.block-entity-fieldnodefield-textes{
.block-region-first{
display: flex; display: flex;
width: 50%; justify-content: end;
background-color: $white; .block-entity-fieldnodefield-textes{
padding-right: 2rem;
.field--name-field-titre{
display: flex; display: flex;
font-size: 1rem; justify-content: end;
font-weight: 1000; width: 50%;
color: $blue-dark; background-color: $white;
border-bottom: 1px solid $blue-light; padding-right: 2rem;
padding-bottom: 0.5rem;
padding-right: 1rem; .field--name-field-titre{
margin-top: 2rem; display: flex;
margin-bottom: 0.8rem; font-size: 1rem;
font-weight: 1000;
&:hover{ color: $blue-dark;
text-decoration: underline; border-bottom: 1px solid $blue-light;
padding-bottom: 0.5rem;
padding-right: 1rem;
// margin-top: 2rem;
margin-bottom: 0.8rem;
&:hover{
text-decoration: underline;
}
} }
}
a.ext{
color: $black;
text-decoration: underline;
} }
} }
} }
.layout__region--second{ .layout__region--second{
// grid-row: 3; // grid-row: 3;
@@ -103,6 +106,11 @@
margin-top: 18rem; margin-top: 18rem;
.block-region-second{ .block-region-second{
width: 90%; width: 90%;
.block-entity-fieldnodebody{
p{
margin-top: 0;
}
}
.block-entity-fieldnodefield-textes{ .block-entity-fieldnodefield-textes{
background-color: $white; background-color: $white;
@@ -112,6 +120,8 @@
font-family: 'Source Code Pro'; font-family: 'Source Code Pro';
color: $blue-dark; color: $blue-dark;
text-transform: uppercase; text-transform: uppercase;
margin-top: 2rem;
margin-bottom: 0.8rem;
} }
h4{ h4{
text-transform: none !important; text-transform: none !important;
@@ -127,6 +137,14 @@
p{ p{
margin-top: 0; margin-top: 0;
} }
a{
color: $black;
text-decoration: underline;
svg{
display: none;
}
}
} }
.block-entity-fieldnodebody{ .block-entity-fieldnodebody{