File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,34 +81,20 @@ 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-
96- /* Tag overlay */
9784.tag {
98- position : absolute;
99- top : 8px ;
100- left : 8px ; /* use right: 8px; if you prefer top-right */
85+ display : inline-block;
10186 font-size : 0.7rem ;
10287 font-weight : 600 ;
103- padding : 3px 8px ;
88+ padding : 2px 8px ;
89+ margin-left : 8px ;
10490 border-radius : 999px ;
105- background-color : rgba ( 0 , 0 , 0 , 0.7 ) ;
106- color : # fff ;
107- pointer-events : none; /* ensures clicks pass through */
91+ background-color : # eee ;
92+ color : # 333 ;
93+ vertical-align : middle;
10894}
10995
11096/* Optional: category-specific colors */
11197.tag .tv { background-color : # ffd54f ; color : # 000 ; } /* TV shows */
11298.tag .movie { background-color : # ffd54f ; color : # 000 ; } /* Movies */
11399.tag .book { background-color : # 81d4fa ; color : # 000 ; } /* Books */
114- .tag .game { background-color : # ef9a9a ; color : # 000 ; } /* Games */
100+ .tag .game { background-color : # a5d6a7 ; color : # 000 ; } /* Games */
Original file line number Diff line number Diff line change 3232 < div class ="gallery ">
3333 < a target ="_blank " href ="https://www.imdb.com/title/tt3032476 ">
3434 < img src ="assets/fav_tnails/better.webp " alt ="Better Call Saul ">
35- < span class ="tag tv "> TV</ span >
3635 </ a >
37- < div class ="desc "> Better Call Saul</ div >
36+ < div class ="desc "> Better Call Saul
37+ < span class ="tag tv "> TV</ span >
38+ </ div >
3839 </ div >
3940
4041 < div class ="gallery ">
4142 < a target ="_blank " href ="https://www.goodreads.com/book/show/19776547-essentialism ">
4243 < img src ="assets/fav_tnails/essentialism.webp " alt ="Essentialism ">
43- < span class ="tag book "> Book</ span >
4444 </ a >
45- < div class ="desc "> Essentialism</ div >
45+ < div class ="desc "> Essentialism
46+ < span class ="tag book "> Book</ span >
47+ </ div >
4648 </ div >
4749
4850 < div class ="gallery ">
4951 < a target ="_blank " href ="https://www.imdb.com/title/tt2278388 ">
5052 < img src ="assets/fav_tnails/grand.webp " alt ="The Grand Budapest Hotel ">
51- < span class ="tag movie "> Movie</ span >
5253 </ a >
53- < div class ="desc "> The Grand Budapest Hotel</ div >
54+ < div class ="desc "> The Grand Budapest Hotel
55+ < span class ="tag movie "> Movie</ span >
56+ </ div >
5457 </ div >
5558
5659 < div class ="gallery ">
5760 < a target ="_blank " href ="https://store.steampowered.com/app/1151640/Horizon_Zero_Dawn_Complete_Edition/ ">
5861 < img src ="assets/fav_tnails/horizon.webp " alt ="Horizon Zero Dawn ">
59- < span class ="tag game "> Game</ span >
6062 </ a >
61- < div class ="desc "> Horizon Zero Dawn</ div >
63+ < div class ="desc "> Horizon Zero Dawn
64+ < span class ="tag game "> Game</ span >
65+ </ div >
6266 </ div >
6367
6468</ div >
You can’t perform that action at this time.
0 commit comments