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,23 +81,25 @@ a:focus {
8181 }
8282}
8383
84+ /* Tag overlay */
8485.tag {
85- display : inline-block;
86+ position : absolute;
87+ top : 8px ;
88+ left : 8px ; /* use right: 8px; if you prefer top-right */
8689 font-size : 0.7rem ;
8790 font-weight : 600 ;
88- padding : 2px 8px ;
89- margin-left : 8px ;
91+ padding : 3px 8px ;
9092 border-radius : 999px ;
91- background-color : # eee ;
92- color : # 333 ;
93- vertical-align : middle;
93+ background-color : rgba ( 0 , 0 , 0 , 0.7 ) ;
94+ color : # fff ;
95+ pointer-events : none; /* ensures clicks pass through */
9496}
9597
9698/* Optional: category-specific colors */
9799.tag .tv { background-color : # ffd54f ; color : # 000 ; } /* TV shows */
100+ .tag .movie { background-color : # ffd54f ; color : # 000 ; } /* Movies */
98101.tag .book { background-color : # 81d4fa ; color : # 000 ; } /* Books */
99- .tag .movie { background-color : # ef9a9a ; color : # 000 ; } /* Movies */
100- .tag .game { background-color : # a5d6a7 ; color : # 000 ; } /* Games */
102+ .tag .game { background-color : # ef9a9a ; color : # 000 ; } /* Games */
101103
102104.desc {
103105 width : 100% ;
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- </ a >
36- < div class ="desc "> Better Call Saul
3735 < span class ="tag tv "> TV</ span >
38- </ div >
36+ </ a >
37+ < div class ="desc "> Better Call Saul</ div >
3938 </ div >
4039
4140 < div class ="gallery ">
4241 < a target ="_blank " href ="https://www.goodreads.com/book/show/19776547-essentialism ">
4342 < img src ="assets/fav_tnails/essentialism.webp " alt ="Essentialism ">
43+ < span class ="tag book "> Book</ span >
4444 </ a >
45- < div class ="desc "> Essentialism
46- < span class ="tag book "> Book</ span >
47- </ div >
45+ < div class ="desc "> Essentialism</ div >
4846 </ div >
4947
5048 < div class ="gallery ">
5149 < a target ="_blank " href ="https://www.imdb.com/title/tt2278388 ">
5250 < img src ="assets/fav_tnails/grand.webp " alt ="The Grand Budapest Hotel ">
53- </ a >
54- < div class ="desc "> The Grand Budapest Hotel
5551 < span class ="tag movie "> Movie</ span >
56- </ div >
52+ </ a >
53+ < div class ="desc "> The Grand Budapest Hotel</ div >
5754 </ div >
5855
5956 < div class ="gallery ">
6057 < a target ="_blank " href ="https://store.steampowered.com/app/1151640/Horizon_Zero_Dawn_Complete_Edition/ ">
6158 < img src ="assets/fav_tnails/horizon.webp " alt ="Horizon Zero Dawn ">
62- </ a >
63- < div class ="desc "> Horizon Zero Dawn
6459 < span class ="tag game "> Game</ span >
65- </ div >
60+ </ a >
61+ < div class ="desc "> Horizon Zero Dawn</ div >
6662 </ div >
6763
6864</ div >
You can’t perform that action at this time.
0 commit comments