미디어위키:Components.css

Nxdsxn (토론 | 기여)님의 2026년 4월 22일 (수) 14:26 판

참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.

  • 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
  • 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
  • 인터넷 익스플로러 / 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
  • 오페라: Ctrl-F5를 입력.
/* =========================================
   COASTLINE: BLACK ICE - Components
   ========================================= */

/* 툴팁 */
.tooltip-template-trigger {
    cursor: pointer;
    color: #722f37;
    user-select: none;
}

.tooltip-template {
    display: none;
    margin: 5px 0;
    border: 1px solid #854369;
    background: #1a1a1a;
    color: #000;
    padding: 12px;
    border-radius: 3px;
    text-align: left;
    user-select: text;
    position: absolute;
    z-index: 5;
}

.tooltip-template-trigger:hover {
    text-decoration: underline;
}

.tooltip-template-trigger:hover + .tooltip-template {
    display: block;
    user-select: none;
}

.tooltip-template-trigger:active + .tooltip-template {
    display: block;
    user-select: none;
}

.tooltip-template:hover {
    display: block;
}

/* 펼접 */
[id^="collapsible"] {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[id^="collapsible"].folding-open {
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 최근 변경 */
.recent-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    gap: 6px;
    position: relative;
}

.recent-item:last-child {
    margin-bottom: 0;
}

.recent-item-title-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
}

.recent-item-title {
    display: inline-block;
    white-space: nowrap;
    color: #E2E2E2 !important;
    font-size: 12px;
    text-decoration: none;
}

.recent-item-title:hover {
    color: #d45aa2 !important;
}

.recent-item-time {
    color: #854369;
    font-size: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 텍스트 스크롤 */
@keyframes text-scroll {
    0% {
        transform: translateX(0);
    }
    8% {
        transform: translateX(0);
    }
    92% {
        transform: translateX(var(--scroll-dist));
    }
    100% {
        transform: translateX(var(--scroll-dist));
    }
}

/* 아이콘 공통 */
.icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-color: currentColor;
    mask-image: var(--icon);
    -webkit-mask-image: var(--icon);
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
}

/* 숨김 제목 */
.hidden-title,
.hidden-title::after {
    display: none !important;
}

/* 프로필 통계 */
.stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 11px;
    color: #999999;
    margin-top: 2px;
}

/* 프로필 배지 */
.profile-badge {
    display: inline-block;
    padding: 3px 8px;
    margin: 0 4px 4px 0;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    background: linear-gradient(to bottom, #5a2040 0%, #3d1a2f 50%, #2e1222 100%);
    border: 1px solid #854369;
    color: #ffffff;
}