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; display: flex;
flex-direction: column; flex-direction: column;
cursor: pointer; cursor: pointer;
border: 1px solid var(--border-primary);
border-radius: var(--radius); border-radius: var(--radius);
background: var(--bg-primary); background: var(--bg-primary);
overflow: hidden; overflow: hidden;
transition: transition:
box-shadow 0.2s ease, border-color 0.2s ease,
transform 0.2s ease; box-shadow 0.2s ease;
} }
.card:hover { .card:hover {
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12); box-shadow: 0 4px 16px var(--accent-secondary);
transform: translateY(-2px); /* border-color: var(--accent-primary); */
} }
.card > a { .card > a {
@@ -107,13 +106,12 @@
padding: var(--space-s); padding: var(--space-s);
text-align: center; text-align: center;
box-sizing: border-box; box-sizing: border-box;
border-radius: 7px 7px 0 0; border-radius: 0 0 var(--radius) var(--radius);
background: linear-gradient( background: linear-gradient(
180deg, 0deg,
rgba(60, 133, 108, 1) 0%, rgba(192, 93, 225, 1) 0%,
rgba(51, 191, 135, 1) 25%, rgba(51, 191, 135, 1) 66%,
rgba(192, 93, 225, 1) 75%, rgba(60, 133, 108, 1) 100%
rgba(149, 87, 181, 1) 100%
); );
} }
@@ -157,7 +155,6 @@
color: var(--text-primary); color: var(--text-primary);
margin: 0; margin: 0;
font-weight: 400; font-weight: 400;
border-top: 1px solid var(--border-primary);
} }
/* Empty-state message shown when no cards exist */ /* Empty-state message shown when no cards exist */
+9 -10
View File
@@ -466,11 +466,10 @@
box-sizing: border-box; box-sizing: border-box;
border-radius: 7px 7px 0 0; border-radius: 7px 7px 0 0;
background: linear-gradient( background: linear-gradient(
180deg, 0deg,
rgba(60, 133, 108, 1) 0%, rgba(192, 93, 225, 1) 0%,
rgba(51, 191, 135, 1) 25%, rgba(51, 191, 135, 1) 66%,
rgba(192, 93, 225, 1) 75%, rgba(60, 133, 108, 1) 100%
rgba(149, 87, 181, 1) 100%
); );
} }
@@ -698,12 +697,12 @@
.student-card__banner--gradient { .student-card__banner--gradient {
background: linear-gradient( background: linear-gradient(
180deg, 0deg,
rgba(60, 133, 108, 1) 0%, rgba(192, 93, 225, 1) 0%,
rgba(51, 191, 135, 1) 25%, rgba(51, 191, 135, 1) 66%,
rgba(192, 93, 225, 1) 75%, rgba(60, 133, 108, 1) 100%
rgba(149, 87, 181, 1) 100%
); );
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;