feat: 로딩 스켈레톤·행사 사진·전시·주말 예상 점수·노을 탭 재정리 등 화면 전반 개선

- 화면 전체 스켈레톤, 로딩·완료·실패 사이 레이아웃 고정, 값 없음은 '?'
- 행사 사진·출처 표시, 문화정보 API 전시 연결, 행사 30km 거리 기준
- 각 상세 점수 칸 오늘/내일/토/일, 단기예보 밖 주말은 중기예보 예상 점수
- 6각 차트 축 이름을 좋은 방향으로, 계산 근거 문구 정리
- 아이콘 오용·뜻 모를 표시·빈 데이터·포스트 본문 반복 수정
- 미세먼지 별도 포스트, 노을 명소 전국 155곳 거리 기준, 노을 탭 결론 중심 재구성
- 밤 다크 테마·별똥별, 댓글·좋아요 대기·실패 표시
- 주말 전국 랭킹·당일치기 카드, 계절 이야기 사진 수집
- 문서: 포스트 타입별 내용, 각 데이터 정리, TODO 진행 순서
This commit is contained in:
minaChoi committed 2026-10-06 16:36:11 +09:00
1 parent 296a09d6db
commit ddf05aeb5c
97 files changed
+5475 -720

No files matched your search

+131 -83
View File
@@ -11,6 +11,8 @@
--orange-deep: #d4552a;
--rain: #4f97e3;
--heart: #ff3b5c;
/* 스켈레톤: 그 자리 글자색을 옅게 써서 낮·밤·노을 어디서든 보이게 */
--skel: color-mix(in oklab, currentColor 13%, transparent);
font-size: 15px;
line-height: 1.5;
}
@@ -140,99 +142,80 @@
}
}
/* 히어로 시간대 배경 */
/* 히어로 시간대 배경 (글자 대비 AA: 저녁은 위쪽을 깊은 보라로) */
.b-hero {
transition: background 0.6s;
}
.b-hero[data-t='morning'] {
background: linear-gradient(180deg, #ffd9b8, #ffe9d4 40%, #dff0ff);
background: linear-gradient(180deg, #ffd9b8, #ffe9d4 45%, #dff0ff);
}
.b-hero[data-t='day'] {
background: linear-gradient(180deg, #9fd3ff, #cfe9ff 55%, #f1f8ff);
}
.b-hero[data-t='sunset'] {
background: linear-gradient(180deg, #8e7cf0, #f28aa0 48%, #ffc38a);
background: linear-gradient(180deg, #5d4fc4, #8b56b8 50%, #e27a8f);
color: #fff;
}
.b-hero[data-t='night'] {
background: linear-gradient(180deg, #141b3d, #27306a 60%, #3d3f86);
color: #fff;
}
.b-hero .b-stars {
opacity: 0;
transition: opacity 0.6s;
/* 시간대 미리보기: 한 줄 트랙, 고른 칸만 흰 알약 */
.b-seg {
background: rgb(255 255 255 / 0.45);
}
.b-hero[data-t='night'] .b-stars {
opacity: 1;
.b-hero:is([data-t='sunset'], [data-t='night']) .b-seg {
background: rgb(0 0 0 / 0.2);
}
.b-stat {
background: rgb(255 255 255 / 0.72);
color: var(--ink);
box-shadow: inset 0 -5px 0 rgb(217 229 244 / 0.9);
}
.b-hero[data-t='night'] .b-stat,
.b-hero[data-t='sunset'] .b-stat {
background: rgb(255 255 255 / 0.18);
color: #fff;
box-shadow: inset 0 -5px 0 rgb(255 255 255 / 0.12);
}
.b-orb-label {
text-shadow: 0 2px 0 rgb(255 255 255 / 0.7);
}
.b-hero[data-t='night'] .b-orb-label,
.b-hero[data-t='sunset'] .b-orb-label {
text-shadow: 0 2px 0 rgb(0 0 0 / 0.2);
.b-seg [aria-pressed='true'] {
background: #fff;
color: #28304a;
box-shadow: 0 1px 4px rgb(40 48 74 / 0.16);
}
.b-sun {
background: radial-gradient(circle at 34% 30%, #fff5cf, #ffc86e 30%, #ff8e4e 68%, #ee6436);
box-shadow:
inset -18px -24px 40px rgb(170 50 20 / 0.34),
inset 16px 18px 28px rgb(255 255 255 / 0.55),
0 30px 56px rgb(240 106 58 / 0.32);
/* 비·기온·오늘의 각 카드: 저녁도 밝은 카드라 진한 글자 */
.b-stat {
background: rgb(255 255 255 / 0.72);
color: #28304a;
box-shadow: inset 0 -4px 0 rgb(217 229 244 / 0.9);
}
.b-hero[data-t='sunset'] .b-stat {
background: rgb(255 255 255 / 0.88);
box-shadow: inset 0 -4px 0 rgb(255 255 255 / 0.4);
}
.b-hero[data-t='night'] .b-stat {
background: rgb(255 255 255 / 0.12);
color: #fff;
box-shadow: inset 0 -4px 0 rgb(255 255 255 / 0.08);
}
/* 히어로에서 유일하게 강조하는 장식: 점수를 담은 해(밤엔 달) */
.b-sun {
background: radial-gradient(circle at 34% 30%, #fff5cf, #ffc86e 34%, #ff9a58 72%, #f07a45);
box-shadow:
inset -12px -16px 28px rgb(170 50 20 / 0.28),
inset 10px 12px 20px rgb(255 255 255 / 0.55),
0 16px 36px rgb(240 106 58 / 0.3);
color: #28304a;
}
.b-hero[data-t='night'] .b-sun {
background: radial-gradient(circle at 34% 30%, #fff, #e7e3ff 35%, #b9b0f2 72%, #8f86d9);
color: #2b2a5c;
box-shadow:
inset -18px -24px 40px rgb(60 50 140 / 0.3),
inset 16px 18px 28px rgb(255 255 255 / 0.6),
0 0 60px rgb(190 180 255 / 0.45);
inset -12px -16px 28px rgb(60 50 140 / 0.26),
inset 10px 12px 20px rgb(255 255 255 / 0.6),
0 0 44px rgb(190 180 255 / 0.4);
}
.b-cloud {
position: absolute;
border-radius: 999px;
background: #fff;
box-shadow:
inset 0 -12px 18px rgb(160 190 230 / 0.45),
0 16px 28px rgb(40 70 120 / 0.13);
.b-bob {
--amp: 4px;
--tilt: 0deg;
animation: b-float 6s ease-in-out infinite;
}
.b-cloud::before,
.b-cloud::after {
content: '';
position: absolute;
border-radius: 999px;
background: #fff;
box-shadow: inset 0 -10px 16px rgb(160 190 230 / 0.35);
}
.b-cloud::before {
left: 16%;
top: -58%;
width: 46%;
aspect-ratio: 1;
}
.b-cloud::after {
left: 50%;
top: -36%;
width: 36%;
aspect-ratio: 1;
}
.b-hero[data-t='night'] .b-cloud,
.b-hero[data-t='night'] .b-cloud::before,
.b-hero[data-t='night'] .b-cloud::after {
background: #c9cdf0;
@media (prefers-reduced-motion: reduce) {
.b-bob {
animation: none;
}
}
/* 이야기 고리 */
@@ -423,19 +406,17 @@
}
.b-shoot {
position: absolute;
top: 14%;
left: 70%;
width: 90px;
width: var(--len, 90px);
height: 1.5px;
border-radius: 2px;
background: linear-gradient(90deg, rgb(255 255 255 / 0), #fff);
opacity: 0;
animation: b-shoot 14s ease-in 6s infinite;
animation: b-shoot var(--dur, 8s) ease-in var(--dl, 0s) infinite;
}
@keyframes b-shoot {
0%, 92% { opacity: 0; transform: rotate(-24deg) translateX(0); }
94% { opacity: 1; }
100% { opacity: 0; transform: rotate(-24deg) translateX(-220px); }
0%, 86% { opacity: 0; transform: rotate(-24deg) translateX(0); }
89% { opacity: 1; }
100% { opacity: 0; transform: rotate(-24deg) translateX(-240px); }
}
.b-paused * {
animation-play-state: paused !important;
@@ -467,18 +448,85 @@
border-color: rgb(255 255 255 / 0.08);
}
/* 밤: 하늘 위 글자는 밝게, 카드 안은 원래 색 */
/* ===== 밤: 화면 전체를 어두운 테마로 (글자 대비 WCAG AA 4.5:1 이상) ===== */
.b-app[data-t='night'] {
--ink: #f1f3ff;
--ink2: #bcc3ea;
--ink3: #a3abdc;
}
.b-app[data-t='night'] :is(article, .bg-white, [class*='bg-white/'], [class*='b-bg-'], .b-stat, .b-sheet) {
--ink: #28304a;
--ink2: #5a6380;
--ink3: #8a92aa;
--ink: #eef1ff;
--ink2: #c3c9ec;
--ink3: #a1a9db;
--line: rgb(255 255 255 / 0.1);
--page: #1a2150;
--shade: #141a42;
--orange: #ff8a57;
--heart: #ff6b85;
--card: #222a5c;
--chip: #2b3470;
--skel: color-mix(in oklab, currentColor 17%, transparent);
color-scheme: dark;
}
.b-app[data-t='night'] .b-tabbar {
--ink: #fff;
--ink3: #9aa2d4;
}
.b-app[data-t='night'] .bg-white {
background-color: var(--card);
}
.b-app[data-t='night'] [class*='bg-white/'] {
background-color: rgb(34 42 92 / 0.85);
}
.b-app[data-t='night'] :is([class*='bg-[#f'], [class*='bg-[#e'], [class*='bg-[#d'], [class*='bg-[#c'], [class*='bg-[linear-gradient']) {
background: var(--chip);
}
.b-app[data-t='night'] [class*='border-[#dfe5ee]'] {
border-color: rgb(255 255 255 / 0.12);
}
.b-app[data-t='night'] [class*='rgb(217_229_244'] {
box-shadow: inset 0 -5px 0 var(--shade);
}
.b-app[data-t='night'] .bg-\(--ink\) {
background-color: #4b56b5;
color: #fff;
}
.b-app[data-t='night'] .bg-\(--ink\) .text-\[\#ffb3c4\] {
color: #ffd0dc;
}
.b-app[data-t='night'] .text-\[\#28304a\] {
color: var(--ink);
}
.b-app[data-t='night'] :is(.text-\[\#1f9d62\], .text-\[\#1f7a4f\]) {
color: #4fd39a;
}
.b-app[data-t='night'] .text-\[\#d6457a\] {
color: #ff8db5;
}
.b-app[data-t='night'] .text-\[\#c2471b\] {
color: #ffab85;
}
.b-app[data-t='night'] .bg-\[\#dff5ea\] {
background: rgb(79 211 154 / 0.16);
}
.b-app[data-t='night'] .bg-\[\#ffe8dc\] {
background: rgb(255 138 87 / 0.16);
}
.b-app[data-t='night'] .b-bg-sky {
background: linear-gradient(180deg, #2a4384, #1f2c62);
}
.b-app[data-t='night'] .b-bg-butter {
background: linear-gradient(180deg, #4d4128, #2c2a3e);
}
.b-app[data-t='night'] .b-bg-peach {
background: linear-gradient(180deg, #553632, #2e2840);
}
.b-app[data-t='night'] .b-bg-mint {
background: linear-gradient(180deg, #1f4a45, #1d2d4a);
}
.b-app[data-t='night'] .b-bg-lilac {
background: linear-gradient(180deg, #3d3480, #262a5e);
}
.b-app[data-t='night'] .b-band-1 {
background: linear-gradient(180deg, rgb(255 160 110 / 0.12), rgb(255 255 255 / 0));
}
.b-app[data-t='night'] .b-band-2 {
background: linear-gradient(180deg, rgb(255 214 110 / 0.12), rgb(255 255 255 / 0));
}
.b-app[data-t='night'] .b-band-3 {
background: linear-gradient(180deg, rgb(110 230 180 / 0.12), rgb(255 255 255 / 0));
}