2021-02-18 21:44:01 +01:00
|
|
|
.home {
|
|
|
|
.home-profile {
|
2022-08-14 19:01:21 +02:00
|
|
|
@include transform(translateY( 16vh));
|
|
|
|
padding: 0 0 .5rem;
|
2021-02-18 21:44:01 +01:00
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.home-avatar {
|
2022-08-14 19:01:21 +02:00
|
|
|
padding: .5rem;
|
2021-02-18 21:44:01 +01:00
|
|
|
|
|
|
|
img {
|
|
|
|
display: inline-block;
|
|
|
|
width: 8rem;
|
|
|
|
height: auto;
|
|
|
|
margin: 0 auto;
|
|
|
|
@include border-radius(100%);
|
2022-08-14 19:01:21 +02:00
|
|
|
@include box-shadow(0 0 0 .3618em rgba(0, 0, 0, .05));
|
2021-02-18 21:44:01 +01:00
|
|
|
@include transition(all 0.4s ease);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
position: relative;
|
2022-08-14 19:01:21 +02:00
|
|
|
@include transform(translateY(-.75rem));
|
2021-02-18 21:44:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.home-title {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
font-weight: bold;
|
|
|
|
margin: 0;
|
2022-08-14 19:01:21 +02:00
|
|
|
padding: .5rem;
|
2021-02-18 21:44:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.home-subtitle {
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 0;
|
2022-08-14 19:01:21 +02:00
|
|
|
padding: .5rem;
|
2021-02-18 21:44:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.links {
|
2022-08-14 19:01:21 +02:00
|
|
|
padding: .5rem;
|
2021-02-18 21:44:01 +01:00
|
|
|
font-size: 1.5rem;
|
|
|
|
|
|
|
|
a * {
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
height: 1.5rem;
|
2022-08-14 19:01:21 +02:00
|
|
|
padding: 0 .25rem;
|
2021-02-18 21:44:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.home-disclaimer {
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.5rem;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 0;
|
2022-08-14 19:01:21 +02:00
|
|
|
padding: .5rem;
|
2021-02-18 21:44:01 +01:00
|
|
|
color: $global-font-secondary-color;
|
|
|
|
|
2022-08-14 19:01:21 +02:00
|
|
|
[theme=dark] & {
|
2021-02-18 21:44:01 +01:00
|
|
|
color: $global-font-secondary-color-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-14 19:01:21 +02:00
|
|
|
.home[data-home=posts] {
|
2021-02-18 21:44:01 +01:00
|
|
|
.home-profile {
|
|
|
|
@include transform(translateY(0));
|
|
|
|
padding-top: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.home-avatar img {
|
|
|
|
width: 6rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.summary {
|
|
|
|
padding-top: 1rem;
|
2022-08-14 19:01:21 +02:00
|
|
|
padding-bottom: .8rem;
|
2021-02-18 21:44:01 +01:00
|
|
|
color: $global-font-color;
|
|
|
|
border-bottom: 1px dashed $global-border-color;
|
|
|
|
|
2022-08-14 19:01:21 +02:00
|
|
|
[theme=dark] & {
|
2021-02-18 21:44:01 +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;
|
|
|
|
@include transition(transform 0.4s ease);
|
|
|
|
|
|
|
|
img {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
|
2022-08-14 19:01:21 +02:00
|
|
|
&.lazyloaded {
|
|
|
|
@include object-fit(cover);
|
|
|
|
}
|
2021-02-18 21:44:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
@include transform(scale(1.01));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.single-title {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
line-height: 140%;
|
|
|
|
margin: 0.4rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
@include box(vertical);
|
|
|
|
-webkit-line-clamp: 3;
|
2022-08-14 19:01:21 +02:00
|
|
|
margin-top: .3rem;
|
2021-02-18 21:44:01 +01:00
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
@include overflow-wrap(break-word);
|
|
|
|
color: $global-font-secondary-color;
|
|
|
|
|
2022-08-14 19:01:21 +02:00
|
|
|
[theme=dark] & {
|
2021-02-18 21:44:01 +01:00
|
|
|
color: $global-font-secondary-color-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6,
|
|
|
|
p {
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.5;
|
|
|
|
display: inline;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "\A";
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 1.125rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include link(false, true);
|
|
|
|
|
2022-08-14 19:01:21 +02:00
|
|
|
b, strong {
|
2021-02-18 21:44:01 +01:00
|
|
|
color: $global-font-secondary-color;
|
|
|
|
|
2022-08-14 19:01:21 +02:00
|
|
|
[theme=dark] & {
|
2021-02-18 21:44:01 +01:00
|
|
|
color: $global-font-secondary-color-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-footer {
|
2022-08-14 19:01:21 +02:00
|
|
|
margin-top: .4rem;
|
2021-02-18 21:44:01 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2022-08-14 19:01:21 +02:00
|
|
|
font-size: .875rem;
|
2021-02-18 21:44:01 +01:00
|
|
|
|
|
|
|
@include link(false, false);
|
|
|
|
|
|
|
|
.post-tags {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
@include link(true, true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|