From 5340cf1d9f8f84dc8468fba78b7a934f07a1e654 Mon Sep 17 00:00:00 2001 From: Damillora Date: Wed, 11 Nov 2020 12:28:51 +0700 Subject: [PATCH] Fix site header background --- package.json | 2 +- partials/site-background.hbs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index aa1aee7..49388e1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "yuika", "description": "nanao.moe's blog theme", - "version": "2.0.1", + "version": "2.0.2", "engines": { "ghost-api": "v3" }, diff --git a/partials/site-background.hbs b/partials/site-background.hbs index af05c6c..9f0dee8 100644 --- a/partials/site-background.hbs +++ b/partials/site-background.hbs @@ -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%; } } -
+
{{else}}