background home

This commit is contained in:
2021-12-02 21:11:50 +01:00
parent 7ef559fa24
commit 506fd93998
3 changed files with 161 additions and 17 deletions
+19 -7
View File
@@ -1,4 +1,5 @@
.path-frontpage{
.block-region-content{
display: grid;
grid-template-areas: "presentation presentation presentation presentation presentation presentation"
@@ -16,8 +17,11 @@
.block-views-blockhome-nodes-block-1{
grid-area: presentation;
grid-row: 1;
background: url("../images/pictos/forme_home.svg");
background-size: 100vw;
background: url("../images/pictos/forme_home_2.svg");
background-size: 75%;
background-position-y: bottom;
background-position-x: left;
background-repeat: no-repeat;
.node-type-static{
div:first-child{
display: grid;
@@ -31,30 +35,38 @@
grid-column: 2 /span 3;
grid-row: 2 / span 2;
font-size: 5rem;
text-decoration: underline;
// background-color: $white;
font-weight: 900;
color: $blue-light;
line-height: 6rem;
margin-top: 6rem;
margin-bottom: 5rem;
width: fit-content;
p{
// display: table;
// margin: 0px auto 0px auto;
display: inline-block;
margin: 0px auto 0px auto;
background-color: $white;
}
}
.field--name-title{
grid-column: 4;
grid-row: 1;
margin-top: 2rem;
grid-row: 2;
margin-top: 4rem;
h2{
background-color: $white;
a{
color: #e1000f;
font-weight: 900;
text-transform: uppercase;
font-family: "Source Code Pro";
display: table;
margin: 0px auto 0px auto;
background-color: $white;
// background-color: $white;
}
}
}