Blend upload page into background
This commit is contained in:
+69
-20
@@ -14,43 +14,71 @@
|
|||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
background: #1f1f1f;
|
background: #ffffff;
|
||||||
color: var(--ink);
|
color: var(--ink);
|
||||||
font-family: "Times New Roman", "Batang", "Apple SD Gothic Neo", serif;
|
font-family: "Times New Roman", "Batang", "Apple SD Gothic Neo", serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.upload-page {
|
.upload-page {
|
||||||
width: min(100%, 640px);
|
width: 100%;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 10px 16px;
|
padding: 0;
|
||||||
background: #1f1f1f;
|
background:
|
||||||
|
radial-gradient(circle at 50% 18%, rgba(220, 220, 214, 0.28), transparent 42%),
|
||||||
|
linear-gradient(180deg, #ffffff 0%, #fbfbfa 74%, #ffffff 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.wedding-card {
|
.wedding-card {
|
||||||
min-height: calc(100vh - 16px);
|
width: min(100%, 720px);
|
||||||
padding: clamp(10px, 2vw, 18px) clamp(18px, 5vw, 36px) 34px;
|
min-height: 100vh;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 0 clamp(12px, 3.6vw, 34px) 38px;
|
||||||
background:
|
background:
|
||||||
radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 34%),
|
radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.7), transparent 44%),
|
||||||
linear-gradient(180deg, #ffffff 0%, #fbfbfa 100%);
|
linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fbfbfa 82%, #ffffff 100%);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.poster {
|
.poster {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: min(100%, 560px);
|
width: min(100%, 620px);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
padding: 0 clamp(4px, 1.4vw, 10px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.poster::before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
z-index: 0;
|
||||||
|
border-radius: 0 0 22px 22px;
|
||||||
|
background: rgba(232, 232, 226, 0.38);
|
||||||
|
filter: blur(24px);
|
||||||
|
transform: translateY(12px) scale(0.96);
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.poster__image {
|
.poster__image {
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.08));
|
filter: drop-shadow(0 18px 30px rgba(88, 88, 80, 0.08));
|
||||||
|
-webkit-mask-image:
|
||||||
|
linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%),
|
||||||
|
linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
|
||||||
|
-webkit-mask-composite: source-in;
|
||||||
|
mask-image:
|
||||||
|
linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%),
|
||||||
|
linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
|
||||||
|
mask-composite: intersect;
|
||||||
}
|
}
|
||||||
|
|
||||||
.poster__plate {
|
.poster__plate {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
z-index: 2;
|
||||||
left: 10.5%;
|
left: 10.5%;
|
||||||
right: 10.5%;
|
right: 10.5%;
|
||||||
bottom: 11.8%;
|
bottom: 11.8%;
|
||||||
@@ -92,8 +120,8 @@ h1 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.upload-panel {
|
.upload-panel {
|
||||||
width: min(100%, 420px);
|
width: min(100%, 430px);
|
||||||
margin: clamp(18px, 4vw, 28px) auto 0;
|
margin: clamp(10px, 2.8vw, 20px) auto 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.upload-panel__today {
|
.upload-panel__today {
|
||||||
@@ -273,7 +301,7 @@ h1 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.thank-you {
|
.thank-you {
|
||||||
width: min(100%, 420px);
|
width: min(100%, 430px);
|
||||||
margin: clamp(18px, 4vw, 28px) auto 0;
|
margin: clamp(18px, 4vw, 28px) auto 0;
|
||||||
padding: 26px 24px 28px;
|
padding: 26px 24px 28px;
|
||||||
border: 1px solid rgba(137, 166, 158, 0.32);
|
border: 1px solid rgba(137, 166, 158, 0.32);
|
||||||
@@ -332,14 +360,35 @@ h1 {
|
|||||||
|
|
||||||
@media (max-width: 430px) {
|
@media (max-width: 430px) {
|
||||||
.upload-page {
|
.upload-page {
|
||||||
padding-left: 7px;
|
background:
|
||||||
padding-right: 7px;
|
radial-gradient(circle at 50% 14%, rgba(218, 218, 212, 0.24), transparent 44%),
|
||||||
|
linear-gradient(180deg, #ffffff 0%, #fbfbfa 78%, #ffffff 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.wedding-card {
|
.wedding-card {
|
||||||
padding-left: 14px;
|
padding: 0 0 30px;
|
||||||
padding-right: 14px;
|
background:
|
||||||
padding-bottom: 28px;
|
radial-gradient(circle at 50% 33%, rgba(255, 255, 255, 0.66), transparent 45%),
|
||||||
|
linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fbfbfa 82%, #ffffff 100%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.poster {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.poster::before {
|
||||||
|
inset: 0 8px;
|
||||||
|
filter: blur(18px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.poster__image {
|
||||||
|
-webkit-mask-image:
|
||||||
|
linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%),
|
||||||
|
linear-gradient(180deg, #000 0%, #000 89%, transparent 100%);
|
||||||
|
mask-image:
|
||||||
|
linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%),
|
||||||
|
linear-gradient(180deg, #000 0%, #000 89%, transparent 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.poster__plate {
|
.poster__plate {
|
||||||
@@ -349,11 +398,11 @@ h1 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.upload-panel {
|
.upload-panel {
|
||||||
width: min(100%, 300px);
|
width: min(calc(100% - 48px), 340px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.thank-you {
|
.thank-you {
|
||||||
width: min(100%, 300px);
|
width: min(calc(100% - 48px), 340px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.upload-panel__today {
|
.upload-panel__today {
|
||||||
|
|||||||
Reference in New Issue
Block a user