background home

This commit is contained in:
2021-11-29 11:26:18 +01:00
parent e2a1fb3fc4
commit 016c9ac5c8
3 changed files with 23 additions and 13 deletions
+8 -3
View File
@@ -36,7 +36,9 @@
}
}
.field--name-field-accroche{
display: none;
}
.field--name-title{
grid-column: 2;
h2{
@@ -185,9 +187,12 @@
.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" width="100%" 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('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{