.node-background() {
background-size: 200% auto;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: textflow 5s linear infinite;
}
.nodeGradient(@nodeid, @colorone, @colortwo) {
.node.node--id@{nodeid} {
.node-title a {
background: linear-gradient(90deg, @colorone, @colortwo, @colorone);
.node-background()
}
}
[data-content-key="forum-@{nodeid}"] {
.p-title-value {
background: linear-gradient(90deg, @colorone, @colortwo, @colorone);
.node-background()
}
}
}
.nodeGradient(16, #e933ff, #334dff);
@keyframes textflow {
from {background-position: 0% center}
to {background-position: 200% center}
}