티스토리 수익 글 보기

티스토리 수익 글 보기

.item { width: 100%; position: relative; } .sec1 { position: fixed; left: calc(50% – 960px); top: 247px; /* left: 50%; transform: translateX(-50%); */ width: 1920px; height: 808px; } .sec1 .visual_box { position: absolute; top: 887px; left: 50%; margin-left: -510px; z-index: 2; } .sec1 .visual_box .current { position: absolute; top: 85px; left: 239px; } .sec1 .visual_box .total { position: absolute; top: 85px; left: 239px; } .sec1 .txt { position: absolute; top: 500px; width: 100%; z-index: 2; } .sec1 .txt .item { position: absolute; left: 120%; opacity: 0; } .sec1 .txt .item.on { position: absolute; top: -100px; left: 50%; transform: translateX(-50%); opacity: 1; } .sec1 .txt .item:nth-child(1) { position: absolute; left: 100px; } .sec1 .txt .item:nth-child(3) { position: absolute; left: auto; right: 50px; } .sec1 .stxt { position: absolute; top: 228px; width: 100%; z-index: 2; text-align: center; } .sec1 .visual_img { width: 100%; height: 100%; position: relative; } .sec1 .visual_img li { width: 100%; height: 808px; background: #000; z-index: 1; overflow: hidden; position: relative; } .sec1 .visual_img li img { position: absolute; top: 0; left: 0; opacity: 0; } .sec1 .visual_img .mask { position: absolute; top: 0; left: 0; width: 100%; height: 980px; opacity: 0; z-index: 3; background: #000; } .sec1 .line1 { position: absolute; top: 50%; left: 78px; z-index: 10; width: 32px; height: 1px; background: #d5cdcc; opacity: 0.8; } .sec1 .line2 { position: absolute; top: 50%; right: 54px; z-index: 10; width: 47px; height: 1px; background: #d5cdcc; opacity: 0.8; } .sec1 .line2:after { content: ”; position: absolute; top: -2px; left: 55px; z-index: 10; width: 5px; height: 5px; background: #fff; border-radius: 5px; } .item_stxt { position: absolute; left: 50%; transform: translateX(-50%); opacity: 0; } .item_stxt img { display: block; margin: 0 auto 23px; } .item_stxt img:last-child { margin-bottom: 0; } .main-swiper { overflow: visible; width: 100%; height: 808px; margin: 0; } .main-swiper .swiper-slide { overflow: hidden; width: 100%; } .main-swiper .swiper-slide .img { overflow: hidden; width: 100%; } .main-swiper .txt { position: absolute; z-index: 1; top: 257px; left: calc(50% – 400px – 223px); /* background:pink; border:2px solid green; */ width: 100%; height: 100%; } @media (max-width: 1290px) { .main-swiper .txt { /* background:orange; position: fixed; top:500px; left: 347px ; */ } } /* .main-swiper .txt> * { position: relative; display: block; overflow: hidden;} .main-swiper .txt strong + strong{ margin-top:45px} */ .main-swiper .swiper-button-prev, .main-swiper .swiper-button-next { position: absolute; z-index: 10; top: 50%; transform: none; opacity: 1; background: none; width: 31px; height: 10px; margin-top: -14px; } .main-swiper .swiper-button-prev { left: 120px; } .main-swiper .swiper-button-next { right: 110px; } .main-swiper .swiper-button-disabled:after { opacity: .2; } .main-swiper .swiper-page { position: absolute; top: 117px; right: -30px; } .main-swiper .swiper-pagination { z-index: 10; bottom: 100px; padding-right: 330px; white-space: nowrap; text-align: right; color: #fff; font-weight: 300; } .main-swiper .swiper-pagination span { font-size: 16px; color: #fff; } .main-swiper .swiper-pagination span.swiper-pagination-current { font-family: Din; font-weight: 700; } .main-swiper .swiper-pagination span.swiper-pagination-total { font-family: Din; font-weight: 300; color: #fff; } .swiper-slide-prev .img:before { content: ”; width: 100%; height: 100%; background: #000; position: absolute; left: 0; top: 0; z-index: 9; animation-duration: 2s; animation-name: slideIn; opacity: 0.6; } .swiper-slide:last-child .item:last-child { display: none; } .main-swiper .txt { z-index: 10; } .mask { position: absolute; left: 0; top: 0; background: #000; z-index: 8; width: 100%; height: 100%; } .swiper-slide-active .txt img { animation-duration: 2s; animation-name: slide; } @keyframes slide { 0% { opacity: 0; } 50% { opacity: 0; margin-top: 200px } 100% { opacity: 1; } } @keyframes slideChange { 25% { opacity: 0; } 100% { opacity: 0; } } /*pie-chart*/ .pie-chart { position: absolute; left: 40px; top: 50%; z-index: 20; width: 31px; height: 30px; -webkit-transform: translateY(-50%); transform: translateY(-50%); } .pie-chart svg { -webkit-transform: rotate(-90deg); transform: rotate(-90deg); } .pie-chart .circle_animation { stroke-dasharray: 100; stroke-dashoffset: 100; animation-fill-mode: forwards; animation-timing-function: ease-out; transition: stroke-dashoffset 1s; stroke: #fff; } @-webkit-keyframes pie-start { to { stroke-dashoffset: 0; } } @-webkit-keyframes pie-end { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 100; } } .main-swiper video { object-fit: fill; height: 808px }