미디어위키:Common.css: 두 판 사이의 차이
외관
편집 요약 없음 |
편집 요약 없음 |
||
| 87번째 줄: | 87번째 줄: | ||
/* 표제어 카드 영역 */ | /* 표제어 카드 영역 */ | ||
.story-topic-nav { | .story-topic-nav { | ||
display: | display: flex !important; | ||
flex-wrap: wrap !important; | |||
gap: 8px; | gap: 8px; | ||
width: 100% | width: 100%; | ||
margin: 0 auto; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
| 98번째 줄: | 98번째 줄: | ||
.story-topic-card { | .story-topic-card { | ||
display: block; | display: block; | ||
width: 100%; | flex: 0 0 calc((100% - 32px) / 5); | ||
max-width: calc((100% - 32px) / 5); | |||
box-sizing: border-box; | |||
} | } | ||
| 129번째 줄: | 130번째 줄: | ||
color: #36c !important; | color: #36c !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
/* 모바일 */ | /* 모바일 */ | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.story-topic-card { | |||
. | flex: 0 0 calc((100% - 8px) / 2); | ||
max-width: calc((100% - 8px) / 2); | |||
} | } | ||
} | } | ||
2026년 9월 1일 (화) 12:03 판
/* 이 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) {
.story-topic-card {
flex: 0 0 calc((100% - 8px) / 2);
max-width: calc((100% - 8px) / 2);
}
}