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

편집 요약 없음
태그: 되돌려진 기여
(Nxdsxn (토론)의 646 판 편집을 되돌림)
태그: 편집 취소
2번째 줄: 2번째 줄:
   COASTLINE: BLACK ICE - Components
   COASTLINE: BLACK ICE - Components
   ========================================= */
   ========================================= */
/* 가짜 문단 */
.fake-h1 {
    display: block;
    font-family: 'BoldRound', sans-serif !important;
    font-size: 2em;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}
.fake-h2 {
    display: block;
    font-family: 'BoldRound', sans-serif !important;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}


/* 툴팁 */
/* 툴팁 */
9번째 줄: 28번째 줄:
     user-select: none;
     user-select: none;
}
}
.tooltip-template {
.tooltip-template {
     display: none;
     display: none;
23번째 줄: 41번째 줄:
     z-index: 5;
     z-index: 5;
}
}
 
.tooltip-template-trigger:hover { text-decoration: underline; }
.tooltip-template-trigger:hover {
.tooltip-template-trigger:hover + .tooltip-template { display: block; user-select: none; }
    text-decoration: underline;
.tooltip-template-trigger:active + .tooltip-template { display: block; user-select: none; }
}
.tooltip-template:hover { display: block; }
 
.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;
}


/* 펼접 */
/* 펼접 */
48번째 줄: 52번째 줄:
     transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
     transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
}
[id^="collapsible"].folding-open {
[id^="collapsible"].folding-open {
     transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
     transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
54번째 줄: 57번째 줄:


/* 최근 변경 */
/* 최근 변경 */
.recent-item {
.clbi-recent-item {
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
62번째 줄: 65번째 줄:
     position: relative;
     position: relative;
}
}
 
.clbi-recent-title-wrap {
.recent-item:last-child {
    margin-bottom: 0;
}
 
.recent-item-title-wrap {
     flex: 1;
     flex: 1;
     overflow: hidden;
     overflow: hidden;
74번째 줄: 72번째 줄:
     -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
     -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
}
}
 
.clbi-recent-title {
.recent-item-title {
     display: inline-block;
     display: inline-block;
     white-space: nowrap;
     white-space: nowrap;
82번째 줄: 79번째 줄:
     text-decoration: none;
     text-decoration: none;
}
}
 
.clbi-recent-title:hover { color: #d45aa2 !important; }
.recent-item-title:hover {
.clbi-recent-time {
    color: #d45aa2 !important;
}
 
.recent-item-time {
     color: #854369;
     color: #854369;
     font-size: 10px;
     font-size: 10px;
93번째 줄: 86번째 줄:
     flex-shrink: 0;
     flex-shrink: 0;
}
}
@keyframes clbi-scroll {
    0%  { transform: translateX(0); }
    80%  { transform: translateX(var(--scroll-dist)); }
    81%  { transform: translateX(0); }
    100% { transform: translateX(0); }
}
/* 호버 애니메이션 */
.hover-gif-btn .gif-static,
.hover-gif-btn .gif-animated { transition: opacity 0.3s ease; }
.hover-gif-btn:not(:hover) .gif-animated { opacity: 0 !important; }
.hover-gif-btn:hover .gif-static { opacity: 0 !important; }
.hover-gif-btn:hover .gif-animated { opacity: 0.25 !important; }
.hover-gif-btn:hover .hover-flash-effect { animation: fast-flash 0.4s ease-out forwards; }
@keyframes fast-flash { 0% { opacity: 0.8; } 100% { opacity: 0; } }
.hover-new-img-layer { transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.1, 0.7, 0.1, 1); opacity: 0; }
.hover-gif-btn:hover .hover-new-img-layer { transform: translateX(0); opacity: 0.25; }


/* 텍스트 스크롤 */
/* drift 애니메이션 */
@keyframes text-scroll {
.drift-btn .drift-img-1 { opacity: 0.3; }
     0% {
.drift-btn .drift-img-2 { opacity: 0; }
        transform: translateX(0);
.drift-btn:hover .drift-img-1 { animation: driftLeftFade 12s linear infinite; }
     }
.drift-btn:hover .drift-img-2 { animation: driftRightFade 12s linear infinite; }
     8% {
@keyframes driftLeftFade {
        transform: translateX(0);
     0%   { opacity: 0.3; transform: scale(1.15) translateX(15px); }
    }
    40%  { opacity: 0.3; transform: scale(1.15) translateX(-15px); }
     92% {
    50%  { opacity: 0;  transform: scale(1.15) translateX(-20px); }
        transform: translateX(var(--scroll-dist));
     90%  { opacity: 0;  transform: scale(1.15) translateX(20px); }
     }
     100% { opacity: 0.3; transform: scale(1.15) translateX(15px); }
     100% {
}
        transform: translateX(var(--scroll-dist));
@keyframes driftRightFade {
     }
     0%   { opacity: 0;  transform: scale(1.15) translateX(-20px); }
     40%  { opacity: 0;  transform: scale(1.15) translateX(-20px); }
     50% { opacity: 0.3; transform: scale(1.15) translateX(-15px); }
    90%  { opacity: 0.3; transform: scale(1.15) translateX(15px); }
     100% { opacity: 0;  transform: scale(1.15) translateX(20px); }
}
}


/* 아이콘 공통 */
/* ========== 프로필 시스템 ========== */
.icon {
.profile-card {
    background: #1e1e1e;
    border: 1px solid #2e2e2e;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
}
.profile-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    position: relative;
}
.profile-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #854369;
}
.profile-info { flex: 1; }
.profile-username {
    font-size: 1.6em;
    font-weight: bold;
    color: #e2e2e2;
    margin: 0 0 4px 0;
    border: none;
    padding: 0;
}
.profile-name { font-size: 1em; color: #aaa; margin-bottom: 6px; }
.profile-role {
     display: inline-block;
     display: inline-block;
     width: 14px;
     background: #854369;
     height: 14px;
     color: #fff;
     flex-shrink: 0;
     font-size: 0.8em;
     background-color: currentColor;
     padding: 2px 10px;
     mask-image: var(--icon);
    border-radius: 20px;
    -webkit-mask-image: var(--icon);
     margin-bottom: 8px;
     mask-size: contain;
}
     -webkit-mask-size: contain;
.profile-discord { font-size: 0.85em; color: #7289da; margin-bottom: 6px; }
     mask-repeat: no-repeat;
.profile-bio { font-size: 0.9em; color: #ccc; margin-top: 8px; line-height: 1.5; }
     -webkit-mask-repeat: no-repeat;
.profile-badges { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
     mask-position: center;
.clbi-badge {
     -webkit-mask-position: center;
     background: #2e2e2e;
     border: 1px solid #854369;
     color: #d45aa2;
     font-size: 0.78em;
     padding: 2px 10px;
     border-radius: 20px;
}
}
 
.profile-edit-btn {
/* 숨김 제목 */
    position: absolute;
.hidden-title,
    top: 0;
.hidden-title::after {
    right: 0;
     display: none !important;
    background: transparent;
    border: 1px solid #854369;
    color: #d45aa2;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85em;
     text-decoration: none;
}
}
 
.profile-edit-btn:hover { background: #854369; color: #fff; }
/* 프로필 통계 */
.profile-stats {
.stat-value {
     margin-top: 20px;
     display: block;
     padding-top: 16px;
     font-size: 18px;
     border-top: 1px solid #2e2e2e;
     font-weight: 700;
     display: flex;
     color: #ffffff;
     gap: 32px;
     line-height: 1.2;
}
}
.profile-stat { display: flex; flex-direction: column; align-items: center; }
.clbi-stat-value { font-size: 1.4em; font-weight: bold; color: #e2e2e2; }
.clbi-stat-label { font-size: 0.8em; color: #888; }


.stat-label {
/* 사용자정보 페이지 */
     display: block;
.clbi-pref-static {
     font-size: 11px;
     color: #e2e2e2;
     color: #999999;
     padding: 8px 12px;
     margin-top: 2px;
     background: #111;
    border: 1px solid #2e2e2e;
    border-radius: 6px;
     font-size: 0.9em;
}
}
 
.clbi-pref-link {
/* 프로필 배지 */
.profile-badge {
     display: inline-block;
     display: inline-block;
     padding: 3px 8px;
     color: #d45aa2 !important;
     margin: 0 4px 4px 0;
     font-size: 0.9em;
    border-radius: 999px;
    padding: 4px 0;
    font-size: 10px;
}
    font-weight: 700;
.clbi-pref-link:hover { color: #ff85c0 !important; }
    background: linear-gradient(to bottom, #5a2040 0%, #3d1a2f 50%, #2e1222 100%);
.clbi-prefs-profile { max-width: 500px; padding: 20px 0; }
     border: 1px solid #854369;
.clbi-pref-row { margin-bottom: 16px; }
     color: #ffffff;
.clbi-pref-row label { display: block; font-size: 0.9em; color: #aaa; margin-bottom: 6px; }
.clbi-pref-row input,
.clbi-pref-row textarea {
    width: 100%;
    background: #1e1e1e;
     border: 1px solid #2e2e2e;
    color: #e2e2e2;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9em;
}
.clbi-pref-row textarea { height: 80px; resize: vertical; }
.clbi-pref-row input:focus,
.clbi-pref-row textarea:focus { outline: none; border-color: #854369; }
#clbi-pref-save {
    background: #854369;
     color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
}
}
#clbi-pref-save:hover { background: #a0527e; }
#clbi-pref-status { margin-left: 12px; color: #33b733; font-size: 0.9em; }

2026년 4월 22일 (수) 14:52 판

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

/* 가짜 문단 */
.fake-h1 {
    display: block;
    font-family: 'BoldRound', sans-serif !important;
    font-size: 2em;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.fake-h2 {
    display: block;
    font-family: 'BoldRound', sans-serif !important;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

/* 툴팁 */
.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);
}

/* 최근 변경 */
.clbi-recent-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    gap: 6px;
    position: relative;
}
.clbi-recent-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%);
}
.clbi-recent-title {
    display: inline-block;
    white-space: nowrap;
    color: #E2E2E2 !important;
    font-size: 12px;
    text-decoration: none;
}
.clbi-recent-title:hover { color: #d45aa2 !important; }
.clbi-recent-time {
    color: #854369;
    font-size: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}
@keyframes clbi-scroll {
    0%   { transform: translateX(0); }
    80%  { transform: translateX(var(--scroll-dist)); }
    81%  { transform: translateX(0); }
    100% { transform: translateX(0); }
}

/* 호버 애니메이션 */
.hover-gif-btn .gif-static,
.hover-gif-btn .gif-animated { transition: opacity 0.3s ease; }
.hover-gif-btn:not(:hover) .gif-animated { opacity: 0 !important; }
.hover-gif-btn:hover .gif-static { opacity: 0 !important; }
.hover-gif-btn:hover .gif-animated { opacity: 0.25 !important; }
.hover-gif-btn:hover .hover-flash-effect { animation: fast-flash 0.4s ease-out forwards; }
@keyframes fast-flash { 0% { opacity: 0.8; } 100% { opacity: 0; } }
.hover-new-img-layer { transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.1, 0.7, 0.1, 1); opacity: 0; }
.hover-gif-btn:hover .hover-new-img-layer { transform: translateX(0); opacity: 0.25; }

/* drift 애니메이션 */
.drift-btn .drift-img-1 { opacity: 0.3; }
.drift-btn .drift-img-2 { opacity: 0; }
.drift-btn:hover .drift-img-1 { animation: driftLeftFade 12s linear infinite; }
.drift-btn:hover .drift-img-2 { animation: driftRightFade 12s linear infinite; }
@keyframes driftLeftFade {
    0%   { opacity: 0.3; transform: scale(1.15) translateX(15px); }
    40%  { opacity: 0.3; transform: scale(1.15) translateX(-15px); }
    50%  { opacity: 0;   transform: scale(1.15) translateX(-20px); }
    90%  { opacity: 0;   transform: scale(1.15) translateX(20px); }
    100% { opacity: 0.3; transform: scale(1.15) translateX(15px); }
}
@keyframes driftRightFade {
    0%   { opacity: 0;   transform: scale(1.15) translateX(-20px); }
    40%  { opacity: 0;   transform: scale(1.15) translateX(-20px); }
    50%  { opacity: 0.3; transform: scale(1.15) translateX(-15px); }
    90%  { opacity: 0.3; transform: scale(1.15) translateX(15px); }
    100% { opacity: 0;   transform: scale(1.15) translateX(20px); }
}

/* ========== 프로필 시스템 ========== */
.profile-card {
    background: #1e1e1e;
    border: 1px solid #2e2e2e;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
}
.profile-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    position: relative;
}
.profile-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #854369;
}
.profile-info { flex: 1; }
.profile-username {
    font-size: 1.6em;
    font-weight: bold;
    color: #e2e2e2;
    margin: 0 0 4px 0;
    border: none;
    padding: 0;
}
.profile-name { font-size: 1em; color: #aaa; margin-bottom: 6px; }
.profile-role {
    display: inline-block;
    background: #854369;
    color: #fff;
    font-size: 0.8em;
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.profile-discord { font-size: 0.85em; color: #7289da; margin-bottom: 6px; }
.profile-bio { font-size: 0.9em; color: #ccc; margin-top: 8px; line-height: 1.5; }
.profile-badges { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.clbi-badge {
    background: #2e2e2e;
    border: 1px solid #854369;
    color: #d45aa2;
    font-size: 0.78em;
    padding: 2px 10px;
    border-radius: 20px;
}
.profile-edit-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: 1px solid #854369;
    color: #d45aa2;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85em;
    text-decoration: none;
}
.profile-edit-btn:hover { background: #854369; color: #fff; }
.profile-stats {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #2e2e2e;
    display: flex;
    gap: 32px;
}
.profile-stat { display: flex; flex-direction: column; align-items: center; }
.clbi-stat-value { font-size: 1.4em; font-weight: bold; color: #e2e2e2; }
.clbi-stat-label { font-size: 0.8em; color: #888; }

/* 사용자정보 페이지 */
.clbi-pref-static {
    color: #e2e2e2;
    padding: 8px 12px;
    background: #111;
    border: 1px solid #2e2e2e;
    border-radius: 6px;
    font-size: 0.9em;
}
.clbi-pref-link {
    display: inline-block;
    color: #d45aa2 !important;
    font-size: 0.9em;
    padding: 4px 0;
}
.clbi-pref-link:hover { color: #ff85c0 !important; }
.clbi-prefs-profile { max-width: 500px; padding: 20px 0; }
.clbi-pref-row { margin-bottom: 16px; }
.clbi-pref-row label { display: block; font-size: 0.9em; color: #aaa; margin-bottom: 6px; }
.clbi-pref-row input,
.clbi-pref-row textarea {
    width: 100%;
    background: #1e1e1e;
    border: 1px solid #2e2e2e;
    color: #e2e2e2;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9em;
}
.clbi-pref-row textarea { height: 80px; resize: vertical; }
.clbi-pref-row input:focus,
.clbi-pref-row textarea:focus { outline: none; border-color: #854369; }
#clbi-pref-save {
    background: #854369;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
}
#clbi-pref-save:hover { background: #a0527e; }
#clbi-pref-status { margin-left: 12px; color: #33b733; font-size: 0.9em; }