added gallery and portal informations

This commit is contained in:
2018-04-25 20:51:32 +02:00
parent b4ef6fe9f8
commit 9cc4e09698
25 changed files with 5948 additions and 53 deletions

View File

@@ -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;

View 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;
}
}