Spaces:
Running
Running
File size: 1,391 Bytes
5617195 a783250 5617195 a783250 5617195 a783250 5617195 a783250 5617195 a783250 5617195 a783250 5617195 a783250 5617195 a783250 5617195 21c1a06 5617195 21c1a06 5617195 21c1a06 5617195 21c1a06 a783250 5617195 21c1a06 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
/* Custom styles that can't be easily achieved with Tailwind */
.tool-card {
transition: all 0.3s ease;
height: 100%;
display: flex;
flex-direction: column;
}
.tool-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.tool-card img {
height: 200px;
object-fit: cover;
width: 100%;
}
.tool-card-content {
padding: 1.5rem;
flex: 1;
display: flex;
flex-direction: column;
}
.tool-card-footer {
margin-top: auto;
}
#tool-modal {
transition: opacity 0.3s ease;
}
/* Modal content styling */
#tool-modal div {
max-width: 90%;
width: 800px;
}
#tool-modal img {
max-height: 300px;
object-fit: contain;
}
/* Custom scrollbar for modal */
#tool-modal div::-webkit-scrollbar {
width: 8px;
}
#tool-modal div::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 0 0 10px 10px;
}
#tool-modal div::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
#tool-modal div::-webkit-scrollbar-thumb:hover {
background: #555;
}
/* Ensure consistent card heights */
.grid-cols-1 > .tool-card,
.grid-cols-2 > .tool-card,
.grid-cols-3 > .tool-card {
height: 100%;
}
/* Responsive adjustments */
@media (max-width: 768px) {
#tool-modal img {
max-height: 200px;
}
.tool-card img {
height: 150px;
}
}
|