[opt] gradient

This commit is contained in:
xaoxuu 2022-12-30 19:28:39 +08:00
parent 629019cefb
commit bafe9283bd
2 changed files with 2 additions and 1 deletions

View File

@ -357,7 +357,7 @@ style:
loading: 正在加载 loading: 正在加载
error: 加载失败,请稍后重试。 error: 加载失败,请稍后重试。
gradient: # https://webgradients.com/ 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)' search: 'linear-gradient(to right, #04F3FF, #08FFC6, #DDF730, #FFBD19, #FF1FE0, #C418FF, #04F3FF)'
default: default:

View File

@ -32,6 +32,7 @@ a.button.start.gradient
background: convert(hexo-config('style.gradient.start')) background: convert(hexo-config('style.gradient.start'))
background-size: 1000% background-size: 1000%
color: white color: white
text-shadow: 0 0 1px rgba(0,0,0,0.12)
animation: glow 60s linear infinite animation: glow 60s linear infinite
@keyframes glow { @keyframes glow {
from { from {