fix: gradient across public

This commit is contained in:
Pontoporeia
2026-07-10 14:32:46 +02:00
parent 269b751fea
commit eb0f48d320
2 changed files with 178 additions and 182 deletions
+9 -12
View File
@@ -38,18 +38,17 @@
display: flex;
flex-direction: column;
cursor: pointer;
border: 1px solid var(--border-primary);
border-radius: var(--radius);
background: var(--bg-primary);
overflow: hidden;
transition:
box-shadow 0.2s ease,
transform 0.2s ease;
border-color 0.2s ease,
box-shadow 0.2s ease;
}
.card:hover {
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
transform: translateY(-2px);
box-shadow: 0 4px 16px var(--accent-secondary);
/* border-color: var(--accent-primary); */
}
.card > a {
@@ -107,13 +106,12 @@
padding: var(--space-s);
text-align: center;
box-sizing: border-box;
border-radius: 7px 7px 0 0;
border-radius: 0 0 var(--radius) var(--radius);
background: linear-gradient(
180deg,
rgba(60, 133, 108, 1) 0%,
rgba(51, 191, 135, 1) 25%,
rgba(192, 93, 225, 1) 75%,
rgba(149, 87, 181, 1) 100%
0deg,
rgba(192, 93, 225, 1) 0%,
rgba(51, 191, 135, 1) 66%,
rgba(60, 133, 108, 1) 100%
);
}
@@ -157,7 +155,6 @@
color: var(--text-primary);
margin: 0;
font-weight: 400;
border-top: 1px solid var(--border-primary);
}
/* Empty-state message shown when no cards exist */
+9 -10
View File
@@ -466,11 +466,10 @@
box-sizing: border-box;
border-radius: 7px 7px 0 0;
background: linear-gradient(
180deg,
rgba(60, 133, 108, 1) 0%,
rgba(51, 191, 135, 1) 25%,
rgba(192, 93, 225, 1) 75%,
rgba(149, 87, 181, 1) 100%
0deg,
rgba(192, 93, 225, 1) 0%,
rgba(51, 191, 135, 1) 66%,
rgba(60, 133, 108, 1) 100%
);
}
@@ -698,12 +697,12 @@
.student-card__banner--gradient {
background: linear-gradient(
180deg,
rgba(60, 133, 108, 1) 0%,
rgba(51, 191, 135, 1) 25%,
rgba(192, 93, 225, 1) 75%,
rgba(149, 87, 181, 1) 100%
0deg,
rgba(192, 93, 225, 1) 0%,
rgba(51, 191, 135, 1) 66%,
rgba(60, 133, 108, 1) 100%
);
display: flex;
flex-direction: column;
align-items: center;