편집 요약 없음 |
편집 요약 없음 |
||
1번째 줄: | 1번째 줄: | ||
<div class="flex flex-col gap-4 mt-4 lg:mt-0"> | <div class="flex flex-col gap-4 mt-4 lg:mt-0"> | ||
<!-- PC 슬라이드 시작 --> | <!-- PC 슬라이드 시작 --> | ||
<div id="header_slide_banner_pc" class=" | <div id="header_slide_banner_pc" class="swiper-container relative hidden md:block rounded-lg overflow-hidden shadow"> | ||
<div class=" | <div class="swiper-wrapper"> | ||
< | <!--1번 슬라이드--><div class="swiper-slide flex justify-center items-center" style="background-color: #ffffff;"><html><a href="https://evewiki.postype.com/membership_plans" title="포스타입 정기 구독으로 이브위키를 후원해주세요!"><img loading="lazy" class="object-cover" src="/mainpage/230806/mainpage_banner_img_230813.webp" style="height: 300px"><img loading="lazy" class="slide-bottom" src="/w/images/1/18/플로라.svg" style="height: 50px"></a></html></div> | ||
<!-- | <!--2번 슬라이드--><div class="swiper-slide flex justify-center items-center" style="background-color: #ffffff;"><html><a href="https://evewiki.postype.com/membership_plans" title="포스타입 정기 구독으로 이브위키를 후원해주세요!"><img loading="lazy" class="object-cover" src="/mainpage/240514/mainpage_banner_img_240618.webp" style="height: 300px"></a></html></div> | ||
<!-- | <!--3번 슬라이드--><div class="swiper-slide flex justify-center items-center" style="background-color: #ffffff;"><html><a href="https://evewiki.postype.com/membership_plans" title="포스타입 정기 구독으로 이브위키를 후원해주세요!"><img loading="lazy" class="object-cover" src="/mainpage/230806/mainpage_banner_img_230813.webp" style="height: 300px"><img loading="lazy" class="slide-bottom" src="/w/images/1/18/플로라.svg" style="height: 50px"></a></html></div> | ||
<!--4번 슬라이드--><div class="swiper-slide flex justify-center items-center" style="background-color: #ffffff;"><html><a href="https://evewiki.postype.com/membership_plans" title="포스타입 정기 구독으로 이브위키를 후원해주세요!"><img loading="lazy" class="object-cover" src="/mainpage/240514/mainpage_banner_img_240618.webp" style="height: 300px"></a></html></div> | |||
</div> | </div> | ||
<div class="swiper-button-prev"></div> | |||
<div class="swiper-button-next"></div> | |||
<!--페이지 번호--><div class="swiper-pagination"></div> | |||
</div> | </div> | ||
<!-- PC 슬라이드 끝 --> | <!-- PC 슬라이드 끝 --> | ||
<!-- Mobile 슬라이드 시작 --> | <!-- Mobile 슬라이드 시작 --> | ||
<div id="header_slide_banner_mobile" class=" | <div id="header_slide_banner_mobile" class="swiper-container md:hidden rounded-lg overflow-hidden shadow"> | ||
<div class=" | <div class="swiper-wrapper"> | ||
<!--1번 슬라이드--><div class="swiper-slide flex justify-center items-center" style="background-color: #ffffff;"><html><a href="https://evewiki.postype.com/membership_plans" title="포스타입 정기 구독으로 이브위키를 후원해주세요!"><img loading="lazy" class="object-cover" src="/mainpage/230826/1x/한나라닷컴.webp"></a></html></div> | |||
<!--1번 슬라이드-->< | <!--2번 슬라이드--><div class="swiper-slide flex justify-center items-center" style="background-color: #ffffff;"><html><a href="https://evewiki.postype.com/membership_plans" title="포스타입 정기 구독으로 이브위키를 후원해주세요!"><img loading="lazy" class="object-cover" src="/mainpage/230826/1x/플로라_유니버스.webp"></a></html></div> | ||
<!--2번 슬라이드-->< | <!--3번 슬라이드--><div class="swiper-slide flex justify-center items-center" style="background-color: #ffffff;"><html><a href="https://evewiki.postype.com/membership_plans" title="포스타입 정기 구독으로 이브위키를 후원해주세요!"><img loading="lazy" class="object-cover" src="/mainpage/230826/1x/당신들의_조선.webp"></a></html></div> | ||
<!--3번 슬라이드-->< | <!--페이지 번호--><div class="swiper-pagination"></div> | ||
<!-- | |||
</div> | </div> | ||
</div> | </div> | ||
<!-- Mobile 슬라이드 끝 --> | <!-- Mobile 슬라이드 끝 --> | ||
83번째 줄: | 82번째 줄: | ||
<!-- 슬라이드 css js --> | <!-- 슬라이드 css js --> | ||
<html> | <html> | ||
<link rel="stylesheet" href="/mainpage/ | <link rel="stylesheet" href="/mainpage/swiper-11.1.9/swiper-bundle.min.css"> | ||
<script src="/mainpage/ | <script src="/mainpage/swiper-11.1.9/swiper-bundle.min.js"></script> | ||
<script src="/mainpage/240809/slide.min.js"></script> | <script src="/mainpage/240809/slide.min.js"></script> | ||
</html> | </html> | ||
{{#CSS: | {{#CSS: | ||
. | .swiper-container .swiper-button-prev, | ||
.swiper-container .swiper-button-next { | |||
. | opacity: 0; | ||
transition: all .3s cubic-bezier(0,0,.5,1); | |||
} | } | ||
.swiper-container:hover .swiper-button-prev, | |||
.swiper-container:hover .swiper-button-next { | |||
opacity: 1; | |||
} | } | ||
.swiper-container button:focus { | |||
outline: 0; | |||
} | } | ||
.swiper-container .swiper-button-next { | |||
right: 3rem; | |||
} | } | ||
.swiper-container .swiper-button-prev { | |||
left: 3rem; | |||
} | } | ||
. | .swiper-container .swiper-button-prev, | ||
.swiper-container .swiper-button-next { | |||
background: rgba(255,255,255,.08); | |||
width: 3rem; | |||
height: 3rem; | |||
opacity: 1; | |||
border-radius: 9999px; | |||
} | } | ||
.swiper-container .swiper-button-prev:after, | |||
. | .swiper-container .swiper-button-next:after { | ||
color: #000; | |||
font-size: 1.5rem !important; | |||
font-weight: 900; | |||
} | } | ||
.swiper-container .swiper-button-prev:hover, | |||
. | .swiper-container .swiper-button-next:hover { | ||
background: rgba(255,255,255,16); | |||
} | } | ||
.slide-bottom { | .swiper-container .slide-bottom { | ||
position: absolute; | position: absolute; | ||
left: 50%; | left: 50%; | ||
136번째 줄: | 133번째 줄: | ||
transition: 500ms; | transition: 500ms; | ||
} | } | ||
. | .swiper-container .swiper-slide-active .slide-bottom { | ||
opacity: 1; | opacity: 1; | ||
top: 50%; | top: 50%; | ||
} | } | ||
.swiper-container .swiper-pagination-bullet { | |||
width: 50px; | |||
height: 4px; | |||
background: #fff; | |||
border-radius: 0; | |||
opacity: 1; | |||
} | |||
.swiper-container .swiper-pagination-bullet.swiper-pagination-bullet-active { | |||
background: #466DFA; | |||
} | |||
}} | }} | ||
<!---- 슬라이드 css js 끝 ----> | <!---- 슬라이드 css js 끝 ----> |