Skip to content

Commit 0aa8bfd

Browse files
committed
Fav added
1 parent db3b078 commit 0aa8bfd

1 file changed

Lines changed: 12 additions & 13 deletions

File tree

assets/gallery.css

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,18 @@ a:focus {
8181
}
8282
}
8383

84+
/* Merged desc styles */
85+
.desc {
86+
padding: 15px;
87+
font-size: 0.9rem;
88+
color: #333;
89+
text-align: center;
90+
width: 100%;
91+
overflow: hidden;
92+
text-overflow: ellipsis;
93+
white-space: nowrap;
94+
}
95+
8496
/* Tag overlay */
8597
.tag {
8698
position: absolute;
@@ -93,17 +105,4 @@ a:focus {
93105
background-color: rgba(0, 0, 0, 0.7);
94106
color: #fff;
95107
pointer-events: none; /* ensures clicks pass through */
96-
}
97-
98-
/* Optional: category-specific colors */
99-
.tag.tv { background-color: #ffd54f; color: #000; } /* TV shows */
100-
.tag.movie { background-color: #ffd54f; color: #000; } /* Movies */
101-
.tag.book { background-color: #81d4fa; color: #000; } /* Books */
102-
.tag.game { background-color: #ef9a9a; color: #000; } /* Games */
103-
104-
.desc {
105-
width: 100%;
106-
overflow: hidden;
107-
text-overflow: ellipsis;
108-
white-space: nowrap;
109108
}

0 commit comments

Comments
 (0)