0956c78d00
Following LogRocket CSS best practices: - Added fallback values to 150+ CSS variable usages across 22 files - Fallbacks use light theme defaults for consistent behavior - Improves compatibility with older browsers - Example: var(--text-primary) → var(--text-primary, #1a1a1a) Variables with fallbacks: - Colors: text-primary, text-secondary, text-muted, accent-blue, etc. - Backgrounds: page-bg, paper-bg, action-bar-bg, sidebar-bg - Shadows: shadow-sm, shadow-md, shadow-lg - Borders: border-color, border-light, icon-border CSS Variables Best Practices compliance: 6/7 recommendations now followed
59 lines
1.5 KiB
CSS
59 lines
1.5 KiB
CSS
/* ============================================================================
|
|
CV CONTAINER & ZOOM WRAPPER
|
|
============================================================================ */
|
|
|
|
/* Zoom Wrapper - wraps cv-container for zoom functionality */
|
|
.zoom-wrapper {
|
|
/* CSS zoom property changes actual layout space (not just visual) */
|
|
/* This allows footer to naturally position right after zoomed content */
|
|
}
|
|
|
|
/* Main CV Container */
|
|
.cv-container {
|
|
width: 100%;
|
|
max-width: 100%; /* Full width to accommodate pages */
|
|
margin: 0 auto;
|
|
padding: 20px 0 0 0; /* Top padding to prevent sticky action bar overlap */
|
|
display: block;
|
|
|
|
/* Clean theme - no sidebars, centered content */
|
|
&.theme-clean {
|
|
padding: 20px 0 0 0;
|
|
transition: all 0.3s ease-in-out;
|
|
|
|
.cv-page {
|
|
box-shadow: var(--shadow-lg, 2px 2px 9px rgba(0,0,0,0.5));
|
|
border: none;
|
|
margin: 0 auto;
|
|
max-width: 900px;
|
|
transition: all 0.3s ease-in-out;
|
|
}
|
|
|
|
.cv-sidebar,
|
|
.cv-title-badges-header,
|
|
.cv-footer {
|
|
display: none !important;
|
|
animation: fadeOutShrink 0.3s ease-in-out;
|
|
}
|
|
|
|
.page-content {
|
|
grid-template-columns: 1fr !important;
|
|
transition: grid-template-columns 0.3s ease-in-out;
|
|
}
|
|
|
|
.cv-main {
|
|
grid-column: 1 !important;
|
|
padding: 2rem 3rem!important;
|
|
transition: all 0.3s ease-in-out;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Animate sidebar, header, footer when hiding/showing */
|
|
.cv-sidebar,
|
|
.cv-title-badges-header,
|
|
.cv-footer {
|
|
overflow: hidden;
|
|
transition: all 0.3s ease-in-out;
|
|
}
|