미디어위키:Common.css: 두 판 사이의 차이
외관
새 문서: →이 CSS 설정은 모든 스킨에 적용됩니다: body.page-대문 h1.firstHeading { display: none; } |
편집 요약 없음 |
||
| 2번째 줄: | 2번째 줄: | ||
body.page-대문 h1.firstHeading { | body.page-대문 h1.firstHeading { | ||
display: none; | display: none; | ||
} | |||
/* ================================================== | |||
K-info Hub Story Header | |||
================================================== */ | |||
/* 전체 상단 네비게이션 영역 */ | |||
.kinfo-story-header { | |||
max-width: 940px; | |||
margin: 28px auto 38px auto; | |||
padding: 18px 20px 22px 20px; | |||
box-sizing: border-box; | |||
background: #f8f9fa; | |||
border: 1px solid #eaecf0; | |||
border-top: 3px solid #72777d; | |||
border-radius: 8px; | |||
} | |||
/* 연도 이동 버튼 */ | |||
.story-year-nav { | |||
display: flex; | |||
justify-content: flex-end; | |||
margin: 0 0 16px 0; | |||
} | |||
.story-year-nav a { | |||
display: inline-flex; | |||
align-items: center; | |||
padding: 6px 13px; | |||
background: #fff; | |||
border: 1px solid #72777d; | |||
border-radius: 18px; | |||
color: #54595d !important; | |||
font-size: 0.88em; | |||
font-weight: 600; | |||
text-decoration: none !important; | |||
} | |||
.story-year-nav a:hover { | |||
background: #fff; | |||
border-color: #36c; | |||
color: #36c !important; | |||
} | |||
/* 안내 문구 */ | |||
.story-intro { | |||
margin: 12px auto 15px auto; | |||
text-align: center; | |||
color: #54595d; | |||
line-height: 1.7; | |||
} | |||
/* 표제어 접기/펼치기 영역 */ | |||
.story-topic-section { | |||
margin: 12px auto 0 auto; | |||
text-align: center; | |||
} | |||
.story-topic-section .mw-collapsible-toggle { | |||
float: none; | |||
display: inline-block; | |||
margin: 0 auto 14px auto; | |||
padding: 5px 12px; | |||
background: #fff; | |||
border: 1px solid #c8ccd1; | |||
border-radius: 5px; | |||
font-size: 0.88em; | |||
} | |||
.story-topic-section .mw-collapsible-toggle a { | |||
color: #36c !important; | |||
text-decoration: none !important; | |||
} | |||
/* 표제어 카드 */ | |||
.story-topic-nav { | |||
display: grid; | |||
grid-template-columns: repeat(5, 1fr); | |||
gap: 8px; | |||
width: 100%; | |||
margin: 0 auto; | |||
} | |||
.story-topic-nav a { | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
min-height: 42px; | |||
padding: 6px 8px; | |||
box-sizing: border-box; | |||
background: #fff; | |||
border: 1px solid #c8ccd1; | |||
border-radius: 5px; | |||
color: #202122 !important; | |||
font-size: 0.9em; | |||
font-weight: 600; | |||
line-height: 1.25; | |||
text-align: center; | |||
text-decoration: none !important; | |||
} | |||
.story-topic-nav a:hover { | |||
background: #eaecf0; | |||
border-color: #36c; | |||
color: #36c !important; | |||
} | |||
/* 모바일 */ | |||
@media (max-width: 768px) { | |||
.kinfo-story-header { | |||
margin: 18px 0 28px 0; | |||
padding: 14px 12px 18px 12px; | |||
} | |||
.story-topic-nav { | |||
grid-template-columns: repeat(2, 1fr); | |||
} | |||
} | } | ||
2026년 9월 1일 (화) 11:55 판
/* 이 CSS 설정은 모든 스킨에 적용됩니다 */
body.page-대문 h1.firstHeading {
display: none;
}
/* ==================================================
K-info Hub Story Header
================================================== */
/* 전체 상단 네비게이션 영역 */
.kinfo-story-header {
max-width: 940px;
margin: 28px auto 38px auto;
padding: 18px 20px 22px 20px;
box-sizing: border-box;
background: #f8f9fa;
border: 1px solid #eaecf0;
border-top: 3px solid #72777d;
border-radius: 8px;
}
/* 연도 이동 버튼 */
.story-year-nav {
display: flex;
justify-content: flex-end;
margin: 0 0 16px 0;
}
.story-year-nav a {
display: inline-flex;
align-items: center;
padding: 6px 13px;
background: #fff;
border: 1px solid #72777d;
border-radius: 18px;
color: #54595d !important;
font-size: 0.88em;
font-weight: 600;
text-decoration: none !important;
}
.story-year-nav a:hover {
background: #fff;
border-color: #36c;
color: #36c !important;
}
/* 안내 문구 */
.story-intro {
margin: 12px auto 15px auto;
text-align: center;
color: #54595d;
line-height: 1.7;
}
/* 표제어 접기/펼치기 영역 */
.story-topic-section {
margin: 12px auto 0 auto;
text-align: center;
}
.story-topic-section .mw-collapsible-toggle {
float: none;
display: inline-block;
margin: 0 auto 14px auto;
padding: 5px 12px;
background: #fff;
border: 1px solid #c8ccd1;
border-radius: 5px;
font-size: 0.88em;
}
.story-topic-section .mw-collapsible-toggle a {
color: #36c !important;
text-decoration: none !important;
}
/* 표제어 카드 */
.story-topic-nav {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 8px;
width: 100%;
margin: 0 auto;
}
.story-topic-nav a {
display: flex;
align-items: center;
justify-content: center;
min-height: 42px;
padding: 6px 8px;
box-sizing: border-box;
background: #fff;
border: 1px solid #c8ccd1;
border-radius: 5px;
color: #202122 !important;
font-size: 0.9em;
font-weight: 600;
line-height: 1.25;
text-align: center;
text-decoration: none !important;
}
.story-topic-nav a:hover {
background: #eaecf0;
border-color: #36c;
color: #36c !important;
}
/* 모바일 */
@media (max-width: 768px) {
.kinfo-story-header {
margin: 18px 0 28px 0;
padding: 14px 12px 18px 12px;
}
.story-topic-nav {
grid-template-columns: repeat(2, 1fr);
}
}