Modernize portfolio presentation
This commit is contained in:
289
styles.css
289
styles.css
@@ -570,14 +570,28 @@ body.is-ready .loader {
|
||||
}
|
||||
|
||||
.hero__console {
|
||||
position: relative;
|
||||
border: 1px solid var(--line-strong);
|
||||
border-radius: 6px;
|
||||
background: rgba(7, 7, 6, 0.58);
|
||||
box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
|
||||
box-shadow:
|
||||
0 24px 70px rgba(0, 0, 0, 0.35),
|
||||
0 0 0 1px rgba(200, 255, 73, 0.03);
|
||||
backdrop-filter: blur(16px) saturate(120%);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hero__console::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 3;
|
||||
height: 2px;
|
||||
background: linear-gradient(90deg, var(--hot), var(--signal), var(--cyan));
|
||||
}
|
||||
|
||||
.console__top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -611,7 +625,7 @@ body.is-ready .loader {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.hero__console img {
|
||||
.hero__screen img {
|
||||
width: 100%;
|
||||
height: 230px;
|
||||
object-fit: cover;
|
||||
@@ -619,6 +633,58 @@ body.is-ready .loader {
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.hero__preview-strip {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 1px;
|
||||
background: var(--line);
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.hero__preview-strip figure {
|
||||
position: relative;
|
||||
min-height: 106px;
|
||||
margin: 0;
|
||||
background: #050505;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hero__preview-strip img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 106px;
|
||||
object-fit: cover;
|
||||
opacity: 0.88;
|
||||
transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
|
||||
}
|
||||
|
||||
.hero__preview-strip figcaption {
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
right: 10px;
|
||||
bottom: 9px;
|
||||
z-index: 1;
|
||||
color: var(--paper);
|
||||
font-family: var(--mono);
|
||||
font-size: 0.58rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.hero__preview-strip figure::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(180deg, transparent 20%, rgba(7, 7, 6, 0.82));
|
||||
}
|
||||
|
||||
@media (hover: hover) and (pointer: fine) {
|
||||
.hero__preview-strip figure:hover img {
|
||||
opacity: 1;
|
||||
transform: scale(1.035);
|
||||
}
|
||||
}
|
||||
|
||||
.ticker {
|
||||
overflow: hidden;
|
||||
border-top: 1px solid var(--line);
|
||||
@@ -1015,11 +1081,105 @@ body.is-ready .loader {
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
.portfolio-ribbon {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 12px;
|
||||
margin-top: 42px;
|
||||
}
|
||||
|
||||
.portfolio-ribbon article {
|
||||
position: relative;
|
||||
min-height: 286px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: end;
|
||||
gap: 10px;
|
||||
padding: 14px;
|
||||
border: 1px solid rgba(241, 238, 230, 0.16);
|
||||
border-radius: 8px;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.022)),
|
||||
rgba(255, 255, 255, 0.025);
|
||||
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
|
||||
overflow: hidden;
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.portfolio-ribbon article::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
background:
|
||||
linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 34px 34px,
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 34px 34px;
|
||||
opacity: 0.52;
|
||||
}
|
||||
|
||||
.portfolio-ribbon figure {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -2;
|
||||
margin: 0;
|
||||
background: #050505;
|
||||
}
|
||||
|
||||
.portfolio-ribbon figure::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(7, 7, 6, 0.08), rgba(7, 7, 6, 0.78) 72%, rgba(7, 7, 6, 0.94)),
|
||||
linear-gradient(90deg, rgba(7, 7, 6, 0.52), transparent 72%);
|
||||
}
|
||||
|
||||
.portfolio-ribbon img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
opacity: 0.78;
|
||||
transform: scale(1.01);
|
||||
transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
|
||||
}
|
||||
|
||||
.portfolio-ribbon span {
|
||||
width: max-content;
|
||||
max-width: 100%;
|
||||
min-height: 28px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0 9px;
|
||||
border: 1px solid rgba(200, 255, 73, 0.28);
|
||||
border-radius: 999px;
|
||||
background: rgba(7, 7, 6, 0.42);
|
||||
color: var(--signal);
|
||||
font-family: var(--mono);
|
||||
font-size: 0.62rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.portfolio-ribbon strong {
|
||||
max-width: 15rem;
|
||||
color: var(--paper);
|
||||
font-size: 1.08rem;
|
||||
line-height: 1.25;
|
||||
word-break: keep-all;
|
||||
}
|
||||
|
||||
@media (hover: hover) and (pointer: fine) {
|
||||
.portfolio-ribbon article:hover img {
|
||||
opacity: 0.96;
|
||||
transform: scale(1.055);
|
||||
}
|
||||
}
|
||||
|
||||
.case-lab__grid {
|
||||
display: grid;
|
||||
grid-template-columns: 310px 1fr;
|
||||
gap: 28px;
|
||||
margin-top: 52px;
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
.case-tabs {
|
||||
@@ -1058,7 +1218,6 @@ body.is-ready .loader {
|
||||
stroke-width: 2;
|
||||
}
|
||||
|
||||
.case-tabs button:hover,
|
||||
.case-tabs button:focus-visible,
|
||||
.case-tabs button.is-active {
|
||||
padding-left: 24px;
|
||||
@@ -1066,13 +1225,24 @@ body.is-ready .loader {
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
@media (hover: hover) and (pointer: fine) {
|
||||
.case-tabs button:hover {
|
||||
padding-left: 24px;
|
||||
background: var(--paper);
|
||||
color: var(--ink);
|
||||
}
|
||||
}
|
||||
|
||||
.case-stage {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.62fr);
|
||||
min-height: 640px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 6px;
|
||||
background: rgba(255, 255, 255, 0.035);
|
||||
border: 1px solid rgba(241, 238, 230, 0.18);
|
||||
border-radius: 8px;
|
||||
background:
|
||||
linear-gradient(135deg, rgba(241, 238, 230, 0.07), rgba(241, 238, 230, 0.025)),
|
||||
rgba(255, 255, 255, 0.03);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@@ -1080,13 +1250,28 @@ body.is-ready .loader {
|
||||
position: relative;
|
||||
min-height: 420px;
|
||||
display: grid;
|
||||
background: #050505;
|
||||
background:
|
||||
linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 42px 42px,
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px) 0 0 / 42px 42px,
|
||||
#050505;
|
||||
}
|
||||
|
||||
.case-stage__media::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(7, 7, 6, 0), rgba(7, 7, 6, 0.34)),
|
||||
linear-gradient(90deg, rgba(7, 7, 6, 0.2), transparent 34%, transparent 66%, rgba(7, 7, 6, 0.2));
|
||||
}
|
||||
|
||||
.case-stage__media > img {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
object-fit: cover;
|
||||
object-position: center;
|
||||
}
|
||||
|
||||
@@ -1095,8 +1280,9 @@ body.is-ready .loader {
|
||||
left: 18px;
|
||||
right: 18px;
|
||||
bottom: 18px;
|
||||
z-index: 3;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
@@ -1736,6 +1922,10 @@ html.js .reveal[data-delay="2"] {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.portfolio-ribbon {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
.case-tabs {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
@@ -1932,12 +2122,46 @@ html.js .reveal[data-delay="2"] {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.portfolio-ribbon {
|
||||
grid-auto-flow: column;
|
||||
grid-auto-columns: minmax(240px, 74vw);
|
||||
grid-template-columns: none;
|
||||
gap: 10px;
|
||||
margin-top: 32px;
|
||||
overflow-x: auto;
|
||||
padding-bottom: 8px;
|
||||
scroll-snap-type: x mandatory;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.portfolio-ribbon::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.portfolio-ribbon article {
|
||||
min-height: 248px;
|
||||
scroll-snap-align: start;
|
||||
}
|
||||
|
||||
.case-tabs {
|
||||
grid-template-columns: 1fr;
|
||||
display: flex;
|
||||
overflow-x: auto;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.case-tabs::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.case-tabs button {
|
||||
min-width: 176px;
|
||||
border-right: 0;
|
||||
border-bottom: 0;
|
||||
border-left: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.case-tabs button:first-child {
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
.case-stage {
|
||||
@@ -1969,6 +2193,11 @@ html.js .reveal[data-delay="2"] {
|
||||
background: var(--ink);
|
||||
}
|
||||
|
||||
.hero__preview-strip figure,
|
||||
.hero__preview-strip img {
|
||||
min-height: 92px;
|
||||
}
|
||||
|
||||
.sports-system {
|
||||
min-height: 0;
|
||||
padding: 82px 0;
|
||||
@@ -1992,6 +2221,44 @@ html.js .reveal[data-delay="2"] {
|
||||
}
|
||||
|
||||
.hero__console {
|
||||
display: block;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.hero__metrics div {
|
||||
min-height: 72px;
|
||||
padding: 14px 10px;
|
||||
}
|
||||
|
||||
.hero__metrics strong {
|
||||
font-size: 1.58rem;
|
||||
}
|
||||
|
||||
.hero__metrics span {
|
||||
font-size: 0.58rem;
|
||||
}
|
||||
|
||||
.hero__screen img {
|
||||
height: 176px;
|
||||
}
|
||||
|
||||
.hero__preview-strip {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.hero__preview-strip figure,
|
||||
.hero__preview-strip img {
|
||||
min-height: 78px;
|
||||
}
|
||||
|
||||
.hero__preview-strip figcaption {
|
||||
left: 8px;
|
||||
right: 8px;
|
||||
bottom: 7px;
|
||||
font-size: 0.5rem;
|
||||
}
|
||||
|
||||
.signal-grid {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user