Skip to content

Commit

Permalink
新增“无变化”样式
Browse files Browse the repository at this point in the history
没学过css,靠问bing以及参考原来的样式新增的 O.o
因为平常觉得把头像弄糊了就不知道这个人是谁了,所以希望新增一个无变化的样式
另外从147行到175行,应该是为不同位置的头像设置了不同的色相偏移吧,这个我不知道怎么调,希望大佬可以完善一下(我自改自用的版本是把这些行全删了hhhh)
  • Loading branch information
SummerFleur2997 committed Aug 22, 2024
1 parent 7c5f30b commit f9cb33c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,14 @@ body #app {
filter: blur(2px);
}

&[data-ccnd-avatar="8"] .avatar::after {
--avatar-mask-bg: linear-gradient(30deg,
hsl(from var(--brand_standard) h 0% 0% / 0) 100%,
hsl(from var(--brand_standard) h 0% 0% / 0) 100%);
--avatar-mix-blend-mode: none;
--avatar-filter: blur(0px) saturate(1);
}

.avatar {
overflow: hidden;

Expand Down

0 comments on commit f9cb33c

Please sign in to comment.