Skip to content

Commit

Permalink
Fix #7 and some changes to link formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkwse committed Mar 3, 2018
1 parent d098596 commit 300e2b0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
18 changes: 13 additions & 5 deletions assets/css/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ p {
}
}

p > a {
p a {
color: #888;
/* font-weight: 600; */
border-bottom: 1px dotted #888
}

p > a:hover {
p a:hover {
text-decoration: none;
color: #333;
border-bottom: 1px solid #333;
Expand Down Expand Up @@ -705,11 +705,13 @@ p:first-child * {
.post-cover-author > a {
font-weight: 600;
opacity: 1;
border: none;
}

.post-cover-author > a:hover {
text-decoration: none;
opacity: 0.8;
border: none;
}
.kg-card-markdown {
max-width: 100%;
Expand Down Expand Up @@ -749,18 +751,24 @@ p:first-child * {
margin: 0;
}

.post-tags {
.post-tag-list {
display: flex;
flex-direction: row;
align-items: flex-start;
text-transform: uppercase;
padding: 8px 0 0 0;
}

.post-tags > a {
.post-tag {
padding: 0 12px 0 0;
}

.post-tag > a {
font-size: 16px;
font-weight: 600;
}

.post-tags > a:hover {
.post-tag > a:hover {
text-decoration: none;
color: #666;
}
Expand Down
6 changes: 4 additions & 2 deletions post.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ into the {body} of the default.hbs template --}}
<span class="fin-hero">MW</span>
<hr>
</div>
<div class="post-tags">
{{tags prefix="#" separator=" #"}}
<div class="post-tag-list">
{{#foreach tags}}
<span class="post-tag"><a href="{{url}}">#{{name}}</a></span>
{{/foreach}}
</div>
</div>
</main>
Expand Down

0 comments on commit 300e2b0

Please sign in to comment.