added gallery and portal informations
This commit is contained in:
@@ -41,6 +41,19 @@
|
||||
}
|
||||
}
|
||||
|
||||
.download__item--page {
|
||||
padding: em(30px) em(60px) em(30px) em(30px);
|
||||
.download__item__icon {
|
||||
top: 50%;
|
||||
right: em(10px);
|
||||
margin-top: em(-20px);
|
||||
background: transparent !important;
|
||||
svg {
|
||||
fill: $green;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.download__item__file {
|
||||
display: block;
|
||||
position: absolute;
|
||||
|
||||
44
private/scss/modules/plugins/_gallery.scss
Normal file
44
private/scss/modules/plugins/_gallery.scss
Normal file
@@ -0,0 +1,44 @@
|
||||
.gallery {
|
||||
margin: em(50px) em(-10px);
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.gallery__item {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
width: 25%;
|
||||
padding: em(10px);
|
||||
@media screen and (max-width: $medium_breakpoint) {
|
||||
width: 33.3333%;
|
||||
}
|
||||
@media screen and (max-width: $small_breakpoint) {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.gallery__item__main {
|
||||
width: 100%;
|
||||
padding-bottom: 100%;
|
||||
overflow: hidden;
|
||||
height: 0;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
position: relative;
|
||||
figure, a {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
}
|
||||
img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user