diff --git a/package.json b/package.json index 3e8bb5ba..f8094330 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "notion-next", - "version": "3.13.1", + "version": "3.13.2", "homepage": "https://github.com/tangly1024/NotionNext.git", "license": "MIT", "repository": { diff --git a/public/css/theme-hexo.css b/public/css/theme-hexo.css index d279c691..da253800 100644 --- a/public/css/theme-hexo.css +++ b/public/css/theme-hexo.css @@ -13,3 +13,13 @@ color: #928CEE; } +/* 设置了从上到下的渐变黑色 */ +#theme-hexo .header-cover::before { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 10%, rgba(0,0,0,0) 25%, rgba(0,0,0,0.2) 75%, rgba(0,0,0,0.5) 100%); +} \ No newline at end of file diff --git a/public/css/theme-matery.css b/public/css/theme-matery.css new file mode 100644 index 00000000..e3a01f01 --- /dev/null +++ b/public/css/theme-matery.css @@ -0,0 +1,11 @@ + +/* 设置了从上到下的渐变黑色 */ +#theme-matery .header-cover::before { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 10%, rgba(0,0,0,0) 25%, rgba(0,0,0,0.2) 75%, rgba(0,0,0,0.5) 100%); +} \ No newline at end of file diff --git a/themes/hexo/components/Header.js b/themes/hexo/components/Header.js index 658e2e77..81838608 100644 --- a/themes/hexo/components/Header.js +++ b/themes/hexo/components/Header.js @@ -86,7 +86,7 @@ const Header = props => { )