diff --git a/src/style.css b/src/style.css index caac7ce..fe6975b 100644 --- a/src/style.css +++ b/src/style.css @@ -27,6 +27,8 @@ body, html { margin: 0; padding: 0; width: 100%; height: 100%; background-color: .board-login-btn, .board-load-more, .mode-toggle-btn, +.pc-mode-btn, +.pc-tongsin-screen, .post-detail-close, .terminal, .terminal span { @@ -121,6 +123,25 @@ body, html { margin: 0; padding: 0; width: 100%; height: 100%; background-color: box-shadow: 0 0 8px var(--tui-glow); } +.pc-mode-btn { + background: none; + border: 1px solid var(--tui-border); + color: var(--tui-dim); + font-size: 11px; + padding: 3px 10px; + cursor: pointer; + letter-spacing: 0.02em; + transition: 0.3s; +} +.pc-mode-btn:hover { color: var(--tui-color); border-color: var(--tui-color); } +.pc-mode-btn.active { + background: var(--tui-color); + color: #000; + border-color: var(--tui-color); + font-weight: bold; + box-shadow: 0 0 8px var(--tui-glow); +} + .server-badge { font-size: 11px; font-weight: bold; @@ -313,6 +334,54 @@ iframe { width: 100%; height: 180px; border-radius: 4px; } .board-card:hover .board-card-title { color: var(--tui-color); } .board-card-meta { font-size: 10.5px; color: var(--tui-dim); display: flex; gap: 10px; } +/* --- PC통신 모드 (하이텔/천리안/나우누리 스타일 넘버 메뉴) --- */ +.pc-tongsin-screen { + --pc-bg: #000033; + --pc-fg: #d9d9f5; + --pc-accent: #55ffff; + --pc-highlight: #ffff55; + --pc-dim: #7d7dc4; + --pc-border: #ffffff; + background: var(--pc-bg); + color: var(--pc-fg); + border: 3px double var(--pc-border); + box-shadow: 0 0 20px rgba(85, 255, 255, 0.25); + font-family: 'JetBrains Mono', monospace; + max-width: 720px; + width: 100%; + margin: 0 auto; + position: relative; + overflow: hidden; +} +.pc-tongsin-screen::after { + content: ""; + position: absolute; + inset: 0; + pointer-events: none; + background: linear-gradient(rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.12) 50%); + background-size: 100% 3px; + mix-blend-mode: overlay; + opacity: 0.5; +} +.pc-titlebar { + display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; + border-bottom: 1px solid var(--pc-border); font-size: 12px; font-weight: bold; color: var(--pc-accent); +} +.pc-body { padding: 18px 20px; font-size: 13.5px; line-height: 1.9; } +.pc-screen-title { color: var(--pc-accent); font-weight: bold; margin-bottom: 4px; } +.pc-screen-sub { color: var(--pc-dim); font-size: 12px; margin-bottom: 10px; } +.pc-rule { border: none; border-top: 1px solid var(--pc-dim); opacity: 0.5; margin: 8px 0 12px; } +.pc-menu-row, .pc-post-row { display: flex; gap: 10px; cursor: pointer; padding: 2px 4px; margin: 0 -4px; } +.pc-menu-row:hover, .pc-post-row:hover { background: rgba(255, 255, 255, 0.08); } +.pc-menu-num { color: var(--pc-highlight); font-weight: bold; width: 1.6em; flex-shrink: 0; text-align: right; } +.pc-menu-label { color: var(--pc-fg); } +.pc-menu-badge { color: var(--pc-accent); } +.pc-post-idx { color: var(--pc-highlight); font-weight: bold; width: 1.8em; flex-shrink: 0; text-align: right; } +.pc-post-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } +.pc-post-meta { color: var(--pc-dim); font-size: 11.5px; flex-shrink: 0; white-space: nowrap; } +.pc-footer-hint { color: var(--pc-dim); font-size: 11.5px; } +.pc-footer-hint b { color: var(--pc-highlight); } + /* --- 게시글 상세 (TuiPostDetail.vue) --- */ .tui-post-detail { background-color: #000000 !important; @@ -549,6 +618,8 @@ iframe { width: 100%; height: 180px; border-radius: 4px; } .board-rail { flex-direction: row; flex-wrap: wrap; } .tui-post-detail { max-width: 92vw !important; padding: 16px 16px 0 !important; } .post-detail-foot { margin: 18px -16px 0; padding: 12px 16px 16px; } + .pc-body { padding: 14px; font-size: 12.5px; } + .pc-post-meta { display: none; } /* 2. 네비게이션바 줄바꿈 허용 (화면 밖으로 넘어가지 않게 방어) */ .auth-nav { diff --git a/src/views/Main.vue b/src/views/Main.vue index 5f79c0e..96cac2c 100644 --- a/src/views/Main.vue +++ b/src/views/Main.vue @@ -21,6 +21,14 @@ + +