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
@@ -269,6 +269,9 @@ a {
.block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-images img {
height: auto; }
.block-views-blockhome-nodes-block-1 .field--name-field-accroche {
display: none; }
.block-views-blockhome-nodes-block-1 .field--name-title {
grid-column: 2; }
.block-views-blockhome-nodes-block-1 .field--name-title h2 {
@@ -378,8 +381,10 @@ a {
.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-repeat: no-repeat; }
background: url("../images/pictos/carre-contour-bleu.svg");
background-repeat: no-repeat;
max-width: 100vw;
background-size: cover; }
.view-display-id-block_2:is(.view-id-home_nodes) .node-type-static {
width: 70%;
margin: auto; }
@@ -24,8 +24,8 @@
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="0.56123737"
inkscape:cx="1027.1946"
inkscape:cy="888.21597"
inkscape:cx="777.74579"
inkscape:cy="558.58718"
inkscape:window-width="1920"
inkscape:window-height="1015"
inkscape:window-x="0"
@@ -45,12 +45,12 @@
id="layer1"
transform="translate(101.77008,91.729773)">
<rect
style="fill:none;stroke:#009ee3;stroke-width:1;stroke-miterlimit:10"
style="fill:none;stroke:#009ee3;stroke-width:0.923256;stroke-miterlimit:10"
id="rect846"
width="301.27219"
height="301.27219"
x="6.5422697"
y="-115.71222"
transform="rotate(35)" />
width="278.15143"
height="278.15143"
x="-41.242222"
y="-216.25394"
transform="rotate(37.400703)" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

+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{