/* @import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&display=swap"); */ :root { --card-width: 200px; --card-height: 300px; --card-transition-duration: 800ms; --card-transition-easing: ease; } ::selection { background:#330969b7; color: rgb(168, 223, 255); } * { box-sizing: border-box; margin: 0; padding: 0; } body { width: 100%; height: 100vh; display: flex; justify-content: center; align-items: center; background: rgba(0, 0, 0, 0.787); overflow: hidden; } .DreamBtn { position: absolute; transform: translate(-50%, -50%); top: 13%; left: 50%; width: 139px; height: 139px; /* background-image: url(../../static/photo/觉卿梦.png); */ background-size: cover; border-radius: 99px; background-color: #ffffff3d; user-select: none; box-shadow: white 0 0 3px; transition: all 1s; } .DreamBtn:hover { background-color: #FFF; box-shadow: white 0 0 33px; width: 169px; height: 169px; } button { border: none; background: none; cursor: pointer; } button:focus { outline: none; border: none; } .app { position: absolute; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; z-index: 7; } .app__bg { position: absolute; width: 100%; height: 100%; z-index: -5; filter: blur(8px); pointer-events: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; overflow: hidden; } .app__bg::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #000; z-index: 1; opacity: 0.8; } .app__bg__image { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) translateX(var(--image-translate-offset, 0)); width: 100%; height: 100%; transition: transform 1000ms ease, opacity 1000ms ease; overflow: hidden; } .app__bg__image img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; } .app__bg__image.current--image { opacity: 1; --image-translate-offset: 0; } .app__bg__image.previous--image, .app__bg__image.next--image { opacity: 0; } .app__bg__image.previous--image { --image-translate-offset: -25%; } .app__bg__image.next--image { --image-translate-offset: 25%; } .cardList { position: absolute; width: calc(3 * var(--card-width)); height: auto; margin-bottom: 500rpx; } .cardList__btn { --btn-size: 35px; width: var(--btn-size); height: var(--btn-size); position: absolute; top: 50%; transform: translateY(-50%); z-index: 100; } .cardList__btn.btn--left { left: -12%; } .cardList__btn.btn--right { right: -12%; } .cardList__btn .icon { width: 100%; height: 100%; } .cardList__btn .icon svg { width: 100%; height: 100%; } .cardList .cards__wrapper { position: relative; width: 100%; height: 100%; perspective: 1000px; scale: .4; } .card { --card-translateY-offset: 100vh; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) translateX(var(--card-translateX-offset)) translateY(var(--card-translateY-offset)) rotateY(var(--card-rotation-offset)) scale(var(--card-scale-offset)); display: inline-block; width: var(--card-width); height: var(--card-height); transition: transform var(--card-transition-duration) var(--card-transition-easing); -webkit-user-select: none; -moz-user-select: none; user-select: none; } .card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #000; z-index: 1; transition: opacity var(--card-transition-duration) var(--card-transition-easing); opacity: calc(1 - var(--opacity)); } .card__image { position: relative; width: 100%; height: 100%; cursor:pointer; } .card__image img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; } .card.current--card { --current-card-rotation-offset: 0; --card-translateX-offset: 0; --card-rotation-offset: var(--current-card-rotation-offset); --card-scale-offset: 1.2; --opacity: 0.8; } .card.previous--card { --card-translateX-offset: calc(-1 * var(--card-width) * 1.1); --card-rotation-offset: 25deg; } .card.next--card { --card-translateX-offset: calc(var(--card-width) * 1.1); --card-rotation-offset: -25deg; } .card.previous--card, .card.next--card { --card-scale-offset: 0.9; --opacity: 0.4; } .infoList { position: absolute; width: calc(3 * var(--card-width)); height: var(--card-height); pointer-events: none; margin-bottom: 800rpx; } .infoList .info__wrapper { position: relative; width: 100%; height: 100%; display: flex; justify-content: flex-start; align-items: flex-end; perspective: 1000px; transform-style: preserve-3d; } .info { margin-bottom: calc(var(--card-height) / 8); margin-left: calc(var(--card-width) / 1.5); transform: translateZ(2rem); transition: transform var(--card-transition-duration) var(--card-transition-easing); } .info .text { position: relative; font-family: "Montserrat"; /* font-size: calc(var(--card-width) * var(--text-size-offset, 0.2)); */ font-size: 23rpx; white-space: nowrap; color: #fff; width: -moz-fit-content; width: fit-content; } .info .name{ font-size: 35rpx; } .info .name, .info .location { text-transform: uppercase; } .info .location { font-weight: 800; } .info .location { --mg-left: 40px; --text-size-offset: 0.12; font-weight: 600; margin-left: var(--mg-left); margin-bottom: calc(var(--mg-left) / 2); padding-bottom: 0.8rem; } .info .location::before, .info .location::after { content: ""; position: absolute; background: #fff; left: 0%; transform: translate(calc(-1 * var(--mg-left)), -50%); } .info .location::before { top: 50%; width: 20px; height: 5px; } .info .location::after { bottom: 0; width: 60px; height: 2px; } .info .description { --text-size-offset: 0.065; font-weight: 500; /* font-size: 40rpx; */ } .info.current--info { opacity: 1; display: block; } .info.previous--info, .info.next--info { opacity: 0; display: none; } .loading__wrapper { position: fixed; left: 0; top: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; background: #000; z-index: 200; } .loading__wrapper .loader--text { color: #fff; font-family: "Montserrat"; font-weight: 500; margin-bottom: 1.4rem; } .loading__wrapper .loader { position: relative; width: 200px; height: 2px; background: rgba(255, 255, 255, 0.25); } .loading__wrapper .loader span { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: rgb(255, 0, 0); transform: scaleX(0); transform-origin: left; } @media only screen and (min-width: 800px) { :root { --card-width: 250px; --card-height: 400px; } } .support { position: absolute; right: 10px; bottom: 10px; padding: 10px; display: flex; } .support a { margin: 0 10px; color: #fff; font-size: 1.8rem; backface-visibility: hidden; transition: all 150ms ease; } .support a:hover { transform: scale(1.1); }/*# sourceMappingURL=Storys.css.map */ .ContextTag{ display: inline-block; padding: 3px; padding-right: 9px; user-select: none; background-color: #adb6ff66; border-radius: 5px; font-size: 16px; margin-bottom: 6px; } .EndBtn{ position: absolute; left: 50%; bottom: 0%; width: 13vh; height: 6vh; font-size: 3vh; line-height: 6vh; text-align: center; background-size: 100%; border-radius: 3vw; transform: translate(-50%,-50%); background: aliceblue; cursor: pointer; font-family: fangsong; box-shadow: 0 0 7px aliceblue; transition: all .7s; background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%); color: white; } .SaveBtn{ width: 50px; height: 50px; position: absolute; top: -50px; right: 0px; transform: scale(1); transform-origin: center; transition: 1s; cursor: pointer; } .SaveBtn:hover{ transform: scale(1.7); } .FlowBtn{ width: 50px; height: 50px; position: absolute; top: -50px; right: 50%; transform: scale(1); transform-origin: center; transition: 1s; cursor: pointer; } .FlowBtn:hover{ transform: scale(1.7); } .subtitle{ font-weight: 100; font-size: 3vw; color: #FAFAFA; background: rgba(255, 255, 255, 0.27); position: fixed; transform: translate(-50%,-0%); left: 50%; bottom: 155px; min-width: 70%; min-height: 9vh; border-radius: 19px; padding: 1.9vw; max-height: 15.6vw; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 3; -webkit-box-orient: vertical; display: -webkit-box; text-align: center; } .dud{ color:#757575; } .kgo{ width:100rpx; height: 100rpx; } .leftBtn{ position: absolute; top: 430rpx; left: 230rpx; } .rightBtn{ position: absolute; top: 430rpx; right: 230rpx; transform: rotate(180deg); }