refactor: Modularize CSS and fix theme-aware text colors
CSS Restructuring: - Reorganize monolithic main.css into modular architecture - Create foundation/ (reset, variables, typography, themes) - Create layout/ (container, page, grid, paper) - Create components/ (8 component files) - Create interactive/ (toggles, remaining for future split) - Create effects/ (skeleton loading) - Create contexts/ (print styles) Theme Support Fixes: - Replace all hardcoded text colors with CSS variables - Fix .section-title: rgb(51,51,51) → var(--text-primary) - Fix .cv-name, .intro-text: hardcoded → theme-aware - Fix .experience-period, .duration-text: #555/#aaa → variables - Fix course/project/experience text colors - Support proper light/dark theme text contrast Icon & Layout Fixes: - Standardize all icon sizes to 80×80px - Change all icon backgrounds to transparent - Fix award section layout (missing flexbox) - Update HTML templates (experience.html, awards.html) to width='80' - Fix default icon sizing conflicts View Switcher Fix: - Fix toggleTheme() to target .cv-container instead of body - Ensures clean/default theme toggle works correctly Files: 40+ CSS files modularized, 3 templates updated, 7 tests added
This commit is contained in:
@@ -0,0 +1,602 @@
|
||||
/* Single Black Top Bar */
|
||||
.action-bar {
|
||||
background: var(--action-bar-bg);
|
||||
color: var(--action-bar-text);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
box-shadow: var(--shadow-md);
|
||||
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
|
||||
}
|
||||
|
||||
.action-bar-content {
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto 1fr;
|
||||
align-items: stretch;
|
||||
gap: 2rem;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
/* Left: Site Title */
|
||||
.site-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
justify-self: start;
|
||||
white-space: nowrap;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.site-title-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.site-icon {
|
||||
color: #fff;
|
||||
flex-shrink: 0;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 36px;
|
||||
padding: 0 .5rem 0 1.5rem;
|
||||
}
|
||||
|
||||
/* Mobile icon hidden by default, shown only on mobile */
|
||||
.site-icon-mobile {
|
||||
display: none;
|
||||
color: #fff;
|
||||
flex-shrink: 0;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
/* Site logo and title links */
|
||||
.site-logo-link,
|
||||
.site-title-link {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 36px;
|
||||
transition: opacity 0.2s ease;
|
||||
}
|
||||
|
||||
.site-logo-link:hover,
|
||||
.site-title-link:hover {
|
||||
opacity: 0.8;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.site-logo-link {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Ensure Iconify icons display properly */
|
||||
.iconify,
|
||||
iconify-icon {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.site-title-text {
|
||||
font-size: 1.05rem;
|
||||
font-weight: 500;
|
||||
color: #fff;
|
||||
letter-spacing: -0.01em;
|
||||
line-height: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 36px;
|
||||
padding: 0 1rem 0 0rem;
|
||||
}
|
||||
|
||||
/* Center: View controls with labels */
|
||||
.view-controls-center {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 2.5rem;
|
||||
justify-self: center;
|
||||
flex-shrink: 0;
|
||||
white-space: nowrap;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.selector-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.selector-label {
|
||||
font-size: 0.875rem;
|
||||
color: rgba(255,255,255,0.85);
|
||||
font-weight: 500;
|
||||
white-space: nowrap;
|
||||
letter-spacing: -0.01em;
|
||||
line-height: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
.selector-label span {
|
||||
color: #27ae60;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.language-toggle,
|
||||
.cv-length-toggle,
|
||||
.logo-toggle {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Right: Action buttons */
|
||||
.action-buttons {
|
||||
justify-self: end;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.htmx-indicator {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.lang-btn {
|
||||
padding: 0.4rem 1rem;
|
||||
border: 1px solid rgba(255,255,255,0.3);
|
||||
background: transparent;
|
||||
color: white;
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
text-transform: capitalize;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.lang-btn:hover {
|
||||
background: rgba(255,255,255,0.1);
|
||||
border-color: rgba(255,255,255,0.5);
|
||||
}
|
||||
|
||||
.lang-btn.active {
|
||||
background: #27ae60 !important;
|
||||
border-color: #27ae60 !important;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* Icon Toggle Switches */
|
||||
.icon-toggle {
|
||||
position: relative;
|
||||
display: flex;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.icon-toggle input[type="checkbox"] {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.icon-toggle-slider {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 75px;
|
||||
height: 30px;
|
||||
background: #e0e0e0;
|
||||
border: 2px solid #d0d0d0;
|
||||
border-radius: 15px;
|
||||
padding: 0 6px;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.icon-toggle-slider::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
left: 2px;
|
||||
background: white;
|
||||
border-radius: 50%;
|
||||
transition: transform 0.3s ease;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.3);
|
||||
z-index: 2;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.icon-toggle input:checked + .icon-toggle-slider::before {
|
||||
transform: translateX(43px);
|
||||
}
|
||||
|
||||
.icon-toggle input:checked + .icon-toggle-slider {
|
||||
background: #27ae60;
|
||||
border-color: #229954;
|
||||
}
|
||||
|
||||
.icon-toggle-slider .icon-left,
|
||||
.icon-toggle-slider .icon-right {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
transition: all 0.3s ease;
|
||||
flex-shrink: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.icon-toggle-slider .icon-left {
|
||||
left: 6px;
|
||||
}
|
||||
|
||||
.icon-toggle-slider .icon-right {
|
||||
right: 6px;
|
||||
}
|
||||
|
||||
.icon-toggle input:not(:checked) + .icon-toggle-slider .icon-left {
|
||||
color: #333 !important;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.icon-toggle input:not(:checked) + .icon-toggle-slider .icon-right {
|
||||
color: #999 !important;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.icon-toggle input:checked + .icon-toggle-slider .icon-left {
|
||||
color: rgba(255,255,255,0.4) !important;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.icon-toggle input:checked + .icon-toggle-slider .icon-right {
|
||||
color: white !important;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.icon-toggle input:focus + .icon-toggle-slider {
|
||||
box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.2);
|
||||
}
|
||||
|
||||
/* Language selector wrapper - contains indicators outside swap target */
|
||||
.language-selector-wrapper {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
height: 100%;
|
||||
/* Ensure wrapper doesn't create extra spacing */
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
/* Language selector - matching action button style */
|
||||
.language-selector {
|
||||
display: inline-flex;
|
||||
gap: 0;
|
||||
padding: 0;
|
||||
padding-left: 1rem; /* Space after the title */
|
||||
margin-right: 0;
|
||||
background: transparent;
|
||||
border-radius: 0;
|
||||
height: 100%;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
/* Position language indicators next to their respective buttons */
|
||||
#lang-indicator-en,
|
||||
#lang-indicator-es {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
pointer-events: none;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
/* Position indicators inside the button visual area */
|
||||
#lang-indicator-en {
|
||||
left: calc(1rem + 50px); /* Inside first button */
|
||||
}
|
||||
|
||||
#lang-indicator-es {
|
||||
left: calc(1rem + 135px); /* Inside second button */
|
||||
}
|
||||
|
||||
.selector-btn {
|
||||
padding: 0 1.5rem;
|
||||
background: transparent;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
/* gap: 0.5rem; */
|
||||
gap: 0rem;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
letter-spacing: -0.01em;
|
||||
height: 100%;
|
||||
line-height: 1;
|
||||
transition: all 0.2s ease;
|
||||
outline: none !important;
|
||||
box-shadow: none !important;
|
||||
min-width: 50px!important;
|
||||
}
|
||||
|
||||
.selector-btn:focus,
|
||||
.selector-btn:focus-visible,
|
||||
.selector-btn:active {
|
||||
outline: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.selector-btn:hover {
|
||||
background: #666;
|
||||
}
|
||||
|
||||
.selector-btn:hover iconify-icon {
|
||||
color: #27ae60;
|
||||
}
|
||||
|
||||
.selector-btn.active {
|
||||
background: #27ae60;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.selector-btn:not(.active) {
|
||||
background: transparent;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* Language selector buttons - no global animations (applied in responsive range only) */
|
||||
|
||||
/* Action buttons - transparent with white text */
|
||||
.action-btn {
|
||||
padding: 0 1.5rem;
|
||||
background: transparent;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
letter-spacing: -0.01em;
|
||||
height: 100%;
|
||||
line-height: 1;
|
||||
transition: background-color 0.3s ease, color 0.3s ease; /* Smooth color transitions */
|
||||
}
|
||||
|
||||
.action-btn iconify-icon {
|
||||
color: white;
|
||||
transition: color 0.3s ease; /* Smooth icon color transition */
|
||||
}
|
||||
|
||||
.action-btn:hover {
|
||||
background: #ddd;
|
||||
color: #333;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.action-btn:hover iconify-icon {
|
||||
color: #27ae60;
|
||||
}
|
||||
|
||||
/* PDF Download button - gray by default, red on hover */
|
||||
.pdf-btn {
|
||||
background: transparent !important; /* Transparent like other buttons */
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
.pdf-btn:hover,
|
||||
.pdf-btn.pdf-hover-sync {
|
||||
background: #cd6060 !important; /* PDF red on hover */
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
.pdf-btn iconify-icon {
|
||||
color: white !important;
|
||||
filter: brightness(0) invert(1); /* Always white */
|
||||
transition: filter 0.3s ease;
|
||||
}
|
||||
|
||||
.pdf-btn:hover iconify-icon {
|
||||
color: white !important;
|
||||
filter: brightness(0) invert(1); /* Keep white on hover */
|
||||
}
|
||||
|
||||
/* Print Friendly button - white bg with green icon on hover */
|
||||
.print-btn {
|
||||
background: transparent !important;
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
.print-btn:hover,
|
||||
.print-btn.print-hover-sync {
|
||||
background: white !important; /* White background on hover */
|
||||
color: #27ae60 !important; /* Green icon on hover */
|
||||
}
|
||||
|
||||
.print-btn iconify-icon {
|
||||
color: white; /* White icon by default */
|
||||
}
|
||||
|
||||
.print-btn:hover iconify-icon,
|
||||
.print-btn.print-hover-sync iconify-icon {
|
||||
color: #27ae60; /* Green icon on hover */
|
||||
}
|
||||
|
||||
/* CV Length Toggle - Center of action bar */
|
||||
.cv-length-toggle {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
justify-self: center;
|
||||
}
|
||||
|
||||
.length-btn {
|
||||
padding: 0.4rem 1rem;
|
||||
border: 1px solid rgba(255,255,255,0.4);
|
||||
background: rgba(255,255,255,0.1);
|
||||
color: white;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 500;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.length-btn:hover {
|
||||
background: rgba(255,255,255,0.2);
|
||||
border-color: rgba(255,255,255,0.6);
|
||||
}
|
||||
|
||||
.length-btn.active {
|
||||
background: white;
|
||||
color: #1a1a1a;
|
||||
border-color: white;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Action buttons styling (already positioned by grid) */
|
||||
.action-buttons,
|
||||
.action-buttons-right {
|
||||
display: flex;
|
||||
gap: 0;
|
||||
align-items: stretch;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.action-buttons-right {
|
||||
justify-self: end;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
/* ============================================================================
|
||||
HTMX Loading Indicators
|
||||
========================================================================= */
|
||||
|
||||
/* Base indicator styles - hidden by default with opacity for smooth transitions */
|
||||
.htmx-indicator {
|
||||
opacity: 0; /* Hidden by default */
|
||||
transition: opacity 200ms ease-in-out;
|
||||
pointer-events: none;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: absolute; /* Remove from layout flow to prevent spacing issues */
|
||||
}
|
||||
|
||||
/* Override for when request is active - must come AFTER base rule */
|
||||
.htmx-indicator.htmx-request,
|
||||
#lang-indicator-en.htmx-request,
|
||||
#lang-indicator-es.htmx-request {
|
||||
opacity: 1 !important; /* Force visible state */
|
||||
}
|
||||
|
||||
/* Ensure iconify-icon indicators override global iconify-icon display style */
|
||||
iconify-icon.htmx-indicator {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* Show indicators during HTMX requests */
|
||||
/* Using span wrapper, so target span.htmx-request specifically */
|
||||
span.htmx-request.htmx-indicator,
|
||||
.htmx-request .htmx-indicator,
|
||||
.htmx-request.htmx-indicator {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
/* Spinning animation for loading icons */
|
||||
.htmx-indicator.spinning {
|
||||
animation: htmx-spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes htmx-spin {
|
||||
from { transform: rotate(0deg); }
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
/* Indicator size variants */
|
||||
.htmx-indicator.small {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.htmx-indicator.medium {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.htmx-indicator.large {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
/* Positioning variants */
|
||||
.htmx-indicator.inline {
|
||||
display: inline-flex;
|
||||
margin-left: 8px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.htmx-indicator.inline-start {
|
||||
display: inline-flex;
|
||||
margin-right: 8px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* Color variants for different contexts */
|
||||
.htmx-indicator.light {
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
.htmx-indicator.dark {
|
||||
color: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.htmx-indicator.accent {
|
||||
color: #27ae60;
|
||||
}
|
||||
|
||||
/* Respect reduced motion preference */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.htmx-indicator.spinning {
|
||||
animation: none;
|
||||
}
|
||||
.htmx-indicator {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Legacy loader class for backward compatibility */
|
||||
.loader {
|
||||
border: 2px solid #f3f3f3;
|
||||
border-top: 2px solid white;
|
||||
border-radius: 50%;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
animation: htmx-spin 1s linear infinite;
|
||||
}
|
||||
|
||||
/* ============================================================================
|
||||
Inline Loading States for HTMX Transitions
|
||||
========================================================================= */
|
||||
|
||||
/* Inline loading states - no blocking overlay, smooth transitions only */
|
||||
/* Language selector buttons already have htmx-indicator spinners */
|
||||
/* CV content areas show subtle fade during swap */
|
||||
@@ -0,0 +1,90 @@
|
||||
/* Courses */
|
||||
.course-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);
|
||||
}
|
||||
|
||||
/* Keep border on all course items including last one */
|
||||
|
||||
.course-icon {
|
||||
flex-shrink: 0;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.course-icon img {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
object-fit: contain;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ddd;
|
||||
background: transparent;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.default-course-icon {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ddd;
|
||||
background: transparent;
|
||||
color: var(--text-light);
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.course-content {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.course-header {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.course-title {
|
||||
font-size: 1em;
|
||||
font-weight: 600;
|
||||
margin: 0 0 0.3rem 0;
|
||||
line-height: 1.4;
|
||||
color: var(--text-dark);
|
||||
}
|
||||
|
||||
.course-title-text {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.course-institution {
|
||||
display: inline;
|
||||
margin-left: 0.5em;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.course-period,
|
||||
.course-separator,
|
||||
.course-location,
|
||||
.course-duration {
|
||||
color: var(--text-muted);
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.course-separator {
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
.course-desc {
|
||||
font-size: 0.85em;
|
||||
color: var(--text-gray);
|
||||
margin-top: 0.4rem;
|
||||
line-height: 1.4;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
/* Header with photo and name */
|
||||
.cv-header {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.cv-header-content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.cv-header-left {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
/* Desktop: Add right padding to make room for the photo */
|
||||
padding-right: 185px; /* Photo width (150px) + gap (35px) */
|
||||
}
|
||||
|
||||
.cv-photo {
|
||||
width: 150px;
|
||||
height: 200px;
|
||||
flex-shrink: 0;
|
||||
overflow: hidden;
|
||||
border: 3px solid white;
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
|
||||
|
||||
/* Desktop: Position photo in the right padding area */
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 15px; /* Margin from the right edge */
|
||||
}
|
||||
|
||||
.cv-photo img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.cv-name {
|
||||
font-family: 'Quicksand', sans-serif;
|
||||
font-size: 2.2em;
|
||||
font-weight: 400;
|
||||
{{/* font-style: italic; */}}
|
||||
line-height: 1.1;
|
||||
margin-bottom: 8px;
|
||||
color: var(--text-primary);
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.cv-experience-years {
|
||||
font-family: 'Quicksand', sans-serif;
|
||||
font-size: 0.9em;
|
||||
font-weight: 500;
|
||||
line-height: 1.5;
|
||||
color: var(--text-primary);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.years-experience {
|
||||
font-family: 'Quicksand', sans-serif;
|
||||
font-size: 1.25em;
|
||||
font-weight: 400;
|
||||
color: var(--text-muted);
|
||||
margin: 4px 0 0 0;
|
||||
line-height: 1.4;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* Intro/Excerpt Text - Positioned inside header, matching old React CV */
|
||||
.intro-text {
|
||||
font-family: 'Quicksand', sans-serif;
|
||||
font-size: 1.0em;
|
||||
line-height: 1.6;
|
||||
color: var(--text-secondary);
|
||||
margin-top: 20px;
|
||||
text-align: justify;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,309 @@
|
||||
/* Sections */
|
||||
.cv-section {
|
||||
margin-bottom: 3rem;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
/* Remove margin when section is collapsed */
|
||||
.cv-section:has(details:not([open])) {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-family: 'Quicksand', sans-serif;
|
||||
font-size: 1.4em;
|
||||
font-weight: 500;
|
||||
line-height: 1.2em;
|
||||
margin: 20px 0 25px 0;
|
||||
padding: 0;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
/* Collapsible Section Styles */
|
||||
.cv-section details {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.cv-section details summary ~ * {
|
||||
overflow: hidden;
|
||||
max-height: 0;
|
||||
opacity: 0;
|
||||
transform: translateY(-8px);
|
||||
transition: max-height 0.5s ease-in-out,
|
||||
opacity 0.3s ease-in-out,
|
||||
transform 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.cv-section details[open] summary ~ * {
|
||||
max-height: 3000px;
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.cv-section summary {
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
user-select: none;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Remove default triangle marker in all browsers */
|
||||
.cv-section summary::-webkit-details-marker,
|
||||
.cv-section summary::marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Add custom collapse indicator after the title */
|
||||
.cv-section summary .section-title {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.cv-section summary .section-title::after {
|
||||
content: '▼';
|
||||
font-size: 0.8em;
|
||||
color: var(--text-muted);
|
||||
transition: transform 0.2s ease, opacity 0.2s ease;
|
||||
opacity: 0;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
/* Show indicator on hover or when closed */
|
||||
.cv-section summary:hover .section-title::after,
|
||||
.cv-section details:not([open]) summary .section-title::after {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Rotate indicator when closed */
|
||||
.cv-section details:not([open]) summary .section-title::after {
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
|
||||
/* Hover effect on summary */
|
||||
.cv-section summary:hover .section-title {
|
||||
color: var(--accent-blue);
|
||||
}
|
||||
|
||||
.summary-text {
|
||||
font-family: 'Quicksand', sans-serif;
|
||||
line-height: 1.5;
|
||||
text-align: justify;
|
||||
font-size: 0.9em;
|
||||
font-weight: 400;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
/* Experience */
|
||||
/* Experience item layout moved to logo-toggle.css */
|
||||
|
||||
.experience-header {
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
|
||||
.experience-title-line {
|
||||
margin-bottom: 0.3em;
|
||||
}
|
||||
|
||||
.position {
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
margin: 0;
|
||||
color: var(--text-dark);
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.position .position-title {
|
||||
display: inline-block;
|
||||
margin-right: 0.3em;
|
||||
}
|
||||
|
||||
.position .company-name {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.current-badge {
|
||||
display: inline-block;
|
||||
background: #27ae60;
|
||||
color: white;
|
||||
font-weight: 700;
|
||||
font-size: 0.7em;
|
||||
padding: 0.2em 0.5em;
|
||||
border-radius: 3px;
|
||||
margin-left: 0.5em;
|
||||
vertical-align: middle;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.live-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.3em;
|
||||
background: #27ae60;
|
||||
color: white;
|
||||
font-weight: 700;
|
||||
font-size: 0.7em;
|
||||
padding: 0.2em 0.5em;
|
||||
border-radius: 3px;
|
||||
margin-left: 0.5em;
|
||||
vertical-align: middle;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.live-badge iconify-icon {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.expired-badge {
|
||||
display: inline-block;
|
||||
background: #e74c3c;
|
||||
color: white;
|
||||
font-weight: 700;
|
||||
font-size: 0.7em;
|
||||
padding: 0.2em 0.5em;
|
||||
border-radius: 3px;
|
||||
margin-left: 0.5em;
|
||||
vertical-align: middle;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.maintained-badge {
|
||||
display: inline-block;
|
||||
background: #3498db;
|
||||
color: white;
|
||||
font-weight: 700;
|
||||
font-size: 0.7em;
|
||||
padding: 0.2em 0.5em;
|
||||
border-radius: 3px;
|
||||
margin-left: 0.5em;
|
||||
vertical-align: middle;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.experience-period,
|
||||
.experience-separator,
|
||||
.experience-location,
|
||||
.experience-duration {
|
||||
color: var(--text-muted);
|
||||
font-weight: 600;
|
||||
display: inline-block;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.experience-duration {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.short-desc {
|
||||
color: var(--text-dark);
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.6;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.duration-text {
|
||||
color: var(--text-light);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.responsibilities {
|
||||
list-style: none;
|
||||
margin-top: 1rem;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.responsibilities li {
|
||||
padding-left: 1.2rem;
|
||||
margin-bottom: 0.4rem;
|
||||
position: relative;
|
||||
font-size: 0.95rem;
|
||||
color: var(--text-dark);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.responsibilities li:before {
|
||||
content: "•";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
color: var(--text-gray);
|
||||
}
|
||||
|
||||
/* Responsibilities with company icons (similar to main experience layout) */
|
||||
.responsibilities li:has(img),
|
||||
.responsibilities li:has(iconify-icon) {
|
||||
display: grid;
|
||||
grid-template-columns: 60px 1fr;
|
||||
gap: 1rem;
|
||||
padding-left: 0;
|
||||
margin-bottom: 1rem;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.responsibilities li:has(img):before,
|
||||
.responsibilities li:has(iconify-icon):before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.responsibilities li img {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
object-fit: contain;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ddd;
|
||||
background: transparent;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.responsibilities li iconify-icon.default-company-icon {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ddd;
|
||||
background: transparent;
|
||||
color: var(--text-light);
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
/* Education */
|
||||
.education-item {
|
||||
margin-bottom: 1rem;
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.6;
|
||||
color: var(--text-dark);
|
||||
}
|
||||
|
||||
|
||||
/* Languages */
|
||||
.languages-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.language-item {
|
||||
font-size: 0.95rem!important;
|
||||
color: var(--text-dark);
|
||||
margin-bottom: 0.3rem!important;
|
||||
line-height: 1.4!important;
|
||||
margin-left: 2rem!important;
|
||||
}
|
||||
|
||||
.language-item small {
|
||||
display: block;
|
||||
font-size: 0.8em;
|
||||
margin-top: 0.2rem;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Experience Items */
|
||||
.experience-item {
|
||||
margin-bottom: 2.5rem;
|
||||
padding-bottom: 2rem;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
/* Keep border on all experience items including last one */
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
/* Education */
|
||||
.education-item {
|
||||
margin-bottom: 1rem;
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.6;
|
||||
color: var(--text-dark);
|
||||
}
|
||||
|
||||
|
||||
/* Languages */
|
||||
.languages-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.language-item {
|
||||
font-size: 0.95rem!important;
|
||||
color: var(--text-dark);
|
||||
margin-bottom: 0.3rem!important;
|
||||
line-height: 1.4!important;
|
||||
margin-left: 2rem!important;
|
||||
}
|
||||
|
||||
.language-item small {
|
||||
display: block;
|
||||
font-size: 0.8em;
|
||||
margin-top: 0.2rem;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Experience Items */
|
||||
.experience-item {
|
||||
margin-bottom: 2.5rem;
|
||||
padding-bottom: 2rem;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
/* Keep border on all experience items including last one */
|
||||
|
||||
@@ -0,0 +1,533 @@
|
||||
/* Experience */
|
||||
/* Experience item layout moved to logo-toggle.css */
|
||||
|
||||
.experience-header {
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
|
||||
.experience-title-line {
|
||||
margin-bottom: 0.3em;
|
||||
}
|
||||
|
||||
.position {
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
margin: 0;
|
||||
color: var(--text-dark);
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.position .position-title {
|
||||
display: inline-block;
|
||||
margin-right: 0.3em;
|
||||
}
|
||||
|
||||
.position .company-name {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.current-badge {
|
||||
display: inline-block;
|
||||
background: #27ae60;
|
||||
color: white;
|
||||
font-weight: 700;
|
||||
font-size: 0.7em;
|
||||
padding: 0.2em 0.5em;
|
||||
border-radius: 3px;
|
||||
margin-left: 0.5em;
|
||||
vertical-align: middle;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.live-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.3em;
|
||||
background: #27ae60;
|
||||
color: white;
|
||||
font-weight: 700;
|
||||
font-size: 0.7em;
|
||||
padding: 0.2em 0.5em;
|
||||
border-radius: 3px;
|
||||
margin-left: 0.5em;
|
||||
vertical-align: middle;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.live-badge iconify-icon {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.expired-badge {
|
||||
display: inline-block;
|
||||
background: #e74c3c;
|
||||
color: white;
|
||||
font-weight: 700;
|
||||
font-size: 0.7em;
|
||||
padding: 0.2em 0.5em;
|
||||
border-radius: 3px;
|
||||
margin-left: 0.5em;
|
||||
vertical-align: middle;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.maintained-badge {
|
||||
display: inline-block;
|
||||
background: #3498db;
|
||||
color: white;
|
||||
font-weight: 700;
|
||||
font-size: 0.7em;
|
||||
padding: 0.2em 0.5em;
|
||||
border-radius: 3px;
|
||||
margin-left: 0.5em;
|
||||
vertical-align: middle;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.experience-period,
|
||||
.experience-separator,
|
||||
.experience-location,
|
||||
.experience-duration {
|
||||
color: var(--text-muted);
|
||||
font-weight: 600;
|
||||
display: inline-block;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.experience-duration {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.short-desc {
|
||||
color: var(--text-dark);
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.6;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.duration-text {
|
||||
color: var(--text-light);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.responsibilities {
|
||||
list-style: none;
|
||||
margin-top: 1rem;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.responsibilities li {
|
||||
padding-left: 1.2rem;
|
||||
margin-bottom: 0.4rem;
|
||||
position: relative;
|
||||
font-size: 0.95rem;
|
||||
color: var(--text-dark);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.responsibilities li:before {
|
||||
content: "•";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
color: var(--text-gray);
|
||||
}
|
||||
|
||||
/* Responsibilities with company icons (similar to main experience layout) */
|
||||
.responsibilities li:has(img),
|
||||
.responsibilities li:has(iconify-icon) {
|
||||
display: grid;
|
||||
grid-template-columns: 60px 1fr;
|
||||
gap: 1rem;
|
||||
padding-left: 0;
|
||||
margin-bottom: 1rem;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.responsibilities li:has(img):before,
|
||||
.responsibilities li:has(iconify-icon):before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.responsibilities li img {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
object-fit: contain;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ddd;
|
||||
background: transparent;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.responsibilities li iconify-icon.default-company-icon {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ddd;
|
||||
background: transparent;
|
||||
color: var(--text-light);
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
/* Education */
|
||||
.education-item {
|
||||
margin-bottom: 1rem;
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.6;
|
||||
color: var(--text-dark);
|
||||
}
|
||||
|
||||
|
||||
/* Languages */
|
||||
.languages-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.language-item {
|
||||
font-size: 0.95rem!important;
|
||||
color: var(--text-dark);
|
||||
margin-bottom: 0.3rem!important;
|
||||
line-height: 1.4!important;
|
||||
margin-left: 2rem!important;
|
||||
}
|
||||
|
||||
.language-item small {
|
||||
display: block;
|
||||
font-size: 0.8em;
|
||||
margin-top: 0.2rem;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Experience Items */
|
||||
.experience-item {
|
||||
margin-bottom: 2.5rem;
|
||||
padding-bottom: 2rem;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
/* Keep border on all experience items including last one */
|
||||
|
||||
/* Courses */
|
||||
.course-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);
|
||||
}
|
||||
|
||||
/* Keep border on all course items including last one */
|
||||
|
||||
.course-icon {
|
||||
flex-shrink: 0;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.course-icon img {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
object-fit: contain;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ddd;
|
||||
background: transparent;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.default-course-icon {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ddd;
|
||||
background: transparent;
|
||||
color: var(--text-light);
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.course-content {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.course-header {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.course-title {
|
||||
font-size: 1em;
|
||||
font-weight: 600;
|
||||
margin: 0 0 0.3rem 0;
|
||||
line-height: 1.4;
|
||||
color: var(--text-dark);
|
||||
}
|
||||
|
||||
.course-title-text {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.course-institution {
|
||||
display: inline;
|
||||
margin-left: 0.5em;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.course-period,
|
||||
.course-separator,
|
||||
.course-location,
|
||||
.course-duration {
|
||||
color: var(--text-muted);
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.course-separator {
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
.course-desc {
|
||||
font-size: 0.85em;
|
||||
color: var(--text-gray);
|
||||
margin-top: 0.4rem;
|
||||
line-height: 1.4;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
/* 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 #ddd;
|
||||
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 #ddd;
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
/* Languages */
|
||||
.languages-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.language-item {
|
||||
font-size: 0.95rem!important;
|
||||
color: var(--text-dark);
|
||||
margin-bottom: 0.3rem!important;
|
||||
line-height: 1.4!important;
|
||||
margin-left: 2rem!important;
|
||||
}
|
||||
|
||||
.language-item small {
|
||||
display: block;
|
||||
font-size: 0.8em;
|
||||
margin-top: 0.2rem;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Experience Items */
|
||||
.experience-item {
|
||||
margin-bottom: 2.5rem;
|
||||
padding-bottom: 2rem;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
/* Keep border on all experience items including last one */
|
||||
|
||||
@@ -0,0 +1,230 @@
|
||||
/* 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 #ddd;
|
||||
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 #ddd;
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,157 @@
|
||||
/* ============================================================================
|
||||
SIDEBAR COMPONENT
|
||||
============================================================================ */
|
||||
|
||||
/* Sidebar - Left/Right columns */
|
||||
.cv-sidebar {
|
||||
background: var(--sidebar-bg);
|
||||
padding: 4rem 1.5rem;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
/* Sidebar Accordion - Hidden on desktop, visible on mobile */
|
||||
.sidebar-accordion-header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sidebar-section {
|
||||
margin-bottom: 2rem;
|
||||
|
||||
/* Add margin when section is collapsed */
|
||||
&:has(details:not([open])) {
|
||||
margin-bottom: 3rem;
|
||||
margin-top: 0rem;
|
||||
}
|
||||
|
||||
/* Collapsible Details */
|
||||
details {
|
||||
margin: 0;
|
||||
|
||||
summary ~ * {
|
||||
overflow: hidden;
|
||||
max-height: 0;
|
||||
opacity: 0;
|
||||
transform: translateY(-8px);
|
||||
transition: max-height 0.5s ease-in-out,
|
||||
opacity 0.3s ease-in-out,
|
||||
transform 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
&[open] summary ~ * {
|
||||
max-height: 1500px;
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
&[open] .sidebar-content {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
summary {
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
user-select: none;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
/* Remove default triangle marker */
|
||||
&::-webkit-details-marker,
|
||||
&::marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sidebar-title {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
&:hover .sidebar-title {
|
||||
color: var(--accent-blue);
|
||||
}
|
||||
|
||||
&:hover::after,
|
||||
details:not([open]) &::after {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-title {
|
||||
font-family: 'Quicksand', sans-serif;
|
||||
font-size: 1.4em;
|
||||
font-weight: 700;
|
||||
line-height: 1.3em;
|
||||
margin-bottom: 10px;
|
||||
padding: 0;
|
||||
color: rgb(51, 51, 51);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.sidebar-content {
|
||||
font-family: 'Quicksand', sans-serif;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.skill-item {
|
||||
margin-bottom: 0.15rem;
|
||||
color: rgb(0, 0, 0);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
/* Left Sidebar Specific */
|
||||
.cv-sidebar-left {
|
||||
.sidebar-section summary::after {
|
||||
content: '▶';
|
||||
font-size: 0.8em;
|
||||
color: rgb(100, 100, 100);
|
||||
transition: transform 0.2s ease, opacity 0.2s ease;
|
||||
opacity: 0;
|
||||
margin-left: 15px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.sidebar-section details[open] summary::after {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.sidebar-content,
|
||||
.skill-item {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
/* Right Sidebar Specific */
|
||||
.cv-sidebar-right {
|
||||
.sidebar-section summary {
|
||||
flex-direction: row-reverse;
|
||||
justify-content: space-between;
|
||||
|
||||
.sidebar-title {
|
||||
text-align: right;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: '▶';
|
||||
font-size: 0.8em;
|
||||
color: rgb(100, 100, 100);
|
||||
transition: transform 0.2s ease, opacity 0.2s ease;
|
||||
opacity: 0;
|
||||
margin-right: 15px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-section details[open] summary::after {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.sidebar-content,
|
||||
.skill-item {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user