debug slide actus /home
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
+2
-18
@@ -2732,26 +2732,10 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
.block-views-blockactus-block-1 .view-id-actus .views-row {
|
|
||||||
width: 30vw !important;
|
|
||||||
margin-left: 1rem;
|
|
||||||
}
|
|
||||||
@media (max-width: 1200px) {
|
|
||||||
.block-views-blockactus-block-1 .view-id-actus .views-row {
|
|
||||||
width: 50vw !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.block-views-blockactus-block-1 .view-id-actus .views-row:first-of-type {
|
|
||||||
padding-left: 15%;
|
|
||||||
}
|
|
||||||
@media (max-width: 1200px) {
|
|
||||||
.block-views-blockactus-block-1 .view-id-actus .views-row:first-of-type {
|
|
||||||
padding-left: 16%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite {
|
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite {
|
||||||
width: 100%;
|
width: 90%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
margin: auto;
|
||||||
}
|
}
|
||||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite > .entete_actu {
|
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite > .entete_actu {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -160,14 +160,15 @@ jQuery(document).ready(function($){
|
|||||||
});
|
});
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$('.view-id-actus.view-display-id-block_1 ').slick({
|
$('.view-id-actus.view-display-id-block_1').slick({
|
||||||
slidesToShow: 1,
|
slidesToShow: 3,
|
||||||
slidesToScroll: 1,
|
slidesToScroll: 1,
|
||||||
// dots: true,
|
dots: true,
|
||||||
arrows: true,
|
arrows: true,
|
||||||
// centerMode: true,
|
// centerMode: true,
|
||||||
draggable: true,
|
draggable: true,
|
||||||
centerPadding: '100px',
|
// centerPadding: '100px',
|
||||||
|
infinite: false,
|
||||||
responsive: [
|
responsive: [
|
||||||
{
|
{
|
||||||
breakpoint: 810,
|
breakpoint: 810,
|
||||||
|
|||||||
@@ -13,21 +13,26 @@
|
|||||||
.view-id-actus{
|
.view-id-actus{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
// padding: 2rem;
|
||||||
|
// .slick-slide{
|
||||||
|
// width: 30% !important;
|
||||||
|
// }
|
||||||
.views-row{
|
.views-row{
|
||||||
width: 30vw !important;
|
// width: 30vw !important;
|
||||||
margin-left: 1rem;
|
// margin-left: 1rem;
|
||||||
@media (max-width: 1200px) {
|
// @media (max-width: 1200px) {
|
||||||
width: 50vw !important;
|
// width: 50vw !important;
|
||||||
}
|
// }
|
||||||
&:first-of-type{
|
// &:first-of-type{
|
||||||
padding-left: 15%;
|
// padding-left: 5%;
|
||||||
@media (max-width: 1200px) {
|
// @media (max-width: 1200px) {
|
||||||
padding-left: 16%;
|
// padding-left: 6%;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
.node-type-actualite{
|
.node-type-actualite{
|
||||||
width: 100%;
|
width: 90%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
margin: auto;
|
||||||
> .entete_actu{
|
> .entete_actu{
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
Reference in New Issue
Block a user