Tweak comment styles

This commit is contained in:
Shadowfacts 2019-06-30 15:29:54 -04:00
parent 43a3fc1a69
commit 1f28d6263c
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
2 changed files with 31 additions and 34 deletions

View File

@ -42,6 +42,7 @@ body {
article { article {
margin-bottom: 75px; margin-bottom: 75px;
color: var(--content-text-color); color: var(--content-text-color);
border-bottom: 1px solid var(--accent-color);
@media (min-width: 768px) { @media (min-width: 768px) {
a::before { content: "["; } a::before { content: "["; }
@ -81,14 +82,6 @@ article {
color: var(--secondary-ui-text-color); color: var(--secondary-ui-text-color);
} }
&::after {
content: "";
width: calc(100% - 2 * 30px); // account for .container padding, don't overflow
height: 1px;
background-color: var(--accent-color);
position: absolute;
}
.article-title { .article-title {
margin-top: 20px; margin-top: 20px;
margin-bottom: 0; margin-bottom: 0;
@ -147,16 +140,20 @@ article {
} }
#comments-container { #comments-container {
.comments-list { border-bottom: 1px solid var(--accent-color);
margin-top: 0px; padding-bottom: 55px;
padding-left: 0px;
}
.comment-user-avatar { .comment-user-avatar {
width: 50px; width: 50px;
border-radius: 5px;
float: left; float: left;
margin-right: 10px; margin-right: 10px;
border-radius: 5px; }
@media (min-width: 768px) {
.comments-list {
margin-top: 0px;
padding-left: 0px;
} }
.comment-info { .comment-info {
@ -165,10 +162,11 @@ article {
} }
.comment-children { .comment-children {
margin-left: 50px; margin-left: 60px;
margin-top: 20px; margin-top: 20px;
} }
} }
}
.search { .search {
margin: 100px auto; margin: 100px auto;
@ -399,22 +397,17 @@ figure {
// Footer // Footer
.site-footer { .site-footer {
padding-top: 20px; margin-top: 75px;
padding-bottom: 20px; margin-bottom: 20px;
background-color: var(--ui-background-color); background-color: var(--ui-background-color);
font-size: 16px; font-size: 16px;
> div {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
align-items: flex-start; align-items: flex-start;
flex-wrap: wrap; flex-wrap: wrap;
padding-top: 10px;
// border-top: 3px solid var(--accent-color);
}
.site-title { .site-title {
margin: 0; margin: 0;
font-variant: small-caps; font-variant: small-caps;
@ -463,6 +456,10 @@ figure {
.pagination { .pagination {
text-align: center; text-align: center;
p {
margin: 0;
}
.pagination-link { .pagination-link {
color: var(--accent-color); color: var(--accent-color);

View File

@ -69,7 +69,7 @@
</div> </div>
<footer class="site-footer container"> <footer class="site-footer container">
<div> <!-- <div> -->
<div> <div>
<h2 class="site-title">Shadowfacts</h2> <h2 class="site-title">Shadowfacts</h2>
<p class="ui-controls"> <p class="ui-controls">
@ -91,7 +91,7 @@
<li><%- fancyLink("Mastodon", "https://social.shadowfacts.net/users/shadowfacts", "rel=me") %></li> <li><%- fancyLink("Mastodon", "https://social.shadowfacts.net/users/shadowfacts", "rel=me") %></li>
</ul> </ul>
</nav> </nav>
</div> <!-- </div> -->
<script> <script>
(() => { (() => {