fix shadows
This commit is contained in:
1 parent
7c0426a004
commit
d340da4a21
1 file changed
+5
-4
@@ -7,13 +7,11 @@
|
|||||||
height: 136px;
|
height: 136px;
|
||||||
position: relative;
|
position: relative;
|
||||||
--shadow-color: rgb(0 0 0 / 0.04);
|
--shadow-color: rgb(0 0 0 / 0.04);
|
||||||
box-shadow: 0px 0px 0px 1px var(--shadow-color),
|
box-shadow: 0px 0px 0px 1px var(--background-selected),
|
||||||
0px 1px 1px -0.5px var(--shadow-color),
|
0px 1px 1px -0.5px var(--shadow-color),
|
||||||
0px 3px 3px -1.5px var(--shadow-color),
|
0px 3px 3px -1.5px var(--shadow-color),
|
||||||
0px 6px 6px -3px var(--shadow-color),
|
|
||||||
0px 12px 12px -6px var(--shadow-color);
|
0px 12px 12px -6px var(--shadow-color);
|
||||||
transition:all .12s ease-out;
|
transition:all .12s ease-out;
|
||||||
border: 1px solid transparent;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-card>a {
|
.link-card>a {
|
||||||
@@ -29,7 +27,10 @@ p {
|
|||||||
|
|
||||||
.link-card:is(:hover, :focus-within) {
|
.link-card:is(:hover, :focus-within) {
|
||||||
background-position: 0;
|
background-position: 0;
|
||||||
border: 1px solid var(--border);
|
box-shadow: 0px 0px 0px 2px var(--link),
|
||||||
|
0px 1px 1px -0.5px var(--shadow-color),
|
||||||
|
0px 3px 3px -1.5px var(--shadow-color),
|
||||||
|
0px 12px 12px -6px var(--shadow-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
p.distribution {
|
p.distribution {
|
||||||
|
|||||||
Reference in new issue
Block a user