79 lines
1.4 KiB
SCSS
79 lines
1.4 KiB
SCSS
.wpj-module-tile {
|
|
margin-bottom: 15px;
|
|
display: flex;
|
|
|
|
figure {
|
|
width: 92px;
|
|
height: 92px;
|
|
border-radius: $border-radius-base;
|
|
margin-right: 18px;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
.wpj-module-tile-content {
|
|
flex: 1;
|
|
padding-right: 20px;
|
|
|
|
h5 {
|
|
margin-top: 0;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
display: block;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
.wpj-module-tile-badges {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.wpj-module-tile-link {
|
|
border-left: 1px solid $border-color-light;
|
|
margin: -15px 0;
|
|
display: flex;
|
|
align-self: stretch;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.wpj-module-tile-large {
|
|
align-items: center;
|
|
margin-bottom: 30px;
|
|
|
|
.wpj-module-tile-content p {
|
|
-webkit-line-clamp: unset;
|
|
}
|
|
}
|
|
|
|
.wpj-module-gallery {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
background: $gray-background;
|
|
padding: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.wpj-module-gallery-item {
|
|
padding: 10px;
|
|
background: $body-bg;
|
|
border-radius: $border-radius-base;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: calc(percentage(1 / 6) - 20px);
|
|
margin: 10px;
|
|
|
|
img {
|
|
border-radius: $border-radius-base;
|
|
}
|
|
}
|