add pages
This commit is contained in:
@@ -0,0 +1,137 @@
|
||||
.object__hero {
|
||||
position: relative;
|
||||
aspect-ratio: 390 / 320;
|
||||
width: 100%;
|
||||
max-height: 320px;
|
||||
overflow: hidden;
|
||||
background:
|
||||
radial-gradient(circle at 50% 46%, rgb(224 184 79 / 18%), transparent 62%),
|
||||
linear-gradient(to bottom, #161b38, #4a3a63 55%, #c9764c);
|
||||
}
|
||||
|
||||
.object__hero-img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
object-position: center bottom;
|
||||
}
|
||||
|
||||
.object__hero::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
height: 120px;
|
||||
background: linear-gradient(to bottom, transparent, var(--color-bg));
|
||||
}
|
||||
|
||||
.photos {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.photos figure {
|
||||
position: relative;
|
||||
flex: none;
|
||||
width: 128px;
|
||||
height: 168px;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 14px;
|
||||
background: var(--color-surface);
|
||||
}
|
||||
|
||||
.photos img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.photos span {
|
||||
position: absolute;
|
||||
left: 8px;
|
||||
bottom: 8px;
|
||||
padding: 3px 9px;
|
||||
border-radius: 8px;
|
||||
background: rgb(18 17 15 / 78%);
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.owned-photo {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 220px;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--color-accent-strong);
|
||||
border-radius: 16px;
|
||||
background: var(--color-surface);
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
.owned-photo img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.owned-photo__badge {
|
||||
position: absolute;
|
||||
left: 12px;
|
||||
bottom: 12px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 5px 11px;
|
||||
overflow: visible;
|
||||
border-radius: 10px;
|
||||
background: rgb(18 17 15 / 82%);
|
||||
color: var(--color-accent-soft);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.photo-viewer {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 40;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 56px 16px 24px;
|
||||
background: rgb(18 17 15 / 94%);
|
||||
}
|
||||
|
||||
.photo-viewer img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
object-fit: contain;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.photo-viewer__close {
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
left: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 14px;
|
||||
background: rgb(28 26 23 / 86%);
|
||||
color: var(--color-text);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user