web-backset.cn/apps/web/src/view/Subscribe/index.less
2023-03-17 17:58:37 +08:00

135 lines
2.6 KiB
Plaintext

.subscribe {
padding-top: 100px;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
// background: linear-gradient(
// to right bottom,
// hsl(0deg 0% 100%),
// hsl(222deg 92% 65% / 13%)
// );
// background: linear-gradient(
// to right bottom,
// hsl(0, 0%, 100%),
// hsl(0deg 0% 0% / 21%)
// );
background: #e9e8e5;
h2 {
font-size: 24px;
}
h4 {
font-weight: 400;
color: var(--color-text-3);
}
}
.options {
margin-top: 100px;
position: relative;
display: flex;
> section {
position: relative;
width: 30%;
padding: 40px;
&.popular {
position: absolute;
right: 5%;
width: 35%;
height: 120%;
top: -10%;
background: #fff;
box-shadow: 0 0.75rem 2rem 0 rgba(0, 0, 0, 0.1);
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.125);
.sell {
color: rgb(var(--primary-5));
}
}
> img {
width: 100%;
}
.original {
color: var(--color-text-3);
font-size: 16px;
text-decoration: line-through;
font-weight: 300;
letter-spacing: 3px;
}
.price {
margin-bottom: 40px;
position: relative;
display: inline-block;
font-family: DINCondensed-Bold, "Century Gothic", CenturyGothic,
AppleGothic, sans-serif;
font-weight: bold;
font-size: 48px;
color: var(--color-text-2);
letter-spacing: 1px;
line-height: 1;
&::before {
position: absolute;
content: "¥";
left: -20px;
top: 0;
font-size: 20px;
}
}
h3 {
margin: 0;
font-size: 18px;
font-weight: bold;
color: var(--color-text-2);
letter-spacing: 5px;
}
p {
margin: 10px 0 30px 0;
color: var(--color-text-3);
letter-spacing: 1px;
line-height: 1.9;
}
ul {
margin-top: 30px;
list-style: none;
padding: 0;
li {
display: flex;
align-items: center;
color: var(--color-text-2);
margin-bottom: 10px;
span {
color: var(--color-text-4);
}
div {
padding-left: 10px;
span {
padding-left: 10px;
}
}
}
}
}
}
.overlay {
width: 100%;
padding: 20px;
background: rgba(255, 255, 255, 0.375);
box-shadow: 0 0.75rem 2rem 0 rgba(0, 0, 0, 0.1);
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.125);
}
.text-gradient {
background-image: linear-gradient(
45deg,
hsl(357, 95%, 50%) 25%,
hsl(417, 95%, 50%)
);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}