Apply rainbow effect only to card name
This commit is contained in:
parent
729e234c4f
commit
c1eba46fb7
@ -118,7 +118,7 @@ export class FabCard extends LitElement {
|
|||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rainbow-foiling {
|
.rainbow-foiling .card-name {
|
||||||
background: linear-gradient(90deg, #ffb347, #ffcc33, #b4ffb3, #b3d1ff, #e0b3ff, #ffb3d1, #ffb347);
|
background: linear-gradient(90deg, #ffb347, #ffcc33, #b4ffb3, #b3d1ff, #e0b3ff, #ffb3d1, #ffb347);
|
||||||
background-size: 200% 200%;
|
background-size: 200% 200%;
|
||||||
-webkit-background-clip: text;
|
-webkit-background-clip: text;
|
||||||
@ -131,7 +131,7 @@ export class FabCard extends LitElement {
|
|||||||
0% { background-position: 0% 50%; }
|
0% { background-position: 0% 50%; }
|
||||||
100% { background-position: 100% 50%; }
|
100% { background-position: 100% 50%; }
|
||||||
}
|
}
|
||||||
.cold-foiling {
|
.cold-foiling .card-name {
|
||||||
background: linear-gradient(90deg, #b3e0ff, #e6e6e6, #b3e0ff, #e6e6e6, #b3e0ff);
|
background: linear-gradient(90deg, #b3e0ff, #e6e6e6, #b3e0ff, #e6e6e6, #b3e0ff);
|
||||||
background-size: 200% 200%;
|
background-size: 200% 200%;
|
||||||
-webkit-background-clip: text;
|
-webkit-background-clip: text;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user