portfolio/_sass/_post.scss

49 lines
653 B
SCSS
Raw Normal View History

2023-12-17 15:16:04 +00:00
.page-image-container {
text-align: center;
img {
width: auto;
height: 200px;
}
}
2023-12-17 22:24:47 +00:00
.post-tags {
display: flex;
gap: 8px;
div {
background: #e0e0e0;
border-radius: 999px;
padding: 2px 8px;
font-size: 16px;
}
}
2023-12-17 15:16:04 +00:00
.post-date {
display: block;
2023-12-17 22:24:47 +00:00
margin-top: 3px;
2023-12-17 15:16:04 +00:00
margin-bottom: 1rem;
color: $light-gray-color;
font-family: $sans-serif-font-family;
2023-12-17 22:24:47 +00:00
font-size: 0.8rem;
2023-12-17 15:16:04 +00:00
}
@media (max-width: $elements-responsive-width) {
.posts h1 {
font-size: 1.5rem;
}
}
.related {
padding-bottom: 2rem;
}
.related-posts {
padding-left: 0px;
list-style: none;
}
.related-posts a {
text-decoration: none;
}