mirror of
https://github.com/Damillora/Yuika
synced 2024-11-22 17:27:32 +00:00
Finalize v2 iteration of Yuika with 2.3
This commit is contained in:
parent
b8e02c571e
commit
3578ba80be
@ -331,15 +331,15 @@ footer {
|
|||||||
.primary-tag-header:hover {
|
.primary-tag-header:hover {
|
||||||
@apply transition-all duration-300 ease-in-out underline;
|
@apply transition-all duration-300 ease-in-out underline;
|
||||||
}
|
}
|
||||||
.tag-header {
|
|
||||||
@apply bg-blue-700 w-auto inline-block px-2 py-1 text-white text-sm;
|
|
||||||
}
|
|
||||||
.tag-accent-color {
|
.tag-accent-color {
|
||||||
@apply inline-block rounded-full align-text-bottom h-12 w-12;
|
@apply inline-block rounded-full align-text-bottom h-12 w-12;
|
||||||
|
|
||||||
}
|
}
|
||||||
.author-header {
|
.tag-accent-color.small {
|
||||||
@apply bg-red-700 w-auto inline-block px-2 py-1 text-white text-sm;
|
@apply h-4 w-4;
|
||||||
|
}
|
||||||
|
.tag-accent-color.medium {
|
||||||
|
@apply h-6 w-6;
|
||||||
}
|
}
|
||||||
.author-image {
|
.author-image {
|
||||||
@apply inline-block rounded-full align-text-bottom h-12 w-12;
|
@apply inline-block rounded-full align-text-bottom h-12 w-12;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "yuika",
|
"name": "yuika",
|
||||||
"description": "nanao.moe's blog theme",
|
"description": "nanao.moe's blog theme",
|
||||||
"version": "2.2.4",
|
"version": "2.3.0",
|
||||||
"engines": {
|
"engines": {
|
||||||
"ghost-api": "v3"
|
"ghost-api": "v3"
|
||||||
},
|
},
|
||||||
|
@ -4,18 +4,19 @@
|
|||||||
{{> post-background}} {{!--Special header-image.hbs partial to generate the background image--}}
|
{{> post-background}} {{!--Special header-image.hbs partial to generate the background image--}}
|
||||||
</a>
|
</a>
|
||||||
<div class="md:pl-4">
|
<div class="md:pl-4">
|
||||||
<div class="pt-4 md:pt-0 py-1">
|
<div class="pt-4 md:pt-0">
|
||||||
{{#if primary_tag}}
|
{{#if primary_tag}}
|
||||||
{{#primary_tag}}
|
{{#primary_tag}}
|
||||||
|
<p>
|
||||||
|
<a href="{{url}}">
|
||||||
{{#if accent_color}}
|
{{#if accent_color}}
|
||||||
<a href="{{url}}">
|
<span class="tag-accent-color small" style="background-color: {{accent_color}};"></span>
|
||||||
<span class="primary-tag-header" style="background-color: {{accent_color}};">{{name}}</span>
|
|
||||||
</a>
|
|
||||||
{{else}}
|
{{else}}
|
||||||
<a href="{{url}}">
|
<span class="tag-accent-color small"></span>{{name}}
|
||||||
<span class="primary-tag-header">{{name}}</span>
|
|
||||||
</a>
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
<span class="text-sm hover:underline">{{name}}</span>
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
{{/primary_tag}}
|
{{/primary_tag}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,14 +1,15 @@
|
|||||||
|
|
||||||
{{#if primary_tag}}
|
{{#if primary_tag}}
|
||||||
{{#primary_tag}}
|
{{#primary_tag}}
|
||||||
|
<p>
|
||||||
|
<a href="{{url}}">
|
||||||
{{#if accent_color}}
|
{{#if accent_color}}
|
||||||
<a href="{{url}}">
|
<span class="tag-accent-color small" style="background-color: {{accent_color}};"></span>
|
||||||
<span class="primary-tag-header" style="background-color: {{accent_color}};">{{name}}</span>
|
|
||||||
</a>
|
|
||||||
{{else}}
|
{{else}}
|
||||||
<a href="{{url}}">
|
<span class="tag-accent-color small"></span>{{name}}
|
||||||
<span class="primary-tag-header">{{name}}</span>
|
|
||||||
</a>
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
<span class="text-base text-white hover:underline">{{name}}</span>
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
{{/primary_tag}}
|
{{/primary_tag}}
|
||||||
{{/if}}
|
{{/if}}
|
14
post.hbs
14
post.hbs
@ -78,16 +78,16 @@
|
|||||||
{{#if related_posts}}
|
{{#if related_posts}}
|
||||||
{{#../primary_tag}}
|
{{#../primary_tag}}
|
||||||
<div class="px-3 w-full">
|
<div class="px-3 w-full">
|
||||||
<p class="text-2xl">More in
|
<p class="text-2xl">
|
||||||
|
More in
|
||||||
|
<a href="{{url}}">
|
||||||
{{#if accent_color}}
|
{{#if accent_color}}
|
||||||
<a href="{{url}}">
|
<span class="tag-accent-color medium" style="background-color: {{accent_color}};"></span>
|
||||||
<span class="primary-tag-header text-2xl" style="background-color: {{accent_color}};">{{name}}</span>
|
|
||||||
</a>
|
|
||||||
{{else}}
|
{{else}}
|
||||||
<a href="{{url}}">
|
<span class="tag-accent-color medium"></span>{{name}}
|
||||||
<span class="primary-tag-header text-2xl">{{name}}</span>
|
|
||||||
</a>
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
<span class="hover:underline">{{name}}</span>
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{{/../primary_tag}}
|
{{/../primary_tag}}
|
||||||
|
Loading…
Reference in New Issue
Block a user