ajsutement css bandeau actu home
This commit is contained in:
@@ -302,11 +302,19 @@ a {
|
||||
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite div:first-child :nth-child(5) {
|
||||
order: 3; }
|
||||
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite .field--name-field-images .field__item img {
|
||||
width: 70%;
|
||||
height: fit-content; }
|
||||
max-width: 70%;
|
||||
height: fit-content;
|
||||
max-height: 200px;
|
||||
object-fit: contain; }
|
||||
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite .field--name-field-images::after {
|
||||
display: block;
|
||||
content: url('data:image/svg+xml,<svg width="160" height="40" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="0" x2="80" y1="20" y2="20" stroke-linecap="cube" stroke="white" stroke-width="5"/></svg>'); }
|
||||
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite time {
|
||||
padding-right: 1rem;
|
||||
width: fit-content; }
|
||||
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite time:after {
|
||||
padding-left: 0.5rem;
|
||||
content: "|"; }
|
||||
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite .field:not(.field--name-field-images) {
|
||||
width: 100%; }
|
||||
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite h2 {
|
||||
@@ -317,7 +325,8 @@ a {
|
||||
padding-top: none !important;
|
||||
list-style: none;
|
||||
width: fit-content;
|
||||
align-self: flex-end; }
|
||||
align-self: flex-end;
|
||||
padding-right: 1rem; }
|
||||
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite .inline.links a {
|
||||
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>'); }
|
||||
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite .field--name-field-actu-type {
|
||||
@@ -384,6 +393,7 @@ a {
|
||||
flex: 1 1 50px;
|
||||
padding-left: 1rem; }
|
||||
.view-display-id-block_2:is(.view-id-home_nodes) .node-type-static .field--name-field-accroche p {
|
||||
background-color: white;
|
||||
font-size: 1.5rem;
|
||||
width: 110%;
|
||||
margin-bottom: 2rem;
|
||||
|
||||
@@ -100,14 +100,24 @@
|
||||
}
|
||||
.field--name-field-images {
|
||||
.field__item img{
|
||||
width: 70%;
|
||||
max-width: 70%;
|
||||
height: fit-content;
|
||||
max-height: 200px;
|
||||
object-fit: contain;
|
||||
}
|
||||
&::after{
|
||||
display: block;
|
||||
content:url('data:image/svg+xml,<svg width="160" height="40" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="0" x2="80" y1="20" y2="20" stroke-linecap="cube" stroke="white" stroke-width="5"/></svg>');
|
||||
}
|
||||
}
|
||||
time{
|
||||
padding-right: 1rem;
|
||||
width: fit-content;
|
||||
&:after{
|
||||
padding-left: 0.5rem;
|
||||
content: "|";}
|
||||
}
|
||||
|
||||
.field:not(.field--name-field-images){
|
||||
width: 100%;
|
||||
}
|
||||
@@ -119,7 +129,7 @@
|
||||
list-style: none;
|
||||
width: fit-content;
|
||||
align-self: flex-end;
|
||||
|
||||
padding-right: 1rem;
|
||||
a{
|
||||
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>');
|
||||
}
|
||||
@@ -225,6 +235,7 @@
|
||||
// grid-column: 4 / 9;
|
||||
padding-left: 1rem;
|
||||
p{
|
||||
background-color: $white;
|
||||
font-size: 1.5rem;
|
||||
width: 110%;
|
||||
margin-bottom: 2rem;
|
||||
|
||||
@@ -3,9 +3,7 @@
|
||||
.layout__region--top{ //bandeau titre page static
|
||||
padding-bottom: 3rem;
|
||||
height: 300px;
|
||||
.block-region-top{
|
||||
|
||||
}
|
||||
|
||||
.block-entity-fieldnodetitle{
|
||||
width: fit-content;
|
||||
margin-left: 13%;
|
||||
|
||||
Reference in New Issue
Block a user