1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-25 02:27:33 +00:00

Finish optimization

This commit is contained in:
Damillora 2019-11-09 18:32:42 +07:00
parent a347234836
commit d72152c45b
3 changed files with 8 additions and 11 deletions

View File

@ -1,7 +1,7 @@
{
"name": "yuika",
"description": "nanao.moe's blog theme",
"version": "0.2.0",
"version": "0.3.0",
"engines": {
"ghost-api": "v3"
},

View File

@ -2,23 +2,23 @@
<article class="relative group w-full">
{{> post-background}} {{!--Special header-image.hbs partial to generate the background image--}}
<div class="h-full md:bg-black md:opacity-50 md:group-hover:opacity-75 transition-opacity">
<a class="block md:hidden h-full" href="{{url}}">
<div class="h-full"></div>
</a>
</div>
</div>
<div class="md:absolute md:bottom-0 md:px-6 md:py-2 mt-4 md:mt-0 w-full">
{{#if primary_tag}}
{{#primary_tag}}
<div class="py-1">
<a href="{{url}}"><p class="bg-green-700 w-auto inline-block px-2 py-1 text-white text-xs">{{name}}</p></a>
<a href="{{url}}"><p class="bg-green-700 w-auto inline-block px-2 py-2 md:px-2 md:py-1 text-white text-sm md:text-xs">{{name}}</p></a>
</div>
{{/primary_tag}}
{{/if}}
<div class="text-black mt-0 text-xl md:text-white md:group-hover:text-gray-300">
<div class="text-black mt-2 md:mt-0 text-xl md:text-white md:group-hover:text-gray-300">
<a href="{{url}}"><h1 class="font-light">{{title}}</h1></a>
</div>
<div class="flex flex-row items-center mt-2 mb-4">
<div class="block text-black mt-2 mb-4 text-sm md:text-white">
<p>{{excerpt words="30"}}</p>
</div>
<div class="flex flex-row items-center my-2">
<div class="flex flex-row">
{{#foreach authors}}
{{#if profile_image}}
@ -37,9 +37,6 @@
</div>
</div>
</div>
<div class="block text-black mb-4 text-sm md:text-white">
<p>{{excerpt words="30"}}</p>
</div>
</div>
</article>
</div>

View File

@ -15,7 +15,7 @@
</div>
</div>
<div id="menushow" class="block md:hidden flex flex-column items-center px-2 py-2 cursor-pointer">
<img src="{{asset "images/menu.svg"}}" class="h-8 text-white" style="filter: invert(1);" />
<img src="{{asset "images/menu.svg"}}" class="h-8 text-white" style="filter: invert(1);" alt="menu"/>
</div>
{{navigation}}
</header>