wp_back/wp-content/plugins/visual-portfolio/build/assets/css/layout-masonry.css

2 lines
989 B
CSS
Raw Normal View History

2024-05-20 15:37:46 +03:00
[data-vp-layout=masonry] .vp-portfolio__items{margin-left:calc(var(--vp-items__gap)*-1);margin-top:calc(var(--vp-items__gap-vertical)*-1)}[data-vp-layout=masonry] .vp-portfolio__item-wrap .vp-portfolio__item{margin-left:var(--vp-items__gap);margin-top:var(--vp-items__gap-vertical)}[data-vp-masonry-images-aspect-ratio*=":"] .vp-portfolio__item-img,[data-vp-masonry-images-aspect-ratio*=":"] .vp-portfolio__item-img img{bottom:0;left:0;position:absolute;right:0;top:0}[data-vp-masonry-images-aspect-ratio*=":"] .vp-portfolio__item-img-wrap{display:block;overflow:hidden;position:relative}[data-vp-masonry-images-aspect-ratio*=":"] .vp-portfolio__item-img-wrap:before{content:"";display:block;padding-top:56%}[data-vp-masonry-images-aspect-ratio*=":"] .vp-portfolio__item-img img{height:100%;-o-object-fit:var(--vp-images__object-fit);object-fit:var(--vp-images__object-fit);-o-object-position:var(--vp-images__object-position);object-position:var(--vp-images__object-position);width:100%}