2020-02-13 18:30:33 +01:00
|
|
|
@mixin summary {
|
|
|
|
.summary {
|
|
|
|
padding-top: 1rem;
|
|
|
|
padding-bottom: .8rem;
|
|
|
|
color: $global-font-color;
|
|
|
|
border-bottom: 1px dashed $global-border-color;
|
|
|
|
|
2020-04-27 19:38:22 +02:00
|
|
|
[theme=dark] & {
|
2020-02-13 18:30:33 +01:00
|
|
|
color: $global-font-color-dark;
|
|
|
|
border-bottom: 1px dashed $global-border-color-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
.featured-image-preview {
|
|
|
|
width: 100%;
|
|
|
|
padding: 30% 0 0;
|
|
|
|
position: relative;
|
|
|
|
margin: 0.6rem auto;
|
2020-04-26 19:19:23 +02:00
|
|
|
@include transition(transform 0.4s ease);
|
2020-02-13 18:30:33 +01:00
|
|
|
|
|
|
|
img {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
2020-04-30 17:21:52 +02:00
|
|
|
@include object-fit(cover);
|
2020-02-13 18:30:33 +01:00
|
|
|
}
|
2020-04-26 19:19:23 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
@include transform(scale(1.01));
|
|
|
|
}
|
2020-02-13 18:30:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.single-title {
|
2020-04-26 17:00:29 +02:00
|
|
|
font-size: 1.25rem;
|
2020-03-10 13:33:37 +01:00
|
|
|
line-height: 140%;
|
|
|
|
margin: 0.4rem 0;
|
2020-02-13 18:30:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
2020-04-15 09:46:50 +02:00
|
|
|
@include box(vertical);
|
2020-02-13 18:30:33 +01:00
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
margin-top: .3rem;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2020-04-28 20:41:07 +02:00
|
|
|
@include overflow-wrap(break-word);
|
2020-03-03 17:41:14 +01:00
|
|
|
color: $global-font-secondary-color;
|
|
|
|
|
2020-04-27 19:38:22 +02:00
|
|
|
[theme=dark] & {
|
2020-03-03 17:41:14 +01:00
|
|
|
color: $global-font-secondary-color-dark;
|
|
|
|
}
|
2020-02-13 18:30:33 +01:00
|
|
|
|
2020-02-21 16:42:35 +01:00
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6,
|
|
|
|
p {
|
|
|
|
font-size: 1rem;
|
2020-04-29 16:26:52 +02:00
|
|
|
line-height: 1.5;
|
2020-02-21 16:42:35 +01:00
|
|
|
display: inline;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "\A";
|
|
|
|
white-space: pre;
|
|
|
|
}
|
2020-02-13 18:30:33 +01:00
|
|
|
}
|
|
|
|
|
2020-02-21 16:42:35 +01:00
|
|
|
h2 {
|
2020-04-29 16:26:52 +02:00
|
|
|
font-size: 1.125rem;
|
2020-02-21 16:42:35 +01:00
|
|
|
}
|
2020-03-14 14:47:51 +01:00
|
|
|
|
2020-04-29 10:36:23 +02:00
|
|
|
@include link(false, true);
|
2020-03-14 14:47:51 +01:00
|
|
|
|
|
|
|
b, strong {
|
2020-04-29 10:36:23 +02:00
|
|
|
color: $global-font-secondary-color;
|
|
|
|
|
2020-04-27 19:38:22 +02:00
|
|
|
[theme=dark] & {
|
2020-03-14 14:47:51 +01:00
|
|
|
color: $global-font-secondary-color-dark;
|
|
|
|
}
|
|
|
|
}
|
2020-02-13 18:30:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-footer {
|
2020-03-10 13:33:37 +01:00
|
|
|
margin-top: .4rem;
|
2020-02-13 18:30:33 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2020-03-14 14:47:51 +01:00
|
|
|
font-size: .875rem;
|
2020-02-13 18:30:33 +01:00
|
|
|
|
2020-03-17 14:16:04 +01:00
|
|
|
@include link(false, false);
|
2020-02-13 18:30:33 +01:00
|
|
|
|
|
|
|
.post-tags {
|
|
|
|
padding: 0;
|
|
|
|
|
2020-03-17 14:16:04 +01:00
|
|
|
@include link(true, true);
|
2020-02-13 18:30:33 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|