Files
cv-site/static/css/03-components/_projects.css
T
juanatsap 0947e19c70 fix: Replace ALL remaining hardcoded #ddd borders with theme variable
Replaced 12 hardcoded borders across 5 files:
- _cv-section.css: 2 borders (company icons)
- _projects.css: 2 borders (project icons)
- _courses.css: 2 borders (course icons)
- _toggles.css: 3 borders (logo containers)
- logo-toggle.css: 3 borders (logo containers)

All icon borders now use var(--icon-border):
- Light theme: #ddd (visible)
- Dark theme: transparent (invisible)

Verified with Playwright: rgba(0,0,0,0) in dark theme
2025-11-19 15:47:19 +00:00

231 lines
4.0 KiB
CSS

/* Projects */
.project-item {
display: flex;
gap: 1.2rem;
align-items: flex-start;
margin-bottom: 2.5rem;
padding-bottom: 2rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.project-icon {
flex-shrink: 0;
width: 80px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
}
.project-icon img {
width: 80px;
height: 80px;
object-fit: contain;
border-radius: 4px;
border: 1px solid var(--icon-border);
background: transparent;
padding: 4px;
}
.default-project-icon {
width: 80px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
border: 1px solid var(--icon-border);
background: transparent;
color: var(--text-light);
padding: 10px;
}
.project-content {
flex: 1;
}
.project-header {
margin-bottom: 0.5rem;
}
.project-title {
font-size: 1em;
font-weight: 600;
margin: 0 0 0.3rem 0;
line-height: 1.4;
color: var(--text-dark);
}
.project-title-text {
display: inline;
}
.project-title-text a {
color: var(--accent-blue);
text-decoration: none;
}
.project-title-text a:hover {
text-decoration: underline;
}
.project-period,
.project-separator,
.project-location {
color: var(--text-muted);
font-size: 0.9em;
font-weight: 600;
}
.project-separator {
color: var(--text-light);
}
.project-desc {
font-size: 0.95rem;
color: var(--text-dark);
margin-top: 0.5rem;
line-height: 1.6;
text-align: justify;
}
.project-technologies {
font-size: 0.85em;
color: var(--text-gray);
margin-top: 0.5rem;
line-height: 1.4;
}
.projects-footer {
margin-top: -1.5rem;
padding-top: 0rem;
text-align: center;
font-size: 0.95rem;
color: var(--text-gray);
}
.projects-footer p {
margin: 0;
}
.projects-footer a {
color: var(--accent-blue);
text-decoration: none;
}
.projects-footer a:hover {
text-decoration: underline;
}
/* References */
.reference-item {
margin-bottom: 0!important;
line-height: 1.4!important;
margin-left: 2rem!important;
font-size: 0.95rem!important;
}
.reference-item a {
color: var(--accent-blue);
text-decoration: none;
word-break: break-word;
}
.reference-item a:hover {
text-decoration: underline;
}
.ref-type {
display: block;
font-size: 0.8em;
color: var(--text-gray);
font-style: italic;
margin-top: 0.2rem;
}
/* Footer */
footer {
text-align: center;
padding: 2rem;
color: rgba(255,255,255,0.7);
font-size: 0.85rem;
}
/* GitHub repository link styling */
.github-repo-link {
color: whitesmoke !important;
transition: color 0.2s ease-in-out;
}
.github-repo-link:hover {
color: #66B3FF !important;
}
/* CV Version Toggle Animations */
@keyframes fadeInGrow {
from {
opacity: 0;
max-height: 0;
transform: scaleY(0.8);
transform-origin: top;
}
to {
opacity: 1;
max-height: 5000px;
transform: scaleY(1);
}
}
@keyframes fadeOutShrink {
from {
opacity: 1;
max-height: 5000px;
transform: scaleY(1);
}
to {
opacity: 0;
max-height: 0;
transform: scaleY(0.8);
transform-origin: top;
}
}
/* Elements that appear/disappear */
.long-only,
.short-desc {
overflow: hidden;
transition: all 0.3s ease-in-out;
}
/* Short CV - Hide detailed content with animation */
.cv-short .long-only {
display: none;
animation: fadeOutShrink 0.3s ease-in-out;
}
.cv-short .short-desc {
display: block;
animation: fadeInGrow 0.3s ease-in-out;
}
/* Long CV - Hide short descriptions with animation */
.cv-long .short-desc,
.short-desc {
display: none;
animation: fadeOutShrink 0.3s ease-in-out;
}
.cv-long .long-only {
display: block;
animation: fadeInGrow 0.3s ease-in-out;
}
.cv-long .responsibilities {
display: block;
animation: fadeInGrow 0.3s ease-in-out;
}