미디어위키:Common.css: 두 판 사이의 차이
외관
편집 요약 없음 태그: 되돌려진 기여 |
편집 요약 없음 태그: 수동 되돌리기 |
||
| 27번째 줄: | 27번째 줄: | ||
padding-bottom: 8px !important; | padding-bottom: 8px !important; | ||
margin-bottom: 20px !important; | margin-bottom: 20px !important; | ||
} | } | ||
2026년 5월 29일 (금) 07:07 판
/* 이 CSS 설정은 모든 스킨에 적용됩니다 */
/* 1. PC/모바일 반응형 정보상자 (나무위키 스타일) */
.m4-infobox {
float: right;
clear: right;
width: 330px;
margin: 0 0 20px 20px;
border: 1px solid #cccccc;
background-color: #f9f9f9;
font-size: 0.9em;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
border-collapse: collapse;
}
/* 모바일 화면일 때 표를 100% 꽉 차게 위로 올림 */
@media screen and (max-width: 768px) {
.m4-infobox {
float: none;
width: 100%;
margin: 0 0 20px 0;
}
}
/* 2. 제목 아래 회색선 및 여백 자동 생성 (나무위키 스타일) */
.mw-parser-output h2 {
border-bottom: 1px solid #cccccc !important;
padding-bottom: 8px !important;
margin-bottom: 20px !important;
}