미디어위키:Common.css
외관
참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.
- 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
- 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
- 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
/* Conaonda Wiki - Main Page Styles */
/*
* 게시 위치: MediaWiki:Common.css (스킨 비의존).
* 기존 MediaWiki:Vector-2022.css의 스타일을 이식하고 카테고리 칩/피드
* 레이아웃을 추가했다. Vector-2022.css는 라이브 위키에서 삭제한다.
*/
/* Reset within #cx-main */
#cx-main, #cx-main * { box-sizing: border-box; }
#cx-main {
max-width: 880px; margin: 0 auto; padding: 0 1em 2em;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
color: #1a1a1a;
}
/* Hero */
.cx-hero {
text-align: center; padding: 2.4em 0 1.6em;
background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
color: #fff; border-radius: 12px; margin-bottom: 1.6em;
}
.cx-hero-badge {
display: inline-block; font-size: 0.7em; letter-spacing: 0.3em;
background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
border-radius: 20px; padding: 3px 14px; margin-bottom: 0.8em; font-weight: 600;
color: #fff;
}
.cx-hero-title {
/* Vector 스킨의 h1 색상 규칙(color-emphasized)이 상속을 덮어쓰므로 명시 지정 */
margin: 0; font-size: 2em; font-weight: 700; color: #fff;
text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.cx-hero-sub { margin: 0.5em 0 0; font-size: 1em; opacity: 0.88; color: #fff; }
/* Topic Cards */
.cx-topics {
display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 12px; margin-bottom: 1.6em;
}
.cx-card {
background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px;
padding: 1.1em 1em; transition: box-shadow 0.15s;
}
.cx-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.07); }
.cx-card-icon { font-size: 1.5em; margin-bottom: 0.3em; }
.cx-card h3 { margin: 0 0 0.3em; font-size: 1.05em; }
.cx-card h3 a { text-decoration: none; color: #2563eb; }
.cx-card h3 a:hover { text-decoration: underline; }
.cx-card p { margin: 0; font-size: 0.88em; color: #475569; line-height: 1.45; }
/* Sections */
.cx-section { margin-bottom: 1.4em; }
.cx-section-title {
font-size: 1.05em; font-weight: 600; color: #1e3a5f;
border-bottom: 2px solid #1e3a5f; padding-bottom: 4px; margin-bottom: 10px;
}
/* Category Chips */
.cx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cx-chips a {
display: inline-block; padding: 5px 12px; border-radius: 999px;
background: #eef2ff; border: 1px solid #c7d2fe; color: #3730a3;
text-decoration: none; font-size: 0.86em; transition: background 0.15s;
}
.cx-chips a:hover { background: #e0e7ff; }
/* Recent Feed */
.cx-feed { list-style: none; padding: 0; margin: 0; }
.cx-feed li {
display: flex; align-items: center; gap: 10px;
padding: 7px 0; border-bottom: 1px solid #f1f5f9; font-size: 0.92em;
}
.cx-feed li:last-child { border-bottom: none; }
.cx-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.cx-dot-new { background: #16a34a; }
.cx-dot-edit { background: #2563eb; }
.cx-feed-main { display: flex; flex-direction: column; min-width: 0; }
.cx-feed-title a { text-decoration: none; color: #1a1a1a; font-weight: 500; }
.cx-feed-title a:hover { color: #2563eb; }
.cx-feed-comment {
color: #64748b; font-size: 0.84em; overflow: hidden;
text-overflow: ellipsis; white-space: nowrap; max-width: 520px;
}
.cx-feed-meta {
color: #94a3b8; font-size: 0.85em; margin-left: auto;
white-space: nowrap; flex-shrink: 0;
}
.cx-feed-meta a { color: #2563eb; text-decoration: none; }
.cx-feed-meta a:hover { text-decoration: underline; }
.cx-empty { color: #94a3b8; font-style: italic; padding: 0.6em 0; }
.cx-spinner { text-align: center; padding: 1.6em; color: #94a3b8; }
/* Stats */
.cx-stats {
display: flex; gap: 16px; flex-wrap: wrap;
background: #f1f5f9; border-radius: 10px; padding: 1em 1.2em; margin-bottom: 1.4em;
}
.cx-stat { text-align: center; flex: 1; min-width: 80px; }
.cx-stat-num { font-size: 1.5em; font-weight: 700; color: #1e3a5f; }
.cx-stat-label { font-size: 0.78em; color: #64748b; margin-top: 2px; }
/* Quick Nav */
.cx-quicknav { display: flex; flex-wrap: wrap; gap: 8px; }
.cx-quicknav a {
display: inline-block; padding: 6px 14px; border-radius: 8px;
background: #f1f5f9; color: #334155; text-decoration: none;
font-size: 0.88em; transition: background 0.15s;
}
.cx-quicknav a:hover { background: #e2e8f0; }
/* Network Graph */
#cx-graph-root {
position: relative;
width: 100%;
border: 1px solid #e2e8f0;
border-radius: 10px;
background: #f8fafc;
overflow: hidden;
min-height: 480px;
}
#cx-graph-root svg {
display: block;
width: 100%;
height: 480px;
touch-action: none;
}
#cx-graph-root .cx-spinner {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
}
.cx-graph-node:hover {
cursor: pointer;
stroke: #2563eb;
stroke-width: 3px;
}
.cx-graph-link {
stroke: #cbd5e1;
stroke-opacity: 0.6;
stroke-width: 1.2px;
}
.cx-graph-label {
font-size: 11px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
fill: #334155;
pointer-events: none;
}
.cx-graph-tooltip {
position: absolute;
background: #1e293b;
color: #fff;
padding: 4px 10px;
border-radius: 6px;
font-size: 12px;
pointer-events: none;
white-space: nowrap;
z-index: 10;
}
/* Interactive graph controls */
.cx-graph-controls {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 10px;
border-bottom: 1px solid #e2e8f0;
background: #fff;
}
.cx-graph-search {
flex: 0 0 auto;
width: 170px;
padding: 5px 10px;
border: 1px solid #cbd5e1;
border-radius: 6px;
font-size: 13px;
font-family: inherit;
}
.cx-graph-search:focus {
outline: none;
border-color: #2563eb;
box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}
.cx-graph-legend {
font-size: 12px;
color: #64748b;
}
.cx-graph-node-dim {
opacity: 0.15;
}
.cx-graph-node-active {
stroke: #2563eb;
stroke-width: 3px;
}
.cx-graph-link-active {
stroke: #2563eb;
stroke-opacity: 0.9;
stroke-width: 2px;
}
#cx-graph-root {
min-height: 540px;
}