미디어위키:Common.css: 두 판 사이의 차이
외관
편집 요약 없음 |
편집 요약 없음 |
||
| 143번째 줄: | 143번째 줄: | ||
max-width: calc((100% - 8px) / 2); | max-width: calc((100% - 8px) / 2); | ||
} | } | ||
} | |||
/* ================================================== | |||
Plugin: Style | |||
================================================== */ | |||
/* Plugin 문서 제목에 고유 색상 적용 */ | |||
body.ns-3000 .mw-first-heading { | |||
color: #245a91; | |||
} | |||
/* Plugin 문서 본문 위에 안내 표시 */ | |||
body.ns-3000 .mw-parser-output::before { | |||
content: "PLUGIN · AI 편찬 지침"; | |||
display: block; | |||
margin-bottom: 16px; | |||
padding: 8px 12px; | |||
background: #dcecff; | |||
border-left: 4px solid #3978b8; | |||
font-weight: 600; | |||
font-size: 0.9em; | |||
color: #245a91; | |||
} | } | ||
2026년 10월 15일 (목) 17:38 기준 최신판
/* 이 CSS 설정은 모든 스킨에 적용됩니다 */
body.page-대문 h1.firstHeading {
display: none;
}
/* ==================================================
K-info Hub StoryListHeader
================================================== */
/* 전체 상단 네비게이션 영역 */
.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: flex !important;
flex-wrap: wrap !important;
gap: 8px;
width: 100%;
margin: 0 auto;
box-sizing: border-box;
}
/* 각각의 카드 */
.story-topic-card {
display: block;
flex: 0 0 calc((100% - 32px) / 5);
max-width: calc((100% - 32px) / 5);
box-sizing: border-box;
}
.story-topic-card a {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
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-card a:hover {
background: #eaecf0;
border-color: #36c;
color: #36c !important;
text-decoration: none !important;
}
@media (max-width: 768px) {
.kinfo-story-header {
margin: 18px 0 28px 0;
padding: 14px 12px 18px 12px;
}
.story-topic-card {
flex: 0 0 calc((100% - 8px) / 2);
max-width: calc((100% - 8px) / 2);
}
}
/* ==================================================
Plugin: Style
================================================== */
/* Plugin 문서 제목에 고유 색상 적용 */
body.ns-3000 .mw-first-heading {
color: #245a91;
}
/* Plugin 문서 본문 위에 안내 표시 */
body.ns-3000 .mw-parser-output::before {
content: "PLUGIN · AI 편찬 지침";
display: block;
margin-bottom: 16px;
padding: 8px 12px;
background: #dcecff;
border-left: 4px solid #3978b8;
font-weight: 600;
font-size: 0.9em;
color: #245a91;
}