미디어위키:Layout.css: 두 판 사이의 차이

편집 요약 없음
편집 요약 없음
375번째 줄: 375번째 줄:
     align-items: stretch;
     align-items: stretch;
     width: 100%;
     width: 100%;
     min-height: 38px;
     min-height: 50px;
}
}


405번째 줄: 405번째 줄:
     align-items: center;
     align-items: center;
     justify-content: center;
     justify-content: center;
     gap: 6px;
     gap: 8px;
     width: 113px;
     width: 113px;
    min-height: 50px;
     flex-shrink: 0;
     flex-shrink: 0;
     padding: 10px 0;
     padding: 0;
     background: transparent;
     background: transparent;
     border-left: 1px solid transparent;
     border-left: 1px solid transparent;
427번째 줄: 428번째 줄:


.clbi-top-nav-item:hover {
.clbi-top-nav-item:hover {
    min-height: 50px;
     background: linear-gradient(to bottom, #333 0%, #252525 50%, #1a1a1a 100%);
     background: linear-gradient(to bottom, #333 0%, #252525 50%, #1a1a1a 100%);
     border-left-color: #854369;
     border-left-color: #854369;
456번째 줄: 458번째 줄:
.clbi-tnav-icon {
.clbi-tnav-icon {
     display: block;
     display: block;
     width: 16px;
     width: 22px;
     height: 16px;
     height: 22px;
     object-fit: contain;
     object-fit: contain;
     flex: 0 0 16px;
     flex: 0 0 22px;
     image-rendering: pixelated;
     image-rendering: pixelated;
     opacity: 0.92;
     opacity: 0.92;
475번째 줄: 477번째 줄:
     display: inline-flex;
     display: inline-flex;
     align-items: center;
     align-items: center;
     height: 16px;
     height: 22px;
     line-height: 16px;
     line-height: 22px;
     font-size: 11px;
     font-size: 13px;
     font-weight: 700;
     font-weight: 700;
}
}
484번째 줄: 486번째 줄:
     position: relative;
     position: relative;
     z-index: 1;
     z-index: 1;
     font-size: 8px;
     font-size: 12px;
     color: #854369;
     color: #854369;
     transition: color 0.12s;
     transition: color 0.12s;

2026년 5월 12일 (화) 03:51 판

/* =========================================
   COASTLINE: BLACK ICE - Layout
   ========================================= */

/* 상단하단 텔레포트 버튼 숨기기 */
#liberty-bottombtn {
    display: none !important;
}

/* 토론 탭 숨기기 */
a[accesskey="t"] {
    display: none !important;
}

/* 네비게이션 */
.Liberty .nav-wrapper { display: none !important; }

/* 더 넓은 본문 영역 */
.liberty-sidebar { display: none !important; }
.container-fluid.liberty-content {
    padding-bottom: 0 !important;
    margin: 0 16px !important;
    flex: none !important;
    width: 1500px !important;
    max-width: 1500px !important;
    min-width: 1500px !important;
}
.content-wrapper {
    max-width: 1720px !important;
    margin: 0 auto !important;
    padding: 16px !important;
    padding-top: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 0 !important;
    justify-content: center !important;
}

/* 헤더 */
.liberty-content-main {
    border: 2px solid #854369 !important;
}
.Liberty .content-wrapper .liberty-content .liberty-content-main {
    border: 2px solid #854369 !important;
    border-bottom: none !important;
}
.liberty-content { border: none !important; box-shadow: none !important; border-radius: 0 !important; }
.liberty-content-header {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
}
.liberty-content-header .content-tools {
    order: 2 !important;
    flex-shrink: 0 !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
}
.liberty-content-header .title {
    order: 1 !important;
    flex: 1 !important;
    display: flex !important;
    align-items: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
}
.liberty-content-header h1 {
    margin: 0 !important;
    padding: 0 !important;
}
.liberty-content-header .contentSub {
    display: none !important;
}

/* 클릭 피드백 */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.2s ease, opacity 0.2s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 99999;
}

body.page-loading::after {
    background: rgba(0, 0, 0, 0.5);
    opacity: 1;
}

/* 오른쪽 사이드바 */
#clbi-right-sidebar {
    position: relative;
    width: 230px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    flex-shrink: 0;
    align-self: flex-start;
}
.clbi-right-box {
    background: #0a0909;
    border: 2px solid #854369;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 0 1px #1a1a1a, 0 6px 18px rgba(0,0,0,0.45);
}
.clbi-right-title {
    padding: 10px 14px;
    font-weight: 700;
    font-size: 13px;
    color: #E2E2E2;
    border-bottom: 2px solid #854369;
    background: linear-gradient(to bottom, #171114 0%, #0a0909 100%);
}
.clbi-right-content {
    padding: 10px 14px;
    color: #E2E2E2;
    font-size: 12px;
    line-height: 1.8;
}
.clbi-right-content a {
    color: #E2E2E2 !important;
    text-decoration: none;
    display: block;
}
.clbi-right-content a:not(.clbi-user-btn):hover { color: #d45aa2 !important; }
#clbi-search-input {
    width: 100%;
    background: #171717;
    border: 1px solid #854369;
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
    box-sizing: border-box;
    margin-bottom: 6px;
}
#clbi-search-btn {
    width: 100%;
    background: #854369;
    color: #fff;
    border: none;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}
#clbi-search-btn:hover { background: #b45c8f; }

/* 유저 버튼 */
.clbi-user-btn {
    display: block !important;
    padding: 4px 10px !important;
    margin-bottom: 4px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #E2E2E2 !important;
    text-decoration: none !important;
    background: linear-gradient(to bottom, #2a2a2a 0%, #1a1a1a 50%, #111111 100%) !important;
    border: 1px solid #333 !important;
    border-left: 3px solid #854369 !important;
}
.clbi-user-btn:last-child { margin-bottom: 0 !important; }
.clbi-user-btn:hover {
    background: linear-gradient(to bottom, #333 0%, #252525 50%, #1a1a1a 100%) !important;
    border-color: #854369 !important;
    color: #ffffff !important;
}
.clbi-user-btn-logout {
    border-left: 3px solid #d46262 !important;
    color: #d46262 !important;
}
.clbi-user-btn-logout:hover {
    background: linear-gradient(to bottom, #333 0%, #252525 50%, #1a1a1a 100%) !important;
    border-left: 3px solid #d46262 !important;
    border-color: #d46262 !important;
    color: #d46262 !important;
}
.clbi-user-btn.clbi-user-btn-active {
    background: linear-gradient(to bottom, #5a2040 0%, #3d1a2f 50%, #2e1222 100%) !important;
    border-color: #854369 !important;
    color: #ffffff !important;
}

/* 왼쪽 사이드바 */
#clbi-left-sidebar {
    position: relative;
    width: 230px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    flex-shrink: 0;
    align-self: flex-start;
}
.clbi-left-box {
    background: #0a0909;
    border: 2px solid #854369;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 0 1px #1a1a1a, 0 6px 18px rgba(0,0,0,0.45);
}
.clbi-left-title {
    padding: 10px 14px;
    font-weight: 700;
    font-size: 13px;
    color: #E2E2E2;
    border-bottom: 2px solid #854369;
    background: linear-gradient(to bottom, #171114 0%, #0a0909 100%);
    display: flex;
    align-items: center;
    gap: 6px;
}
.clbi-left-content {
    padding: 10px 14px;
    color: #E2E2E2;
    font-size: 12px;
    line-height: 1.8;
}
.clbi-lang-box { padding: 8px !important; text-align: center; }
.clbi-lang-current {
    display: block;
    width: 100%;
    padding: 4px 0;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(to bottom, #5a2040 0%, #3d1a2f 50%, #2e1222 100%);
    color: #ffffff !important;
    border: 1px solid #854369;
    margin-bottom: 0;
    text-align: center;
    cursor: pointer;
}
.clbi-lang-wip {
    display: block;
    width: 100%;
    padding: 4px 0;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(to bottom, #2a2a2a 0%, #1a1a1a 50%, #111111 100%);
    border: 1px solid #333;
    text-align: center;
    color: #555 !important;
    margin-bottom: 6px;
}
.clbi-lang-link {
    display: block;
    width: 100%;
    padding: 4px 0;
    margin-bottom: 6px !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(to bottom, #2a2a2a 0%, #1a1a1a 50%, #111111 100%);
    border: 1px solid #333;
    text-align: center;
}
.clbi-lang-link:last-child,
.clbi-lang-wip:last-child { margin-bottom: 0 !important; }
.clbi-lang-link a {
    display: block !important;
    width: 100% !important;
    color: #a0a0a0 !important;
    text-decoration: none !important;
}
.clbi-lang-link:hover {
    border-color: #854369 !important;
    background: linear-gradient(to bottom, #333 0%, #252525 50%, #1a1a1a 100%) !important;
}
.clbi-lang-link:hover a { color: #ffffff !important; }
.clbi-cat-box { padding: 8px !important; }
.clbi-cat-btn {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    margin-bottom: 6px;
    border-radius: 4px;
    background: linear-gradient(to bottom, #2a2a2a 0%, #1a1a1a 50%, #111111 100%);
    border: 1px solid #333;
    border-left: 3px solid #854369;
    cursor: pointer;
}
.clbi-cat-btn:last-child { margin-bottom: 0; }
.clbi-cat-btn:hover { border-color: #854369; background: linear-gradient(to bottom, #333 0%, #252525 50%, #1a1a1a 100%); }
.clbi-cat-btn a { color: #E2E2E2 !important; text-decoration: none !important; width: 100%; }
.clbi-cat-text { display: flex; flex-direction: column; gap: 2px; }
.clbi-cat-label { font-size: 11px; font-weight: 700; color: #E2E2E2 !important; }
.clbi-cat-sub { font-size: 8px; color: #854369; font-weight: 700; letter-spacing: 0.5px; }
.clbi-cat-arrow { color: #854369; font-size: 10px; }
.clbi-cat-btn.clbi-cat-active {
    background: linear-gradient(to bottom, #5a2040 0%, #3d1a2f 50%, #2e1222 100%) !important;
    border-color: #854369 !important;
}
.clbi-cat-btn.clbi-cat-active .clbi-cat-label { color: #ffffff !important; }
.clbi-cat-btn.clbi-cat-active .clbi-cat-sub,
.clbi-cat-btn.clbi-cat-active .clbi-cat-arrow { color: #ff85c0 !important; }
.clbi-link-box { padding: 8px !important; }
.clbi-link-box ul { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex !important; gap: 6px !important; }
.clbi-link-box ul li { flex: 1 !important; margin: 0 !important; padding: 0 !important; }
.clbi-link-box ul li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 10px 0 !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    background: linear-gradient(to bottom, #2a2a2a 0%, #1a1a1a 50%, #111111 100%) !important;
    color: #a0a0a0 !important;
    border: 1px solid #333 !important;
    text-align: center !important;
}
.clbi-link-box ul li a:hover { border-color: #854369 !important; color: #ffffff !important; }

@media screen and (max-width: 1720px) {
    #clbi-left-sidebar { display: none; }
}

/* 하단 푸터 */
footer {
    border: 2px solid #854369 !important;
    border-top: none !important;
    border-radius: 0 0 5px 5px !important;
}
.liberty-footer {
    background-color: #0a0909 !important;
    border-top: 2px solid #854369 !important;
    border-bottom: none !important;
    border-right: none !important;
    border-left: none !important;
}

/* =========================================
   상단 카테고리 네비게이션 바
   ========================================= */
#clbi-top-nav-wrap {
    width: 2024px;
    margin: 0 auto;
    padding: 20px 16px 0;
    box-sizing: border-box;
}

#clbi-top-nav {
    position: relative;
    width: 100%;
    background: linear-gradient(to bottom, #171114 0%, #0a0909 100%);
    border: 2px solid #854369;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 0 1px #1a1a1a, 0 6px 18px rgba(0,0,0,0.45);
    margin-bottom: 10px;
}

#clbi-top-nav-main {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 50px;
}

/* 로고 */
#clbi-top-nav-logo {
    display: flex;
    align-items: center;
    padding: 0 16px;
    flex-shrink: 0;
}

#clbi-top-nav-logo img {
    height: 64px;
    width: auto;
    display: block;
}

/* 탭 영역 */
#clbi-top-nav-tabs {
    display: flex;
    align-items: stretch;
    flex: 1;
    flex-shrink: 0;
}

.clbi-top-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 113px;
    min-height: 50px;
    flex-shrink: 0;
    padding: 0;
    background: transparent;
    border-left: 1px solid transparent;
    border-right: 1px solid #2a2a2a;
    cursor: pointer;
    transition:
        background 0.12s,
        border-color 0.12s,
        color 0.12s,
        box-shadow 0.12s;
    user-select: none;
    white-space: nowrap;
    text-decoration: none !important;
    color: #E2E2E2 !important;
    overflow: hidden;
    box-sizing: border-box;
}

.clbi-top-nav-item:hover {
    min-height: 50px;
    background: linear-gradient(to bottom, #333 0%, #252525 50%, #1a1a1a 100%);
    border-left-color: #854369;
    border-right-color: #854369;
    color: #fff !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        inset 0 -1px 0 rgba(0,0,0,0.65);
}

.clbi-top-nav-item:hover .clbi-tnav-arrow {
    color: #ff85c0;
}

.clbi-top-nav-item.clbi-tnav-active {
    background: linear-gradient(to bottom, #5a2040 0%, #3d1a2f 50%, #2e1222 100%);
    border-left-color: #854369;
    border-right-color: #854369;
    color: #fff !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        inset 0 -1px 0 rgba(0,0,0,0.70);
}

.clbi-top-nav-item.clbi-tnav-active .clbi-tnav-arrow {
    color: #ff85c0;
}

.clbi-tnav-icon {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex: 0 0 22px;
    image-rendering: pixelated;
    opacity: 0.92;
    align-self: center;
}

.clbi-top-nav-item:hover .clbi-tnav-icon,
.clbi-top-nav-item.clbi-tnav-active .clbi-tnav-icon {
    opacity: 1;
}

.clbi-tnav-label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    height: 22px;
    line-height: 22px;
    font-size: 13px;
    font-weight: 700;
}

.clbi-tnav-arrow {
    position: relative;
    z-index: 1;
    font-size: 12px;
    color: #854369;
    transition: color 0.12s;
}

/* 검색 */
#clbi-top-nav-search {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#clbi-top-search-input {
    width: 240px;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    box-sizing: border-box;
    outline: none;
    pointer-events: all;
    transition: border-color 0.12s, width 0.2s;
}

#clbi-top-search-input:focus {
    border-color: #854369;
    width: 320px;
}

#clbi-top-nav-right {
    margin-left: auto;
    display: flex;
    align-items: stretch;
    border-left: 1px solid #2a2a2a;
}

/* 세계관 펼침 영역 */
#clbi-sub-worldbuilding {
    box-sizing: border-box;
    width: 100%;
    height: 0;
    overflow: hidden;
    border-top: 0 solid #854369;
    background: #0a0909;
    transition:
        height 180ms ease,
        border-top-width 0ms linear 180ms;
}

#clbi-sub-worldbuilding.worldbuilding-open {
    height: 34px;
    border-top-width: 2px;
    transition:
        height 180ms ease,
        border-top-width 0ms linear 0ms;
}

#clbi-sub-worldbuilding-inner {
    height: 34px;
    overflow: hidden;
}

.clbi-tnav-sub-list {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    height: 34px;
    padding: 0;
    margin: 0;
}

.clbi-tnav-sub-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 15px 1px 15px;
    background: transparent;
    color: #E2E2E2 !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none !important;
    box-sizing: border-box;
    transition:
        background 0.12s,
        color 0.12s,
        box-shadow 0.12s;
}

.clbi-tnav-sub-item::after {
    content: "";
    position: absolute;
    top: 7px;
    right: 0;
    bottom: 7px;
    width: 1px;
    background: #1f1f1f;
    pointer-events: none;
}

.clbi-tnav-sub-item:last-child::after {
    display: none;
}

.clbi-tnav-sub-item:hover {
    background: #111111;
    color: #ffffff !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.035),
        inset 0 -1px 0 rgba(0,0,0,0.60);
}

/* 상단 네비: hover/active 인접 경계선 중복 방지 */
.clbi-top-nav-item:hover + .clbi-top-nav-item.clbi-tnav-active {
    border-left-color: transparent;
}

.clbi-top-nav-item.clbi-tnav-active:has(+ .clbi-top-nav-item:hover) {
    border-right-color: transparent;
}