fix: remove white frame wrapper and stack pages vertically
- Changed .cv-container from flex to block layout - Made .cv-container full width (100%) instead of max 1200px - Removed .cv-paper grid layout (was conflicting with .cv-page grids) - Made .cv-paper transparent with no shadow (each page has its own) - Pages now stack vertically one after another - Removed white frame container that was wrapping both pages Each .cv-page now displays independently with proper spacing.
This commit is contained in:
+7
-10
@@ -175,24 +175,21 @@ a:hover {
|
|||||||
/* Main CV Container */
|
/* Main CV Container */
|
||||||
.cv-container {
|
.cv-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 1200px;
|
max-width: 100%; /* Full width to accommodate pages */
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 100px 0 0 0; /* Top padding to prevent sticky action bar overlap */
|
padding: 100px 0 0 0; /* Top padding to prevent sticky action bar overlap */
|
||||||
display: flex;
|
display: block; /* Changed from flex */
|
||||||
flex-direction: column;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* CV Paper - Two-column layout with shadow */
|
/* CV Paper - Container for two-page layout */
|
||||||
.cv-paper {
|
.cv-paper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: var(--paper-white);
|
background: transparent; /* Remove white background - each page has its own */
|
||||||
box-shadow: 0 0 30px rgba(0,0,0,0.4);
|
box-shadow: none; /* Remove shadow - each page has its own */
|
||||||
margin: 0;
|
margin: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: grid;
|
display: block; /* Changed from grid to block for stacking pages */
|
||||||
grid-template-columns: 300px 1fr;
|
min-height: auto; /* Changed from 100vh */
|
||||||
grid-template-rows: auto 1fr;
|
|
||||||
min-height: 100vh;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Page break helpers */
|
/* Page break helpers */
|
||||||
|
|||||||
Reference in New Issue
Block a user