log101-dot-dev/assets/scss/_posts.scss

133 lines
2.1 KiB
SCSS
Raw Normal View History

2023-12-08 11:39:54 +00:00
@import "variables";
#posts-body {
@include default-width;
display: flex;
flex-direction: column;
justify-content: start;
height: 100vh;
margin-bottom: 0;
}
2023-12-08 11:43:40 +00:00
#posts-list {
2023-12-08 11:39:54 +00:00
display: flex;
flex-direction: column;
}
#posts-header {
padding-top: 10vh;
font-size: 20px;
font-style: normal;
font-weight: 400;
a {
text-decoration: none;
color: #656565;
&:hover {
text-decoration: underline;
color: #151515;
}
}
}
#post-header {
padding-top: 10vh;
a {
text-decoration: none;
color: #656565;
&:hover {
text-decoration: underline;
color: #151515;
}
}
}
#post-title {
font-size: 2.5em;
font-weight: 400;
margin-bottom: 8px;
}
.post-meta {
font-size: 1.5em;
span {
color: #303030;
}
}
.post-tags {
margin: 10px 0;
display: flex;
gap: 6px;
.tag {
font-size: 0.9em;
padding: 3px 14px;
text-transform: lowercase;
border: 1px solid;
margin-bottom: 6px;
a {
outline: none;
text-decoration: none;
color: #5C5C5C;
font-weight: 500;
}
}
}
2023-12-08 11:39:54 +00:00
#posts-footer {
display: flex;
flex-direction: column;
flex-grow: 1;
justify-content: end;
}
.post-item {
a {
color: $color-light-dark;
font-weight: 400;
line-height: 150%;
text-decoration-line: underline;
2023-12-08 11:43:40 +00:00
font-size: 2em;
2023-12-08 11:39:54 +00:00
}
}
.post-content {
font-size: 1.3em;
color: $color-dark;
line-height: 1.4;
h2 {
border-bottom: 1px solid rgba(71, 61, 139, 0.500);
}
p {
text-align: justify;
a {
text-decoration-line: none;
text-decoration-style: solid;
text-decoration-color: darkslateblue;
outline-color: darkslateblue;
color: slateblue;
}
}
}
.post-to-top-link {
text-decoration: none;
color: #656565;
&:hover {
text-decoration: underline;
color: #151515;
}
}