From bafe9283bd538b9dfa240b9bb67e4d010b919079 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Fri, 30 Dec 2022 19:28:39 +0800 Subject: [PATCH] [opt] gradient --- _config.yml | 2 +- source/css/_common/button.styl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index a631ba8..53c7ee2 100755 --- a/_config.yml +++ b/_config.yml @@ -357,7 +357,7 @@ style: loading: 正在加载 error: 加载失败,请稍后重试。 gradient: # https://webgradients.com/ - start: 'linear-gradient(to right, #92fe9d 0%, #00c9ff 50%, #92fe9d 100%)' + start: 'linear-gradient(to right, hsl(215, 95%, 64%), hsl(195, 95%, 60%), hsl(165, 95%, 56%), hsl(165, 95%, 56%), hsl(195 95% 60%), hsl(215, 95%, 64%))' search: 'linear-gradient(to right, #04F3FF, #08FFC6, #DDF730, #FFBD19, #FF1FE0, #C418FF, #04F3FF)' default: diff --git a/source/css/_common/button.styl b/source/css/_common/button.styl index 42d3593..55f0cbe 100644 --- a/source/css/_common/button.styl +++ b/source/css/_common/button.styl @@ -32,6 +32,7 @@ a.button.start.gradient background: convert(hexo-config('style.gradient.start')) background-size: 1000% color: white + text-shadow: 0 0 1px rgba(0,0,0,0.12) animation: glow 60s linear infinite @keyframes glow { from {