Common.css: 두 판 사이의 차이
CABAL WIKI
편집 요약 없음 태그: 되돌려진 기여 |
편집 요약 없음 태그: 되돌려진 기여 |
||
| 54번째 줄: | 54번째 줄: | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
@media screen and (max-width: 768px) { | |||
/* 목차 박스 겹침 제거 및 스타일 재정의 */ | |||
#toc, .toc { | |||
float: none !important; | |||
position: static !important; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 1em auto !important; | |||
background: #f9f9f9 !important; | |||
padding: 10px !important; | |||
border: 1px solid #ccc !important; | |||
box-shadow: none !important; | |||
box-sizing: border-box; | |||
z-index: 0 !important; | |||
} | |||
/* 목차 안 리스트 줄바꿈 처리 */ | |||
#toc li, .toc li { | |||
word-break: break-word; | |||
line-height: 1.6em; | |||
} | |||
2025년 7월 25일 (금) 06:51 판
/* 본문 전역 스타일 */
.mw-parser-output {
font-size: 15px;
line-height: 1.7em;
word-break: break-word;
}
/* 문단 제목 간 여백 */
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4 {
margin-top: 2em;
margin-bottom: 1em;
}
/* 제목 아래 첫 문단 간격 확보 */
.mw-parser-output h2 + p,
.mw-parser-output h3 + p {
margin-top: 1em !important;
}
/* 본문 단락 간 여백 */
.mw-parser-output p {
margin-bottom: 1.2em !important;
line-height: 1.8 !important;
font-size: 15px !important;
}
/* 리스트 스타일 */
.mw-parser-output ul,
.mw-parser-output ol {
padding-left: 1.6em !important;
margin-bottom: 1.2em !important;
}
.mw-parser-output li {
margin-bottom: 0.5em;
line-height: 1.7em;
}
/* 강조 텍스트 스타일 */
.mw-parser-output b,
.mw-parser-output strong {
font-weight: 600;
color: #333;
}
/* 링크 컬러 */
a {
color: #3366cc;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
@media screen and (max-width: 768px) {
/* 목차 박스 겹침 제거 및 스타일 재정의 */
#toc, .toc {
float: none !important;
position: static !important;
width: 100% !important;
max-width: 100% !important;
margin: 1em auto !important;
background: #f9f9f9 !important;
padding: 10px !important;
border: 1px solid #ccc !important;
box-shadow: none !important;
box-sizing: border-box;
z-index: 0 !important;
}
/* 목차 안 리스트 줄바꿈 처리 */
#toc li, .toc li {
word-break: break-word;
line-height: 1.6em;
}