Skip to content

Commit 50c5d8b

Browse files
committed
colors.
1 parent bb69bbb commit 50c5d8b

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed
303 KB
Loading
-505 KB
Binary file not shown.
-290 KB
Binary file not shown.

src/components/ProjectCard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const ProjectCard = ({ project, size = 1 }) => {
66
const colSpanClass = size === 2 ? 'md:col-span-2' : size === 3 ? 'md:col-span-3' : 'col-span-1';
77

88
return (
9-
<Link to={`/projects/${project.slug}`} className={`block bg-gray-800/50 p-6 rounded-lg shadow-lg hover:bg-gray-800/80 transition-colors border border-gray-700/50 cursor-pointer flex flex-col ${colSpanClass}`}>
9+
<Link to={`/projects/${project.slug}`} className={`block bg-gray-800/10 p-6 rounded-lg shadow-lg hover:bg-gray-800/20 transition-colors border border-gray-700/50 cursor-pointer flex flex-col ${colSpanClass}`}>
1010
<h3 className="text-xl font-semibold text-white">{project.title}</h3>
1111
<p className="mt-2 text-gray-400 flex-grow">{project.description}</p>
1212
<a href={project.link || `/projects/${project.slug}`} target="_blank" rel="noopener noreferrer" className="mt-4 inline-block text-red-500 hover:text-red-300 transition-colors mt-auto flex items-center">

src/index.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ code {
3030
border-radius: 0.25rem; /* rounded corners */
3131
}
3232

33-
@media (min-width: 700px) { /* md breakpoint */
33+
@media (min-width: 768px) { /* md breakpoint */
3434
.prose img {
35-
max-width: 25%; /* 25% width on larger screens */
35+
max-height: 500px;
36+
/*max-width: 100%; !* 25% width on larger screens *!*/
3637
}
3738
}
3839

0 commit comments

Comments
 (0)