accroche programme home férré gauche
This commit is contained in:
@@ -626,9 +626,9 @@ a {
|
||||
background-color: white;
|
||||
font-size: 1.5rem;
|
||||
width: 110%;
|
||||
margin-bottom: 2rem;
|
||||
padding-bottom: 2rem;
|
||||
margin-block-start: 0; }
|
||||
margin-block-start: 0;
|
||||
text-align: start !important; }
|
||||
.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 {
|
||||
flex: 0 0 80%;
|
||||
padding-top: 4rem;
|
||||
|
||||
@@ -339,83 +339,83 @@
|
||||
.block-views-blockhome-nodes-block-2{
|
||||
grid-area: programme;
|
||||
|
||||
.view-display-id-block_2:is(.view-id-home_nodes){
|
||||
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-position-y: 50%;
|
||||
background-repeat: no-repeat;
|
||||
max-width: 100vw;
|
||||
background-size: cover;
|
||||
.view-display-id-block_2:is(.view-id-home_nodes){
|
||||
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-position-y: 50%;
|
||||
background-repeat: no-repeat;
|
||||
max-width: 100vw;
|
||||
background-size: cover;
|
||||
|
||||
|
||||
.node-type-static{
|
||||
width: 70%;
|
||||
margin: auto;
|
||||
div:first-child:not(.field__item):not(.field){
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
:nth-child(4) { order: 3; }
|
||||
}
|
||||
|
||||
.inline.links{
|
||||
z-index: 95;
|
||||
align-self: flex-end;
|
||||
width: fit-content;
|
||||
height: fit-content;
|
||||
padding: 0.4rem 1rem;
|
||||
font-size: 0.8rem;
|
||||
margin: 0;
|
||||
background-color: $white;
|
||||
border: 2px solid $blue-light;
|
||||
list-style: none;
|
||||
|
||||
|
||||
a{
|
||||
text-transform: uppercase;
|
||||
font-weight: 700;
|
||||
color: $blue-light;
|
||||
&:after{
|
||||
// display: block;
|
||||
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>');
|
||||
|
||||
.node-type-static{
|
||||
width: 70%;
|
||||
margin: auto;
|
||||
div:first-child:not(.field__item):not(.field){
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
:nth-child(4) { order: 3; }
|
||||
}
|
||||
}
|
||||
}
|
||||
.field--name-field-images{
|
||||
// grid-column: 2 / 4;
|
||||
.field__item{
|
||||
img{
|
||||
width: 15rem;
|
||||
height: auto;
|
||||
|
||||
.inline.links{
|
||||
z-index: 95;
|
||||
align-self: flex-end;
|
||||
width: fit-content;
|
||||
height: fit-content;
|
||||
padding: 0.4rem 1rem;
|
||||
font-size: 0.8rem;
|
||||
margin: 0;
|
||||
background-color: $white;
|
||||
border: 2px solid $blue-light;
|
||||
list-style: none;
|
||||
|
||||
|
||||
a{
|
||||
text-transform: uppercase;
|
||||
font-weight: 700;
|
||||
color: $blue-light;
|
||||
&:after{
|
||||
// display: block;
|
||||
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>');
|
||||
}
|
||||
}
|
||||
}
|
||||
.field--name-field-images{
|
||||
// grid-column: 2 / 4;
|
||||
.field__item{
|
||||
img{
|
||||
width: 15rem;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
.field--name-title{
|
||||
display: none;
|
||||
}
|
||||
.field--name-field-accroche{
|
||||
flex: 1 1 50px;
|
||||
// grid-column: 4 / 9;
|
||||
padding-left: 1rem;
|
||||
p{
|
||||
background-color: $white;
|
||||
font-size: 1.5rem;
|
||||
width: 110%;
|
||||
padding-bottom: 2rem;
|
||||
margin-block-start: 0;
|
||||
text-align: start !important;
|
||||
}
|
||||
|
||||
}
|
||||
.field--name-field-videos{
|
||||
flex: 0 0 80%;
|
||||
padding-top: 4rem;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.field--name-title{
|
||||
display: none;
|
||||
}
|
||||
.field--name-field-accroche{
|
||||
flex: 1 1 50px;
|
||||
// grid-column: 4 / 9;
|
||||
padding-left: 1rem;
|
||||
p{
|
||||
background-color: $white;
|
||||
font-size: 1.5rem;
|
||||
width: 110%;
|
||||
margin-bottom: 2rem;
|
||||
padding-bottom: 2rem;
|
||||
margin-block-start: 0;
|
||||
}
|
||||
|
||||
}
|
||||
.field--name-field-videos{
|
||||
flex: 0 0 80%;
|
||||
padding-top: 4rem;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user