ui: fix relation card styling issues
This commit is contained in:
@@ -726,18 +726,17 @@ a.htmx-request {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: var(--space-xs);
|
gap: var(--space-xs);
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.relation-card.current {
|
.relation-card:hover {
|
||||||
position: relative;
|
text-decoration: none;
|
||||||
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.relation-card.current::before {
|
.relation-card.current .relation-thumb {
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
inset: -2px;
|
|
||||||
border: 2px solid var(--link);
|
border: 2px solid var(--link);
|
||||||
pointer-events: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.relation-thumb {
|
.relation-thumb {
|
||||||
@@ -758,6 +757,11 @@ a.htmx-request {
|
|||||||
-webkit-line-clamp: 2;
|
-webkit-line-clamp: 2;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.relation-card:hover .relation-title {
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Anime Sidebar */
|
/* Anime Sidebar */
|
||||||
@@ -1124,6 +1128,8 @@ a.htmx-request {
|
|||||||
.schedule-card:hover {
|
.schedule-card:hover {
|
||||||
border-color: var(--link);
|
border-color: var(--link);
|
||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.schedule-card-image {
|
.schedule-card-image {
|
||||||
@@ -1235,11 +1241,15 @@ a.htmx-request {
|
|||||||
transition: border-color 0.15s, transform 0.15s;
|
transition: border-color 0.15s, transform 0.15s;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-card:hover {
|
.notification-card:hover {
|
||||||
border-color: var(--link);
|
border-color: var(--link);
|
||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification-image {
|
.notification-image {
|
||||||
|
|||||||
Reference in New Issue
Block a user