태그: 편집 취소 |
편집 요약 없음 |
||
| 86번째 줄: | 86번째 줄: | ||
flex-shrink: 0; | flex-shrink: 0; | ||
} | } | ||
/* 최근 변경 / 왼쪽 목차: 긴 텍스트 자동 스크롤 */ | |||
@keyframes clbi-scroll { | @keyframes clbi-scroll { | ||
0% | 0% { | ||
transform: translateX(0); | |||
} | |||
100% { transform: translateX(0); } | |||
79.9% { | |||
transform: translateX(var(--scroll-dist)); | |||
} | |||
80% { | |||
transform: translateX(0); | |||
} | |||
100% { | |||
transform: translateX(0); | |||
} | |||
} | } | ||
2026년 4월 28일 (화) 15:26 판
/* =========================================
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);
}
79.9% {
transform: translateX(var(--scroll-dist));
}
80% {
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; }