Files
taxbaik/TaxBaik.Web/wwwroot/css/site.css
T
kjh2064 6ffff70ece
TaxBaik CI/CD / build-and-deploy (push) Successful in 1m47s
feat: add Markdig markdown rendering for blog posts
- Add Markdig NuGet package (0.38.0)
- Convert blog content from markdown to HTML in Post.cshtml.cs
- Display rendered HTML content instead of raw text
- Add comprehensive markdown styling (h1-h6, lists, tables, code, etc.)
- Use TaxBaik color scheme for markdown elements

Blog posts now render properly:
 Headings (#, ##, ###)
 Bold/italic text (**text**, *text*)
 Lists (-, *, ordered)
 Tables
 Code blocks
 Blockquotes
 Links

Styling follows TaxBaik brand:
- Primary color for headings
- Warm typography (Noto Sans KR)
- Consistent spacing and borders
- Mobile-responsive design
2026-07-01 16:34:09 +09:00

977 lines
21 KiB
CSS

/* TaxBaik — 워밍-프로페셔널 디자인 시스템 */
:root {
/* 워밍-프로페셔널 팔레트 */
--color-primary: #C89D6E; /* 따뜻한 골드/브론즈 */
--color-primary-dark: #A67C52; /* 진한 브론즈 */
--color-secondary: #2E5C4E; /* 따뜻한 초록 */
--color-secondary-dark: #1F3A30; /* 어두운 초록 */
--color-accent: #E8E4D8; /* 따뜻한 베이지 */
--color-accent-dark: #D9D3C4; /* 더 진한 베이지 */
--color-bg: #F9F7F3; /* 따뜻한 화이트 */
--color-bg-alt: #EFE9DD; /* 대체 배경 */
--color-text: #3D2817; /* 따뜻한 갈색 */
--color-text-light: #6B5D4F; /* 밝은 갈색 */
--color-border: #D9D3C4; /* 경계선 */
--color-success: #2E7D32;
--color-warning: #F57C00;
--color-danger: #C62828;
--spacing-xs: 0.25rem;
--spacing-sm: 0.5rem;
--spacing-md: 1rem;
--spacing-lg: 1.5rem;
--spacing-xl: 2rem;
--spacing-2xl: 3rem;
--spacing-3xl: 4rem;
--radius-sm: 4px;
--radius-md: 8px;
--radius-lg: 12px;
--radius-xl: 16px;
--shadow-sm: 0 1px 3px rgba(61, 40, 23, 0.08);
--shadow-md: 0 4px 12px rgba(61, 40, 23, 0.12);
--shadow-lg: 0 8px 24px rgba(61, 40, 23, 0.15);
--shadow-xl: 0 12px 48px rgba(61, 40, 23, 0.18);
--transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
--transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
* {
font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
html {
font-size: 16px;
scroll-behavior: smooth;
}
body {
color: var(--color-text);
background-color: var(--color-bg);
line-height: 1.8;
font-size: clamp(0.9rem, 2.5vw, 1rem);
letter-spacing: 0.3px;
}
/* ===== 타이포그래피 ===== */
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
line-height: 1.3;
color: var(--color-text);
margin-bottom: var(--spacing-lg);
letter-spacing: -0.5px;
}
h1 { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 4vw, 2rem); }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }
p {
margin-bottom: var(--spacing-md);
color: var(--color-text-light);
line-height: 1.85;
}
a {
color: var(--color-primary);
text-decoration: none;
transition: all var(--transition-fast);
}
a:hover {
color: var(--color-secondary);
text-decoration: none;
}
/* ===== 버튼 ===== */
.btn {
border-radius: var(--radius-md);
font-weight: 600;
transition: all var(--transition-normal);
cursor: pointer;
border: none;
padding: 0.75rem 2rem;
font-size: 1rem;
letter-spacing: 0.3px;
display: inline-block;
text-align: center;
text-decoration: none;
}
.btn:active {
transform: scale(0.98);
}
.btn-primary {
background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
color: white;
box-shadow: var(--shadow-md);
}
.btn-primary:hover {
background: linear-gradient(135deg, var(--color-primary-dark) 0%, #8B5E3C 100%);
box-shadow: var(--shadow-lg);
transform: translateY(-2px);
}
.btn-warning {
background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
color: white;
box-shadow: var(--shadow-md);
}
.btn-warning:hover {
background: linear-gradient(135deg, var(--color-secondary-dark) 0%, #0D1E1A 100%);
box-shadow: var(--shadow-lg);
transform: translateY(-2px);
}
.btn-outline-primary {
color: var(--color-primary);
border: 2px solid var(--color-primary);
background: transparent;
}
.btn-outline-primary:hover {
background-color: var(--color-primary);
color: white;
}
.btn-lg {
padding: 1rem 2.5rem;
font-size: 1.1rem;
}
.btn-sm {
padding: 0.5rem 1.25rem;
font-size: 0.95rem;
}
/* ===== 카드 ===== */
.card {
border: 1px solid var(--color-border);
border-radius: var(--radius-xl);
transition: all var(--transition-normal);
box-shadow: var(--shadow-sm);
background: white;
overflow: hidden;
}
.card:hover {
transform: translateY(-6px);
box-shadow: var(--shadow-lg);
border-color: var(--color-primary);
}
.card-body {
padding: var(--spacing-xl);
}
.card-title {
font-weight: 700;
color: var(--color-text);
margin-bottom: var(--spacing-md);
font-size: 1.25rem;
}
.card-text {
color: var(--color-text-light);
line-height: 1.8;
}
/* ===== 히어로 섹션 ===== */
.hero-section {
padding: clamp(3rem, 20vh, 6rem) 0;
background: linear-gradient(135deg, var(--color-secondary) 0%, #1F3A30 100%);
color: white;
position: relative;
overflow: hidden;
border-bottom: 4px solid var(--color-primary);
}
.hero-section::before {
content: '';
position: absolute;
top: -50%;
right: -10%;
width: 600px;
height: 600px;
background: rgba(200, 157, 110, 0.1);
border-radius: 50%;
}
.hero-section::after {
content: '';
position: absolute;
bottom: -30%;
left: -10%;
width: 500px;
height: 500px;
background: rgba(232, 228, 216, 0.05);
border-radius: 50%;
}
.hero-section h1 {
font-size: clamp(2rem, 8vw, 3.5rem);
font-weight: 800;
margin-bottom: var(--spacing-lg);
position: relative;
z-index: 1;
color: white;
}
.hero-section p {
font-size: 1.2rem;
margin-bottom: var(--spacing-xl);
position: relative;
z-index: 1;
color: rgba(255, 255, 255, 0.95);
line-height: 1.8;
}
/* ===== 섹션 ===== */
.bg-light {
background-color: var(--color-accent) !important;
}
.bg-primary {
background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}
.section-title {
font-size: clamp(1.75rem, 5vw, 2.75rem);
font-weight: 800;
color: var(--color-text);
margin-bottom: var(--spacing-xl);
text-align: center;
position: relative;
display: inline-block;
left: 50%;
transform: translateX(-50%);
width: 100%;
}
.section-title::after {
content: '';
display: block;
width: 60px;
height: 4px;
background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
margin: var(--spacing-md) auto 0;
border-radius: 2px;
}
/* ===== 배지 ===== */
.badge {
border-radius: var(--radius-md);
padding: 0.35rem 0.75rem;
font-size: 0.85rem;
font-weight: 600;
display: inline-block;
letter-spacing: 0.2px;
}
.bg-primary-badge {
background-color: rgba(200, 157, 110, 0.15);
color: var(--color-primary);
}
/* ===== 폼 ===== */
.form-control, .form-select {
border: 1px solid var(--color-border);
border-radius: var(--radius-md);
padding: 0.75rem 1rem;
font-size: 1rem;
transition: all var(--transition-fast);
background-color: white;
color: var(--color-text);
}
.form-control:focus, .form-select:focus {
border-color: var(--color-primary);
box-shadow: 0 0 0 3px rgba(200, 157, 110, 0.1);
outline: none;
}
/* ===== 모바일 CTA 바 ===== */
.mobile-cta-bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: white;
border-top: 2px solid var(--color-primary);
padding: var(--spacing-md);
z-index: 1000;
box-shadow: 0 -4px 12px rgba(61, 40, 23, 0.1);
}
.btn-kakao-mobile {
display: block;
width: 100%;
padding: 0.85rem;
background: linear-gradient(135deg, #FFE812 0%, #FDD835 100%);
color: #000;
text-decoration: none;
border-radius: var(--radius-md);
font-weight: 700;
text-align: center;
border: none;
cursor: pointer;
font-size: 0.95rem;
transition: all var(--transition-fast);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
letter-spacing: 0.3px;
}
.btn-kakao-mobile:hover {
background: linear-gradient(135deg, #FDD835 0%, #FBC02D 100%);
text-decoration: none;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
body.with-mobile-cta {
padding-bottom: 70px;
}
/* ===== 네비게이션 ===== */
.navbar {
background-color: white;
box-shadow: var(--shadow-sm);
padding: 1rem 0;
}
.navbar-brand {
font-weight: 800;
color: var(--color-primary) !important;
font-size: 1.35rem;
letter-spacing: -0.5px;
}
.nav-link {
color: var(--color-text) !important;
font-weight: 600;
transition: all var(--transition-fast);
margin: 0 var(--spacing-sm);
letter-spacing: 0.2px;
}
.nav-link:hover {
color: var(--color-primary) !important;
}
/* ===== 반응형 ===== */
@media (max-width: 767.98px) {
h1 { font-size: 1.75rem; }
h2 { font-size: 1.35rem; }
.hero-section {
padding: 2rem 0;
}
.section-title {
font-size: 1.5rem;
}
.card {
margin-bottom: 1rem;
}
.btn {
padding: 0.65rem 1.5rem;
font-size: 0.95rem;
}
.container {
padding: 0 var(--spacing-md);
}
.site-header .navbar-brand {
font-size: 1.1rem;
}
.site-header .navbar-nav {
padding: 0.5rem 0 0;
}
.site-header .nav-link,
.site-header .btn {
width: 100%;
}
.site-header .navbar-toggler {
border: 1px solid var(--color-border);
box-shadow: none;
}
.site-header .navbar-collapse {
padding-bottom: 0.5rem;
}
.pagination {
flex-wrap: wrap;
gap: 0.25rem;
}
.pagination .page-link {
min-width: 2.75rem;
text-align: center;
}
}
@media (max-width: 375px) {
html { font-size: 15px; }
h1 { font-size: 1.5rem; }
.hero-section h1 {
font-size: 1.5rem;
margin-bottom: var(--spacing-md);
}
.hero-section p {
font-size: 1rem;
}
.card-body {
padding: 1rem;
}
.hero-section .d-flex {
gap: 0.75rem !important;
}
}
/* ===== 일반 유틸리티 ===== */
.text-muted {
color: var(--color-text-light) !important;
}
.border-light {
border-color: var(--color-border) !important;
}
img {
max-width: 100%;
height: auto;
display: block;
border-radius: var(--radius-lg);
}
.container {
max-width: 1200px;
}
/* ===== 서비스 카드 ===== */
.service-card {
text-align: center;
position: relative;
border: none !important;
background: white;
padding-top: 0;
}
.service-icon {
font-size: 3.5rem;
display: block;
margin-bottom: 0.5rem;
margin-top: -1.5rem;
}
.service-card .card-title {
font-size: 1.4rem;
margin-bottom: 1rem;
color: var(--color-text);
}
.service-card ul li {
color: var(--color-text-light);
}
/* ===== 블로그 카드 ===== */
.blog-card {
border: none !important;
overflow: hidden;
transition: all var(--transition-normal);
}
.blog-placeholder {
height: 180px;
background: linear-gradient(135deg, rgba(200, 157, 110, 0.1) 0%, rgba(46, 92, 78, 0.1) 100%);
display: flex;
align-items: center;
justify-content: center;
font-size: 4rem;
color: rgba(200, 157, 110, 0.3);
}
.blog-card:hover .blog-placeholder {
background: linear-gradient(135deg, rgba(200, 157, 110, 0.2) 0%, rgba(46, 92, 78, 0.2) 100%);
}
.bg-primary-badge {
background-color: rgba(200, 157, 110, 0.15) !important;
color: var(--color-primary) !important;
}
/* ===== 공지사항 배너 ===== */
.announcement-bar {
border-bottom: 1px solid rgba(0,0,0,0.08);
font-size: 0.9rem;
}
.announcement-bar--info {
background: #E8F4FD;
color: #1565C0;
}
.announcement-bar--banner {
background: #FFF8E1;
color: #E65100;
}
.announcement-bar--urgent {
background: #FFEBEE;
color: #C62828;
}
.announcement-icon {
flex-shrink: 0;
}
.announcement-text {
flex: 1;
}
/* ===== 시즌 Hero ===== */
.hero-section--seasonal {
background: linear-gradient(135deg, #1F3A30 0%, #2E5C4E 60%, #3D7A68 100%);
}
.bg-danger-badge {
background-color: rgba(198, 40, 40, 0.85) !important;
color: #fff !important;
letter-spacing: 0.5px;
}
/* D-Day 카운트다운 위젯 */
.seasonal-deadline-badge {
display: inline-flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 220px;
height: 220px;
border-radius: 50%;
border: 4px solid rgba(255,255,255,0.25);
background: rgba(255,255,255,0.08);
color: white;
backdrop-filter: blur(4px);
}
.deadline-label {
font-size: 0.85rem;
opacity: 0.75;
letter-spacing: 2px;
text-transform: uppercase;
}
.deadline-date {
font-size: 1.6rem;
font-weight: 800;
line-height: 1.2;
margin: 0.25rem 0;
}
.deadline-days {
font-size: 2.8rem;
font-weight: 900;
color: #FFD54F;
line-height: 1;
}
/* ===== 서비스 카드 시즌 강조 ===== */
.service-card--featured {
border: 2px solid var(--color-primary) !important;
position: relative;
}
.service-card-badge {
position: absolute;
top: -12px;
left: 50%;
transform: translateX(-50%);
background: var(--color-primary);
color: white;
font-size: 0.75rem;
font-weight: 700;
padding: 3px 14px;
border-radius: 20px;
white-space: nowrap;
letter-spacing: 0.5px;
}
/* ===== 블로그 시즌 연동 ===== */
.seasonal-blog-header {
display: flex;
justify-content: center;
}
.seasonal-blog-tag {
display: inline-block;
background: linear-gradient(135deg, #C62828 0%, #B71C1C 100%);
color: white;
font-size: 0.82rem;
font-weight: 700;
padding: 4px 16px;
border-radius: 20px;
letter-spacing: 0.5px;
}
.blog-card--seasonal {
border: 2px solid var(--color-primary) !important;
position: relative;
overflow: visible;
}
.blog-seasonal-ribbon {
position: absolute;
top: -12px;
left: 50%;
transform: translateX(-50%);
background: var(--color-primary);
color: white;
font-size: 0.75rem;
font-weight: 700;
padding: 3px 14px;
border-radius: 20px;
white-space: nowrap;
letter-spacing: 0.5px;
z-index: 1;
}
.bg-season-badge {
background-color: var(--color-primary) !important;
color: white !important;
}
.btn-seasonal {
background-color: var(--color-primary);
color: white;
border: none;
}
.btn-seasonal:hover {
background-color: var(--color-primary-dark);
color: white;
}
.btn-outline-seasonal {
border: 2px solid var(--color-primary);
color: var(--color-primary);
background: transparent;
}
.btn-outline-seasonal:hover {
background-color: var(--color-primary);
color: white;
}
/* ===== FAQ 아코디언 ===== */
.faq-accordion {
max-width: 760px;
margin: 0 auto;
}
.faq-item {
border: 1px solid var(--color-border);
border-radius: var(--radius-md) !important;
margin-bottom: 0.75rem;
overflow: hidden;
}
.faq-question {
font-weight: 700;
color: var(--color-text);
background: white;
font-size: 1rem;
padding: 1.1rem 1.5rem;
}
.faq-question:not(.collapsed) {
color: var(--color-secondary);
background: white;
box-shadow: none;
}
.faq-question::after {
filter: none;
}
.faq-question:focus {
box-shadow: 0 0 0 3px rgba(200, 157, 110, 0.2);
}
.faq-answer {
background: #fdfcfa;
color: var(--color-text-light);
line-height: 1.85;
padding: 1rem 1.5rem 1.25rem;
border-top: 1px solid var(--color-border);
}
.faq-answer ul {
padding-left: 1.25rem;
}
.faq-answer ul li {
margin-bottom: 0.4rem;
}
/* ===== 프리미엄 고도화 & 마이크로 인터랙션 (2026-06-30) ===== */
/* 영어/숫자용 폰트 클래스 */
.font-numeric, .font-heading-en {
font-family: 'Outfit', 'Inter', 'Noto Sans KR', sans-serif;
}
/* 히어로 섹션 프리미엄 개편 (메쉬 그라데이션 및 CSS 애니메이션) */
.hero-section {
background: radial-gradient(circle at 10% 20%, rgba(46, 92, 78, 1) 0%, rgba(31, 58, 48, 1) 44%, rgba(13, 30, 26, 1) 100%) !important;
position: relative;
overflow: hidden;
}
.hero-section::before {
content: '';
position: absolute;
top: -30%;
right: -10%;
width: 600px;
height: 600px;
background: radial-gradient(circle, rgba(200, 157, 110, 0.25) 0%, rgba(200, 157, 110, 0) 70%);
border-radius: 50%;
animation: floatAnimation 8s ease-in-out infinite;
pointer-events: none;
}
.hero-section::after {
content: '';
position: absolute;
bottom: -20%;
left: -10%;
width: 500px;
height: 500px;
background: radial-gradient(circle, rgba(232, 228, 216, 0.15) 0%, rgba(232, 228, 216, 0) 70%);
border-radius: 50%;
animation: floatAnimation2 12s ease-in-out infinite alternate;
pointer-events: none;
}
@keyframes floatAnimation {
0% { transform: translateY(0px) scale(1); }
50% { transform: translateY(-30px) scale(1.05); }
100% { transform: translateY(0px) scale(1); }
}
@keyframes floatAnimation2 {
0% { transform: translateX(0px) rotate(0deg); }
50% { transform: translateX(20px) translateY(15px) rotate(10deg); }
100% { transform: translateX(0px) rotate(0deg); }
}
/* 서비스 카드 고도화 */
.service-card {
border: 1px solid rgba(217, 211, 196, 0.6) !important;
box-shadow: 0 10px 25px rgba(61, 40, 23, 0.03) !important;
transition: all var(--transition-normal) !important;
}
.service-card:hover {
transform: translateY(-8px) !important;
box-shadow: 0 20px 40px rgba(61, 40, 23, 0.1) !important;
border-color: var(--color-primary) !important;
}
.service-card--featured {
background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F5 100%) !important;
border-left: 4px solid var(--color-primary) !important;
}
/* 글래스모피즘 포털 클래스 (Glassmorphism Portal Classes) */
.glass-card {
background: rgba(255, 255, 255, 0.7) !important;
backdrop-filter: blur(12px) saturate(180%) !important;
-webkit-backdrop-filter: blur(12px) saturate(180%) !important;
border: 1px solid rgba(255, 255, 255, 0.4) !important;
box-shadow: 0 8px 32px 0 rgba(61, 40, 23, 0.05) !important;
border-radius: var(--radius-lg);
transition: all var(--transition-normal);
}
.glass-card:hover {
background: rgba(255, 255, 255, 0.8) !important;
box-shadow: 0 8px 32px 0 rgba(61, 40, 23, 0.08) !important;
}
.portal-welcome-strip {
background: linear-gradient(135deg, var(--color-secondary-dark) 0%, #152A22 100%);
border-radius: var(--radius-lg);
color: white;
padding: 2.5rem;
box-shadow: var(--shadow-lg);
border-bottom: 3px solid var(--color-primary);
}
/* 타임라인 컴포넌트 뷰티화 */
.timeline-item-modern {
border-left: 2px solid rgba(200, 157, 110, 0.4);
position: relative;
padding-left: 1.5rem;
padding-bottom: 2rem;
}
.timeline-item-modern::after {
content: '';
position: absolute;
width: 12px;
height: 12px;
border-radius: 50%;
background: var(--color-primary);
left: -7px;
top: 6px;
box-shadow: 0 0 0 4px rgba(200, 157, 110, 0.25);
transition: all var(--transition-fast);
}
.timeline-item-modern:hover::after {
background: var(--color-secondary);
box-shadow: 0 0 0 6px rgba(46, 92, 78, 0.3);
transform: scale(1.1);
}
/* ===== 마크다운 스타일 ===== */
.markdown-body {
font-size: 1rem;
line-height: 1.8;
color: var(--color-text);
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
font-weight: 700;
margin-top: 1.5rem;
margin-bottom: 1rem;
color: var(--color-text);
}
.markdown-body h1 {
font-size: 1.8rem;
border-bottom: 2px solid var(--color-primary);
padding-bottom: 0.5rem;
}
.markdown-body h2 {
font-size: 1.5rem;
border-bottom: 1px solid var(--color-border);
padding-bottom: 0.3rem;
}
.markdown-body h3 {
font-size: 1.25rem;
}
.markdown-body h4 {
font-size: 1.1rem;
}
.markdown-body p {
margin-bottom: 1rem;
}
.markdown-body strong {
font-weight: 700;
color: var(--color-primary-dark);
}
.markdown-body em {
font-style: italic;
color: var(--color-text-light);
}
.markdown-body code {
background: var(--color-bg-alt);
border: 1px solid var(--color-border);
border-radius: var(--radius-sm);
padding: 0.15rem 0.4rem;
font-family: 'Courier New', monospace;
font-size: 0.9rem;
color: #d63384;
}
.markdown-body pre {
background: var(--color-text);
color: #f8f8f8;
padding: 1rem;
border-radius: var(--radius-lg);
overflow-x: auto;
margin-bottom: 1rem;
line-height: 1.4;
}
.markdown-body pre code {
background: none;
border: none;
padding: 0;
color: inherit;
font-size: 0.9rem;
}
.markdown-body ul,
.markdown-body ol {
margin-bottom: 1rem;
margin-left: 2rem;
}
.markdown-body li {
margin-bottom: 0.5rem;
}
.markdown-body blockquote {
border-left: 4px solid var(--color-primary);
padding-left: 1rem;
margin: 1rem 0;
color: var(--color-text-light);
font-style: italic;
}
.markdown-body table {
border-collapse: collapse;
width: 100%;
margin-bottom: 1rem;
}
.markdown-body table th,
.markdown-body table td {
border: 1px solid var(--color-border);
padding: 0.75rem;
text-align: left;
}
.markdown-body table th {
background: var(--color-bg-alt);
font-weight: 700;
}
.markdown-body table tr:nth-child(even) {
background: var(--color-bg);
}
.markdown-body a {
color: var(--color-primary-dark);
text-decoration: none;
border-bottom: 1px solid var(--color-primary);
transition: color var(--transition-fast);
}
.markdown-body a:hover {
color: var(--color-primary);
}
.markdown-body hr {
border: none;
border-top: 1px solid var(--color-border);
margin: 2rem 0;
}