added styles for individual comments

added margins to comments

adjusted template for comments
This commit is contained in:
rawleyIfowler
2022-02-25 21:13:16 -06:00
parent 589297bceb
commit 0f37dd0786
2 changed files with 12 additions and 2 deletions

View File

@@ -152,3 +152,13 @@ a:hover:after {
.skill-keywords > i::after { .skill-keywords > i::after {
content: "' "; content: "' ";
} }
.comment {
margin-top: 3px;
margin-bottom: 3px;
border: 2px solid #454545;
}
.comment-body {
background-color: rgba(222, 222, 222, 0.5);
}

View File

@@ -6,9 +6,9 @@
{{ range $comment := .Comments }} {{ range $comment := .Comments }}
<div class="comment"> <div class="comment">
<div> <div>
By {{ $comment.Author }} on{{ $comment.Date }} {{ $comment.Author }} at {{ $comment.Date }}
</div> </div>
<div> <div class="comment-body">
{{ $comment.Content }} {{ $comment.Content }}
</div> </div>
</div> </div>