Merge b2dc95ef76
into 095708e536
This commit is contained in:
commit
d29db4c931
@ -595,12 +595,15 @@ hr {
|
|||||||
top: 48px;
|
top: 48px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 16px;
|
||||||
|
padding-right: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-article-meta .gh-author-image {
|
.gh-article-meta .gh-author-image {
|
||||||
width: 72px;
|
width: 72px;
|
||||||
height: 72px;
|
height: 72px;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-article-meta .gh-author-name {
|
.gh-article-meta .gh-author-name {
|
||||||
@ -620,10 +623,15 @@ hr {
|
|||||||
color: var(--color-secondary-text);
|
color: var(--color-secondary-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gh-article-tags {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.gh-article-tag {
|
.gh-article-tag {
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
padding: 2px 12px;
|
padding: 2px 12px;
|
||||||
margin-top: 20px;
|
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: var(--tag-color, var(--color-darker-gray)) !important;
|
color: var(--tag-color, var(--color-darker-gray)) !important;
|
||||||
@ -745,21 +753,21 @@ hr {
|
|||||||
.gh-article-meta-inner {
|
.gh-article-meta-inner {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-article-meta .gh-author-image {
|
.gh-article-meta .gh-author-image {
|
||||||
width: 64px;
|
width: 64px;
|
||||||
height: 64px;
|
height: 64px;
|
||||||
margin-right: 12px;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-article-meta-wrapper {
|
.gh-article-meta-wrapper {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-article-tag {
|
.gh-article-tags {
|
||||||
margin-top: 0;
|
gap: 6px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
8
post.hbs
8
post.hbs
@ -38,8 +38,12 @@
|
|||||||
</h4>
|
</h4>
|
||||||
{{/primary_author}}
|
{{/primary_author}}
|
||||||
<time class="gh-article-date" datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time></div>
|
<time class="gh-article-date" datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time></div>
|
||||||
{{#if primary_tag}}
|
{{#if tags}}
|
||||||
<a class="gh-article-tag" href="{{primary_tag.url}}" style="--tag-color: {{primary_tag.accent_color}}">{{primary_tag.name}}</a>
|
<div class="gh-article-tags">
|
||||||
|
{{#foreach tags}}
|
||||||
|
<a class="gh-article-tag tag--{{slug}}" href="{{url}}" style="--tag-color: {{accent_color}}">{{name}}</a>
|
||||||
|
{{/foreach}}
|
||||||
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</aside>
|
</aside>
|
||||||
|
Loading…
Reference in New Issue
Block a user