Files
portfoliowai/assets/css/modules/_layout.css
T

84 lines
1.8 KiB
CSS

/* =====================================================
LAYOUT — Site wrapper, sections, labels, dividers, page hero
===================================================== */
.site-wrapper {
position: relative;
z-index: 1;
min-height: 100vh;
width: 100%;
display: flex;
flex-direction: column;
padding-top: 73px; /* offset for fixed floating nav */
transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
/* --- Section Commons --- */
.section-pad {
padding: clamp(60px, 8vw, 100px) 5%;
max-width: 1100px;
margin: 0 auto;
width: 100%;
box-sizing: border-box;
}
.section-header {
margin-bottom: 60px;
}
.section-label {
display: inline-block;
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.15em;
color: var(--accent-2);
margin-bottom: 12px;
}
.section-title {
font-family: 'Outfit', sans-serif;
font-size: clamp(1.8rem, 3vw, 2.5rem);
font-weight: 800;
letter-spacing: -1px;
background: linear-gradient(135deg, var(--text-main) 60%, var(--text-muted));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* --- Divider --- */
.section-divider {
height: 1px;
background: linear-gradient(to right, transparent, var(--border), transparent);
margin: 0 5%;
}
/* --- Page Hero (sub-pages: blog, projects, certifications) --- */
.page-hero {
padding: clamp(50px, 8vw, 80px) 5% clamp(40px, 6vw, 60px);
max-width: 1100px;
margin: 0 auto;
width: 100%;
box-sizing: border-box;
}
.page-hero h1 {
font-size: clamp(1.8rem, 5vw, 3rem);
margin-bottom: 14px;
}
.page-hero .subtitle {
max-width: 500px;
}
/* --- Footer --- */
footer {
padding: 50px 5%;
text-align: center;
color: var(--text-subtle);
font-size: 0.85rem;
border-top: 1px solid var(--border);
margin-top: auto;
}