page actualitéS v0

This commit is contained in:
armansansd
2021-07-03 23:00:32 +02:00
parent e1e19caead
commit 42411dd490
8 changed files with 271 additions and 63 deletions
+25 -31
View File
@@ -200,15 +200,30 @@
margin-top: 1rem;
.views-row{
background-clip: content-box;
height: 8rem;
height: 13rem;
background-size: 70% !important;
width: 100%;
display: grid;
align-items: center;
padding: 1rem;
.views-field-title{
font-size: $font-medium;
font-weight: 600;
display: none;
}
&:hover{
.views-field-title{
display: none;
}
font-weight: 600;
display: block;
color: white;
text-align: center;
a{
text-decoration: none;
}
}
}
}
@@ -218,66 +233,45 @@
}
//
.views-field-title{
margin: 3rem;
}
// .views-field-title{
// margin: 3rem;
// }
.programme-2{
background: center / contain no-repeat url(../images/POPSU_1.svg);
.views-field-title{
font-size: 0;
}
&:hover{
background: $col-1;
}
}
.programme-2{
background: center / contain no-repeat url(../images/POPSU_2.svg);
.views-field-title{
font-size: 0;
}
&:hover{
background: $col-2;
}
}
.programme-3{
background: center / contain no-repeat url(../images/POPSU_Europe.svg);
.views-field-title{
font-size: 0;
}
&:hover{
background: $col-eur;
}
}
.programme-5{
background: center / contain no-repeat url(../images/POPSU_monde.svg);
.views-field-title{
font-size: 0;
}
&:hover{
background: $col-mond;
}
}
.programme-6{
background: center / contain no-repeat url(../images/POPSU_territoires.svg);
.views-field-title{
font-size: 0;
}
&:hover{
background: $col-ter;
}
}
.programme-7{
background: center / contain no-repeat url(../images/POPSU_metropoles.svg);
.views-field-title{
font-size: 0;
}
&:hover{
background: $col-met;
}