사용자
NodeulsumNaru(비교)
| r14 vs r15 | ||
|---|---|---|
| ... | ... | |
| 152 | 152 | .stel-tab-container { |
| 153 | 153 | margin: 20px auto; max-width: 540px; |
| 154 | 154 | border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 35px; overflow: hidden; |
| 155 | background | |
| 156 | ||
| 157 | ||
| 158 | ||
| 159 | ||
| 160 | ||
| 155 | background: linear-gradient(160deg in oklch, #ffd3b6 0%, #ffaaa5 40%, #d4a5ff 80%, #a29bfe 100%) !important; | |
| 161 | 156 | box-shadow: 0 25px 50px rgba(255, 154, 139, 0.4); |
| 162 | 157 | } |
| 163 | 158 | |
| 164 | /* 탭 | |
| 159 | /* 상단 탭 버튼 영역 */ | |
| 165 | 160 | .stel-tab-nav { |
| 166 | 161 | display: flex; justify-content: center; background: rgba(0,0,0,0.1); backdrop-filter: blur(5px); |
| 167 | position: | |
| 162 | position: sticky; top: 0; z-index: 10; | |
| 168 | 163 | } |
| 169 | 164 | .stel-tab-btn { |
| 170 | 165 | padding: 12px 20px; font-weight: bold; font-size: 14px; color: #fff !important; text-decoration: none; |
| 171 | 166 | } |
| 172 | 167 | |
| 173 | /* | |
| 174 | .stel-co | |
| 175 | ||
| 176 | ||
| 168 | /* 🔥 핵심: 내용이 들어갈 상자 (높이를 고정하고 넘치는 부분을 숨김) */ | |
| 169 | .stel-scroll-box { | |
| 170 | height: 450px; /* 이 높이를 이미지/내용 크기에 맞춰 꼭 조절해주세요! */ | |
| 171 | overflow: hidden; | |
| 172 | scroll-behavior: smooth; /* 부드럽게 넘어가게 함 */ | |
| 177 | 173 | } |
| 178 | 174 | |
| 179 | .tab-i | |
| 180 | g | |
| 181 | ||
| 182 | ||
| 183 | ||
| 175 | /* 각 기수별 컨텐츠 상자 (스크롤 상자와 높이를 맞춰야 함) */ | |
| 176 | .tab-section { | |
| 177 | height: 450px; /* 위 stel-scroll-box의 height와 동일하게 설정 */ | |
| 178 | padding: 15px 10px; | |
| 179 | text-align: center; | |
| 180 | background: rgba(255, 255, 255, 0.05); | |
| 181 | box-sizing: border-box; | |
| 184 | 182 | } |
| 185 | 183 | |
| 186 | /* 기본 상태: 1기생 노출 */ | |
| 187 | #tab1 { | |
| 188 | visibility: visible; | |
| 189 | opacity: 1; | |
| 190 | z-index: 1; | |
| 191 | } | |
| 192 | ||
| 193 | /* 클릭된 탭 노출 (2기, 3기 클릭 시) */ | |
| 194 | #tab2:target, #tab3:target, #tab1:target { | |
| 195 | visibility: visible !important; | |
| 196 | opacity: 1 !important; | |
| 197 | z-index: 5 !important; | |
| 198 | } | |
| 199 | ||
| 200 | 184 | /* 뱃지 스타일 */ |
| 201 | 185 | .m-badge-slim { |
| 202 | 186 | display: inline-block; padding: 2px 10px; margin: 3px 1.5px; border-radius: 3px; |
| 203 | 187 | font-size: 12px; font-weight: 800; color: #5a4fcf !important; |
| 204 | background: | |
| 205 | ||
| 206 | ||
| 188 | background: #fff; border: 1px solid rgba(255, 255, 255, 0.8); | |
| 207 | 189 | } |
| 208 | 190 | }}} |
| 209 | 191 | |
| 210 | 192 | {{{#!wiki class="stel-tab-container" |
| 211 | 193 | {{{#!wiki class="stel-tab-nav" |
| 212 | [[#tab1|{{{#!wiki class="stel-tab-btn" | |
| 213 | 1기생}}}]] [[#tab2|{{{#!wiki class="stel-tab-btn" | |
| 214 | 2기생}}}]] [[#tab3|{{{#!wiki class="stel-tab-btn" | |
| 194 | [[#s-tab1|{{{#!wiki class="stel-tab-btn" | |
| 195 | 1기생}}}]] [[#s-tab2|{{{#!wiki class="stel-tab-btn" | |
| 196 | 2기생}}}]] [[#s-tab3|{{{#!wiki class="stel-tab-btn" | |
| 215 | 197 | 3기생}}}]]}}} |
| 216 | 198 | |
| 217 | {{{#!wiki class="stel-co | |
| 218 | {{{#!wiki class="tab- | |
| 199 | {{{#!wiki class="stel-scroll-box" | |
| 200 | ||
| 201 | {{{#!wiki id="s-tab1" class="tab-section" | |
| 219 | 202 | [[파일:스텔 1기.png|width=100%]] |
| 220 | 203 | {{{#!wiki style="margin-top: 15px;" |
| 221 | 204 | {{{#!wiki class="m-badge-slim" style="border-left: 5px solid #8182b8;" |
| ... | ... | |
| 225 | 208 | }}} |
| 226 | 209 | }}} |
| 227 | 210 | |
| 228 | {{{#!wiki class="tab- | |
| 211 | {{{#!wiki id="s-tab2" class="tab-section" | |
| 229 | 212 | [[파일:스텔 2기.png|width=100%]] |
| 230 | 213 | {{{#!wiki style="margin-top: 15px;" |
| 231 | 214 | {{{#!wiki class="m-badge-slim" style="border-left: 5px solid #9EB5EE;" |
| ... | ... | |
| 236 | 219 | }}} |
| 237 | 220 | }}} |
| 238 | 221 | |
| 239 | {{{#!wiki class="tab- | |
| 222 | {{{#!wiki id="s-tab3" class="tab-section" | |
| 240 | 223 | [[파일:스텔 3기.png|width=100%]] |
| 241 | 224 | {{{#!wiki style="margin-top: 15px;" |
| 242 | 225 | {{{#!wiki class="m-badge-slim" style="border-left: 5px solid #B8A9CA;" |
| ... | ... | |
| 246 | 229 | [[하나코 나나|나나]]}}} |
| 247 | 230 | }}} |
| 248 | 231 | }}} |
| 232 | ||
| 249 | 233 | }}} |
| 250 | 234 | }}} |