129 lines
No EOL
2.2 KiB
CSS
129 lines
No EOL
2.2 KiB
CSS
#projects-tab {
|
|
overflow-y: auto;
|
|
padding-right: 8px;
|
|
height: 100%;
|
|
}
|
|
|
|
#projects-tab h2 {
|
|
margin-top: 0;
|
|
text-align: center;
|
|
color: #d2c6f8;
|
|
text-shadow: 0 0 6px var(--accent-color)80;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
#projects-tab::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
#projects-tab::-webkit-scrollbar-thumb {
|
|
background: color-mix(in srgb, var(--accent-color) 40%, transparent);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.projects-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 20px;
|
|
width: 100%;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.projects-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 20px;
|
|
width: 100%;
|
|
max-width: 900px;
|
|
}
|
|
|
|
.project-card {
|
|
width: calc(33.333% - 20px);
|
|
min-width: 200px;
|
|
max-width: 300px;
|
|
border-radius: 15px;
|
|
overflow: hidden;
|
|
background-color: #1b1429;
|
|
box-shadow: 0 0 10px rgba(140, 82, 255, 0.3);
|
|
transition: transform 0.3s, box-shadow 0.3s;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.project-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 5px 15px rgba(140, 82, 255, 0.5);
|
|
}
|
|
|
|
.project-image {
|
|
height: 150px;
|
|
background-color: #2b1f4c;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #e6dbff;
|
|
font-weight: bold;
|
|
border-bottom: 2px solid var(--accent-color);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.project-thumbnail {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: transform 0.3s;
|
|
}
|
|
|
|
.project-card:hover .project-thumbnail {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.project-info {
|
|
padding: 15px;
|
|
text-align: center;
|
|
background-color: #1b1429;
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.project-title {
|
|
font-size: 1.2rem;
|
|
font-weight: bold;
|
|
color: #e6dbff;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.project-desc {
|
|
font-size: 0.9rem;
|
|
color: #b7a4d4;
|
|
}
|
|
|
|
.coming-soon {
|
|
margin-top: 10px;
|
|
font-size: 1.1rem;
|
|
color: var(--accent-color);
|
|
text-align: center;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Media query for tablet and mobile devices */
|
|
@media (max-width: 768px) {
|
|
.project-card {
|
|
width: calc(50% - 20px);
|
|
min-width: 150px;
|
|
}
|
|
}
|
|
|
|
/* Media query for small mobile devices */
|
|
@media (max-width: 480px) {
|
|
.project-card {
|
|
width: 100%;
|
|
max-width: 250px;
|
|
}
|
|
} |