You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
272 lines
4.0 KiB
272 lines
4.0 KiB
.project-detail-container {
|
|
padding: 2rem;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
background-color: var(--bg-primary);
|
|
}
|
|
|
|
.project-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.project-title {
|
|
color: var(--text-primary);
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.project-gallery {
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.gallery-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
gap: 1rem;
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.gallery-item {
|
|
overflow: hidden;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
height: 200px;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.gallery-item:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.gallery-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.project-content {
|
|
color: var(--text-secondary);
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.project-technologies {
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.tech-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
/* Lightbox styles */
|
|
.lightbox {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.9);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.lightbox-image {
|
|
max-width: 90%;
|
|
max-height: 90vh;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.lightbox-close {
|
|
position: absolute;
|
|
top: 1rem;
|
|
right: 1rem;
|
|
background: none;
|
|
border: none;
|
|
color: white;
|
|
font-size: 2rem;
|
|
cursor: pointer;
|
|
padding: 0.5rem;
|
|
z-index: 1001;
|
|
}
|
|
|
|
.lightbox-prev,
|
|
.lightbox-next {
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background: none;
|
|
border: none;
|
|
color: white;
|
|
font-size: 2rem;
|
|
cursor: pointer;
|
|
padding: 1rem;
|
|
z-index: 1001;
|
|
}
|
|
|
|
.lightbox-prev {
|
|
left: 1rem;
|
|
}
|
|
|
|
.lightbox-next {
|
|
right: 1rem;
|
|
}
|
|
|
|
.project-detail {
|
|
padding: 2rem;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.back-button {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.back-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: var(--text-primary);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.back-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.loading {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 4rem 0;
|
|
}
|
|
|
|
.loading-spinner {
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 3px solid var(--bg-secondary);
|
|
border-top-color: var(--text-primary);
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.project-header {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2.5rem;
|
|
color: var(--text-primary);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.project-technologies {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.tech-tag {
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
padding: 0.25rem 0.75rem;
|
|
border-radius: 15px;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.project-image {
|
|
width: 100%;
|
|
max-height: 500px;
|
|
overflow: hidden;
|
|
border-radius: 8px;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.project-image img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.project-description,
|
|
.project-features,
|
|
.project-resources {
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.75rem;
|
|
color: var(--text-primary);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.project-features ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.project-features li {
|
|
margin-bottom: 0.5rem;
|
|
padding-left: 1.5rem;
|
|
position: relative;
|
|
}
|
|
|
|
.project-features li::before {
|
|
content: "•";
|
|
position: absolute;
|
|
left: 0;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.resources-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.resource-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 1rem;
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.resource-link:hover {
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.resource-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.error {
|
|
text-align: center;
|
|
padding: 4rem 0;
|
|
}
|
|
|
|
.error h2 {
|
|
color: var(--color-error);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.error p {
|
|
margin-bottom: 2rem;
|
|
color: var(--text-secondary);
|
|
} |