mirror of
https://github.com/Damillora/Yuika
synced 2024-12-25 05:33:45 +00:00
Fix site header background
This commit is contained in:
parent
6ed7beabf3
commit
5340cf1d9f
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "yuika",
|
||||
"description": "nanao.moe's blog theme",
|
||||
"version": "2.0.1",
|
||||
"version": "2.0.2",
|
||||
"engines": {
|
||||
"ghost-api": "v3"
|
||||
},
|
||||
|
@ -25,6 +25,7 @@ with a `no-image` class so we can style it accordingly.
|
||||
url({{img_url @site.cover_image size='xl'}}) 2x);
|
||||
background-image: image-set(url({{img_url @site.cover_image size='l'}}) 1x,
|
||||
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);
|
||||
background-image: image-set(url({{img_url @site.cover_image size='m'}}) 1x,
|
||||
url({{img_url @site.cover_image size='l'}}) 2x);
|
||||
background-position: right 25% top 20%;
|
||||
}
|
||||
}
|
||||
</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}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user