made blabla article lightbox display for video and images
This commit is contained in:
@ -547,7 +547,10 @@ article.node--type-frontpage{
|
||||
article.card{
|
||||
position: relative;
|
||||
box-shadow: 0 0 5px rgba(0,0,0,0.2);
|
||||
width:$column_width*2 + $column_goutiere; height:$card_height;
|
||||
width:$column_width; height:$card_height;
|
||||
&.article{
|
||||
width:$column_width*2 + $column_goutiere; height:$card_height;
|
||||
}
|
||||
// &.card-small{
|
||||
// width:100px; height:140px;
|
||||
// }
|
||||
@ -649,34 +652,43 @@ article.card{
|
||||
padding:0 0.5em 0 0;
|
||||
}
|
||||
}
|
||||
section.videos{
|
||||
ul{
|
||||
margin:0; padding:0;
|
||||
li{
|
||||
margin:0; padding:0;
|
||||
display: inline-block;
|
||||
width:100%; overflow: hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
section.visuels{
|
||||
width:calc(100% + #{$column_goutiere});
|
||||
figure{
|
||||
position: relative;
|
||||
div.gallery-wrapper{
|
||||
.image{
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
width:$column_width*2 + $column_goutiere;
|
||||
width:$column_width;
|
||||
margin:0 $column_goutiere $column_goutiere*0.6 0;
|
||||
img{
|
||||
width:100%;
|
||||
}
|
||||
caption{
|
||||
position: absolute; bottom: 0; left:0;
|
||||
box-sizing: border-box; width: 100%; padding:0.5em;
|
||||
background-color: $transparent-bg-blk; color: #fff;
|
||||
}
|
||||
height:$card_height / 2;
|
||||
background-size: cover;
|
||||
}
|
||||
}
|
||||
// section.videos{
|
||||
// ul{
|
||||
// margin:0; padding:0;
|
||||
// li{
|
||||
// margin:0; padding:0;
|
||||
// display: inline-block;
|
||||
// width:100%; overflow: hidden;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// section.visuels{
|
||||
// width:calc(100% + #{$column_goutiere});
|
||||
// figure{
|
||||
// position: relative;
|
||||
// display: inline-block;
|
||||
// vertical-align: top;
|
||||
// width:$column_width*2 + $column_goutiere;
|
||||
// margin:0 $column_goutiere $column_goutiere*0.6 0;
|
||||
// img{
|
||||
// width:100%;
|
||||
// }
|
||||
// caption{
|
||||
// position: absolute; bottom: 0; left:0;
|
||||
// box-sizing: border-box; width: 100%; padding:0.5em;
|
||||
// background-color: $transparent-bg-blk; color: #fff;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
aside.linked-materials{
|
||||
ul{
|
||||
width:calc(100% + #{$column_goutiere});
|
||||
|
Reference in New Issue
Block a user