mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-15 03:16:30 +01:00
130 lines
No EOL
2.2 KiB
SCSS
130 lines
No EOL
2.2 KiB
SCSS
.home-intro {
|
|
transform: translateY(0);
|
|
padding: 2rem 0 2rem 0;
|
|
|
|
.home-avatar {
|
|
img {
|
|
width: 6rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.post {
|
|
padding-top: 1rem;
|
|
padding-bottom: .8rem;
|
|
color: $global-font-color;
|
|
border-bottom: 1px dashed $global-border-color;
|
|
|
|
.dark-theme & {
|
|
color: $global-font-color-dark;
|
|
border-bottom: 1px dashed $global-border-color-dark;
|
|
}
|
|
|
|
.post-featured-image-preview {
|
|
width: 100%;
|
|
padding: 30% 0 0;
|
|
position: relative;
|
|
margin-bottom: 1rem;
|
|
|
|
img {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
object-fit: scale-down;
|
|
}
|
|
}
|
|
|
|
.post-list-title {
|
|
font-size: 1.6rem;
|
|
}
|
|
|
|
.post-meta {
|
|
font-size: .875rem !important;
|
|
a {
|
|
color: $global-font-secondary-color !important;
|
|
|
|
.dark-theme & {
|
|
color: $global-font-secondary-color-dark !important;
|
|
}
|
|
|
|
&:hover {
|
|
color: $global-link-hover-color !important;
|
|
|
|
.dark-theme & {
|
|
color: $global-link-hover-color-dark !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.post-content {
|
|
padding-top: .2rem;
|
|
font-size: .9rem;
|
|
width: 100%;
|
|
max-height: 7rem;
|
|
overflow: hidden;
|
|
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-size: 1rem;
|
|
line-height: 1rem;
|
|
padding-top: .3rem;
|
|
padding-bottom: .3rem;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
padding-top: .3rem;
|
|
padding-bottom: .3rem;
|
|
}
|
|
}
|
|
|
|
.post-footer {
|
|
margin-top: .5rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: .875rem !important;
|
|
|
|
a {
|
|
color: $post-link-color !important;
|
|
|
|
.dark-theme & {
|
|
color: $post-link-color-dark !important;
|
|
}
|
|
|
|
&:hover {
|
|
color: $post-link-hover-color !important;
|
|
|
|
.dark-theme & {
|
|
color: $post-link-hover-color-dark !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.post-tags {
|
|
padding: 0;
|
|
|
|
a {
|
|
color: $global-link-color !important;
|
|
|
|
.dark-theme & {
|
|
color: $global-link-color-dark !important;
|
|
}
|
|
|
|
&:hover {
|
|
color: $global-link-hover-color !important;
|
|
|
|
.dark-theme & {
|
|
color: $global-link-hover-color-dark !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |