Implement Projects gallery and case studies
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
.page {
|
||||
background: radial-gradient(ellipse at 85% 10%, var(--site-glow), transparent 30%);
|
||||
:global(.container) { width: calc(100% - 104px); max-width: 1280px; padding-inline: 0; }
|
||||
h1 { font-size: clamp(42px, 6vw, 64px); margin-bottom: 18px; }
|
||||
h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; }
|
||||
p { color: var(--site-text); }
|
||||
}
|
||||
.hero { display: grid; grid-template-columns: 2fr 1fr; align-items: center; min-height: 250px; padding-block: 44px; gap: 32px; }
|
||||
.eyebrow, .sectionTitle { display: flex; align-items: center; gap: 22px; color: var(--site-link) !important; text-transform: uppercase; font-size: 16px; letter-spacing: .13em; font-weight: 600; span { height: 1px; flex: 1; background: linear-gradient(90deg, var(--bs-steel-blue), transparent); } }
|
||||
.eyebrow { max-width: 330px; }
|
||||
.intro { font-size: 20px; line-height: 1.6; max-width: 760px; }
|
||||
.layers { position: relative; height: 190px; i { position: absolute; width: 155px; height: 155px; border: 1px solid var(--site-link); border-radius: 7px; transform: rotateX(58deg) rotateZ(45deg); left: calc(50% - 78px); top: -10px; background: var(--site-glow); &:nth-child(2) { top: 32px; } &:nth-child(3) { top: 74px; } } }
|
||||
.sectionTitle { margin: 0 0 30px; }
|
||||
.featured { --bs-gutter-x: 42px; p { font-size: 18px; line-height: 1.7; } }
|
||||
.media { aspect-ratio: 1.65; width: 100%; padding: 24px; border: 1px dashed var(--site-line); border-radius: 15px; background: radial-gradient(ellipse at center, var(--site-glow), transparent 75%), var(--site-surface); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; text-align: center; color: var(--site-muted); svg { color: var(--site-link); width: 34px; height: 34px; } span { font-size: 22px; font-weight: 600; } small { font-size: 13px; } }
|
||||
.category, .status { font-size: 13px !important; color: var(--site-link) !important; margin-bottom: 12px; }
|
||||
.status { margin-top: 22px; font-weight: 600; }
|
||||
.caseLink { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; font-weight: 600; text-decoration: none; }
|
||||
.actions { display: flex; flex-wrap: wrap; column-gap: 24px; }
|
||||
.technologies { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; list-style: none; margin: 20px 0; li { border: 1px solid var(--site-line); border-radius: 30px; padding: 3px 14px; color: var(--site-muted); font-size: 13px; } }
|
||||
.otherProjects { margin-top: 64px; margin-bottom: 54px; :global(.row) { --bs-gutter-x: 42px; } h3 { font-size: 28px; } article > p:not(.status) { font-size: 16px; line-height: 1.8; } }
|
||||
.contact { margin: 40px -18px 30px; padding: 32px 24px; text-align: center; border: 1px solid var(--site-line); border-radius: 15px; background: radial-gradient(ellipse at top right, var(--site-glow), transparent 70%), var(--site-surface); h2 { font-size: clamp(27px, 4vw, 38px); } p { margin: 18px 0 26px; } a { min-height: 52px; display: inline-flex; gap: 12px; align-items: center; justify-content: center; padding-inline: 24px; } }
|
||||
.caseHeader { padding-block: 35px; h1 { overflow-wrap: anywhere; } }
|
||||
.caseBody { max-width: 800px; margin: 45px auto; section { margin-block: 34px; } h2 { font-size: 28px; margin-bottom: 16px; } li { margin-block: 10px; } }
|
||||
.unavailable { padding-block: 80px; }
|
||||
@media (max-width: 991.98px) { .page :global(.container) { width: calc(100% - 64px); } .hero { gap: 20px; } .intro { font-size: 17px; } .featured { --bs-gutter-x: 28px; p { font-size: 16px; } } }
|
||||
@media (max-width: 767.98px) {
|
||||
.page :global(.container) { width: calc(100% - 40px); }
|
||||
.hero { grid-template-columns: 1fr; padding-block: 32px; gap: 0; }
|
||||
.layers { height: 150px; margin-top: 10px; i { width: 120px; height: 120px; left: calc(50% - 60px); } }
|
||||
.intro { font-size: 16px; }
|
||||
.eyebrow, .sectionTitle { font-size: 13px; gap: 15px; }
|
||||
.featured { --bs-gutter-x: 24px; --bs-gutter-y: 26px; }
|
||||
.otherProjects { margin-block: 36px; :global(.row) { --bs-gutter-x: 24px; } }
|
||||
.contact { margin-inline: 0; padding-inline: 16px; a { font-size: 14px; } }
|
||||
.media { padding: 18px; small { font-size: 12px; } }
|
||||
.caseBody h2 { font-size: 24px; }
|
||||
}
|
||||
Reference in New Issue
Block a user