Summerize's picture
optimize the textual hyperlinks in the top and bottom / footer menu in a matching design
a783250 verified
Raw History Blame Contribute Delete
1.39 kB
/* 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;
}
}