MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
/* ============================================= | /* ============================================= | ||
ERAKH CODEX — Common.css | ERAKH CODEX — Common.css | ||
============================================= */ | ============================================= */ | ||
| Line 27: | Line 26: | ||
font-size: 18px !important; | font-size: 18px !important; | ||
line-height: 1.7 !important; | line-height: 1.7 !important; | ||
padding-top: 56px !important; | |||
} | } | ||
| Line 38: | Line 38: | ||
} | } | ||
/* === 링크 === */ | /* === 링크 — 헤더 제외 === */ | ||
a, a:visited { | #bodyContent a, | ||
#bodyContent a:visited, | |||
#footer a { | |||
color: var(--gold-dark) !important; | color: var(--gold-dark) !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
a:hover { | #bodyContent a:hover, | ||
#footer a:hover { | |||
color: var(--gold) !important; | color: var(--gold) !important; | ||
text-decoration: underline !important; | text-decoration: underline !important; | ||
} | } | ||
/* === | /* === Vector UI 전부 숨김 === */ | ||
#mw- | #mw-head, | ||
#mw- | #mw-panel, | ||
#p-logo, | |||
#mw-navigation, | |||
#mw-head-base, | |||
#mw-page-base { | |||
display: none !important; | |||
} | } | ||
| Line 57: | Line 64: | ||
#content, | #content, | ||
.mw-body { | .mw-body { | ||
background | margin: 0 auto !important; | ||
margin-left: auto !important; | |||
max-width: 860px !important; | |||
padding: 2rem 2rem 4rem !important; | |||
background: var(--bg) !important; | |||
border: none !important; | border: none !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
outline: none !important; | |||
} | } | ||
.mw-body-content { | |||
border: none !important; | |||
outline: none !important; | |||
} | } | ||
#bodyContent { | |||
margin-top: 1.5rem !important; | |||
# | |||
} | } | ||
| Line 137: | Line 90: | ||
font-family: 'EB Garamond', Georgia, serif !important; | font-family: 'EB Garamond', Georgia, serif !important; | ||
font-size: 14px !important; | font-size: 14px !important; | ||
} | } | ||
| Line 148: | Line 97: | ||
border-color: var(--beige-2) !important; | border-color: var(--beige-2) !important; | ||
} | } | ||
table.wikitable th { | table.wikitable th { | ||
background-color: var(--beige-1) !important; | background-color: var(--beige-1) !important; | ||
| Line 156: | Line 104: | ||
border-color: var(--beige-2) !important; | border-color: var(--beige-2) !important; | ||
} | } | ||
table.wikitable td { | table.wikitable td { | ||
border-color: var(--beige-2) !important; | border-color: var(--beige-2) !important; | ||
| Line 166: | Line 113: | ||
} | } | ||
/* ====== | /* === 카테고리 === */ | ||
#catlinks { | |||
background-color: var(--beige-1) !important; | |||
border: 1px solid var(--beige-2) !important; | |||
border-radius: 4px !important; | |||
font-family: 'EB Garamond', Georgia, serif !important; | |||
color: var(--ink-soft) !important; | |||
# | |||
font- | |||
color: var(--ink | |||
} | } | ||
Revision as of 03:06, 9 April 2026
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap');
/* =============================================
ERAKH CODEX — Common.css
============================================= */
:root {
--bg: #f9f6f0;
--beige-1: #f0ebe0;
--beige-2: #e2d9c8;
--beige-3: #c8b99a;
--beige-4: #a89070;
--gold: #c8a060;
--gold-dark: #a07840;
--ink: #2a2218;
--ink-soft: #6b5e4e;
--ink-muted: #9c8e80;
--surface: #ffffff;
}
/* === Base === */
body {
background-color: var(--bg) !important;
color: var(--ink) !important;
font-family: 'EB Garamond', Georgia, serif !important;
font-size: 18px !important;
line-height: 1.7 !important;
padding-top: 56px !important;
}
/* === 제목 === */
h1, h2, h3, h4, h5, h6,
.firstHeading, #firstHeading {
font-family: 'Cinzel', serif !important;
color: var(--ink) !important;
font-weight: 500 !important;
letter-spacing: 0.02em !important;
}
/* === 링크 — 헤더 제외 === */
#bodyContent a,
#bodyContent a:visited,
#footer a {
color: var(--gold-dark) !important;
text-decoration: none !important;
}
#bodyContent a:hover,
#footer a:hover {
color: var(--gold) !important;
text-decoration: underline !important;
}
/* === Vector UI 전부 숨김 === */
#mw-head,
#mw-panel,
#p-logo,
#mw-navigation,
#mw-head-base,
#mw-page-base {
display: none !important;
}
/* === 본문 영역 === */
#content,
.mw-body {
margin: 0 auto !important;
margin-left: auto !important;
max-width: 860px !important;
padding: 2rem 2rem 4rem !important;
background: var(--bg) !important;
border: none !important;
box-shadow: none !important;
outline: none !important;
}
.mw-body-content {
border: none !important;
outline: none !important;
}
#bodyContent {
margin-top: 1.5rem !important;
}
/* === 푸터 === */
#footer {
background-color: var(--beige-1) !important;
border-top: 1px solid var(--beige-2) !important;
color: var(--ink-muted) !important;
font-family: 'EB Garamond', Georgia, serif !important;
font-size: 14px !important;
}
/* === 위키테이블 === */
table.wikitable {
background-color: var(--surface) !important;
border-color: var(--beige-2) !important;
}
table.wikitable th {
background-color: var(--beige-1) !important;
color: var(--ink) !important;
font-family: 'Cinzel', serif !important;
font-weight: 500 !important;
border-color: var(--beige-2) !important;
}
table.wikitable td {
border-color: var(--beige-2) !important;
}
/* === 구분선 === */
hr {
border-color: var(--beige-2) !important;
}
/* === 카테고리 === */
#catlinks {
background-color: var(--beige-1) !important;
border: 1px solid var(--beige-2) !important;
border-radius: 4px !important;
font-family: 'EB Garamond', Georgia, serif !important;
color: var(--ink-soft) !important;
}