테마: v0.2.8 및 상단 사용자 메뉴·검색·히어로·사이드바 누적 보정

Made-with: Cursor
This commit is contained in:
2026-04-17 13:39:59 +09:00
parent 24f065e67e
commit 070425dd22
13 changed files with 540 additions and 112 deletions

View File

@@ -755,8 +755,6 @@ body:not(.left-sidebar-collapsed) .topbar__sidebar-toggle:hover .topbar__sidebar
width: min(100%, 320px);
padding: 10px 14px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
color: var(--text-soft);
}
@@ -896,6 +894,46 @@ body:not(.left-sidebar-collapsed) .topbar__sidebar-toggle:hover .topbar__sidebar
padding: 20px 18px 10px;
}
.home-hero {
border-bottom: 1px solid var(--border);
background: var(--surface);
}
.home-hero__cover {
opacity: 0;
transition: opacity 0.45s ease;
}
.home-hero__skeleton {
background: linear-gradient(
90deg,
color-mix(in srgb, var(--surface-muted) 88%, var(--surface)),
color-mix(in srgb, var(--surface-muted) 60%, #fff) 45%,
color-mix(in srgb, var(--surface-muted) 88%, var(--surface))
);
background-size: 220% 100%;
animation: home-hero-skeleton 1.2s linear infinite;
transition: opacity 0.35s ease;
}
.home-hero.is-loaded .home-hero__cover {
opacity: 1;
}
.home-hero.is-loaded .home-hero__skeleton {
opacity: 0;
pointer-events: none;
}
@keyframes home-hero-skeleton {
0% {
background-position: 200% 0;
}
100% {
background-position: -20% 0;
}
}
.hero__title {
max-width: 760px;
margin: 0;
@@ -1734,9 +1772,20 @@ body:not(.left-sidebar-collapsed) .topbar__sidebar-toggle:hover .topbar__sidebar
.search-modal__panel {
position: relative;
width: min(100%, 720px);
margin: 56px auto;
padding: 0 18px;
width: min(95vw, 620px);
margin: 72px auto 0;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 18px;
box-shadow: var(--shadow);
overflow: hidden;
}
.search-modal__input {
width: 100%;
padding: 14px 18px;
border-bottom: 1px solid var(--border);
background: var(--surface);
}
.search-modal__input input {
@@ -1745,32 +1794,102 @@ body:not(.left-sidebar-collapsed) .topbar__sidebar-toggle:hover .topbar__sidebar
background: transparent;
color: inherit;
outline: none;
font-size: 1.05rem;
line-height: 1.2;
}
.search-modal__input input::-webkit-search-cancel-button,
.search-modal__input input::-webkit-search-decoration {
-webkit-appearance: none;
appearance: none;
display: none;
}
.search-modal__body {
margin-top: 14px;
padding: 18px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 18px;
box-shadow: var(--shadow);
max-height: 70vh;
padding: 10px 0;
max-height: min(70vh, 640px);
overflow: auto;
}
.search-modal__hint,
.search-empty {
color: var(--text-soft);
padding: 14px 20px;
}
.search-result {
display: block;
padding: 10px 4px;
border-bottom: 1px solid var(--border);
display: flex;
align-items: flex-start;
gap: 10px;
width: 100%;
padding: 10px 20px;
transition: background-color 0.15s ease;
}
.search-result:last-child {
border-bottom: 0;
.search-result:hover {
background: var(--surface-muted);
}
.search-result-group + .search-result-group {
border-top: 1px solid var(--border);
}
.search-result-group__title {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-soft);
padding: 12px 20px 6px;
}
.search-result-group__items {
display: flex;
flex-direction: column;
padding-bottom: 4px;
}
.search-author__avatar {
width: 28px;
height: 28px;
border-radius: 999px;
object-fit: cover;
flex: 0 0 auto;
}
.search-author__avatar--fallback {
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 13px;
background: var(--surface-muted);
color: var(--text-soft);
}
.search-result__prefix {
color: var(--text-soft);
font-weight: 700;
margin-top: 1px;
}
.search-result__title {
display: block;
line-height: 1.35;
color: var(--text);
}
.search-result__excerpt {
margin-top: 4px;
font-size: 12px;
line-height: 1.35;
color: var(--text-soft);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.search-result--post {
flex-direction: column;
gap: 0;
}
@media (max-width: 1023px) {