미디어위키:Common.css
외관
참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.
- 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
- 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
- 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
/* 이 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);
}
}