1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-23 01:37:33 +00:00

Fix site header background

This commit is contained in:
Damillora 2020-11-11 12:28:51 +07:00
parent 6ed7beabf3
commit 5340cf1d9f
2 changed files with 4 additions and 2 deletions

View File

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

View File

@ -25,6 +25,7 @@ with a `no-image` class so we can style it accordingly.
url({{img_url @site.cover_image size='xl'}}) 2x); url({{img_url @site.cover_image size='xl'}}) 2x);
background-image: image-set(url({{img_url @site.cover_image size='l'}}) 1x, background-image: image-set(url({{img_url @site.cover_image size='l'}}) 1x,
url({{img_url @site.cover_image size='xl'}}) 2x); url({{img_url @site.cover_image size='xl'}}) 2x);
background-position: right 25% top 20%;
} }
} }
@ -35,10 +36,11 @@ with a `no-image` class so we can style it accordingly.
url({{img_url @site.cover_image size='l'}}) 2x); url({{img_url @site.cover_image size='l'}}) 2x);
background-image: image-set(url({{img_url @site.cover_image size='m'}}) 1x, background-image: image-set(url({{img_url @site.cover_image size='m'}}) 1x,
url({{img_url @site.cover_image size='l'}}) 2x); url({{img_url @site.cover_image size='l'}}) 2x);
background-position: right 25% top 20%;
} }
} }
</style> </style>
<div class="h-full w-full responsive-site-header-img bg-cover bg-center bg-yuika-blue-500"> <div class="h-full w-full responsive-site-header-img bg-cover bg-yuika-blue-500">
{{else}} {{else}}