Common.css: 두 판 사이의 차이
CABAL WIKI
편집 요약 없음 태그: 되돌려진 기여 |
편집 요약 없음 태그: 되돌려진 기여 |
||
| 1번째 줄: | 1번째 줄: | ||
/* 모바일 목차 이슈 해결 */ | |||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
#toc, .toc { | #toc, .toc { | ||
float: none !important; | float: none !important; | ||
| 67번째 줄: | 6번째 줄: | ||
width: 100% !important; | width: 100% !important; | ||
max-width: 100% !important; | max-width: 100% !important; | ||
background: #f9f9f9 !important; | background: #f9f9f9 !important; | ||
padding: 10px !important; | padding: 10px !important; | ||
font-size: 14px !important; | |||
border: 1px solid #ccc !important; | border: 1px solid #ccc !important; | ||
margin: 1em auto !important; | |||
} | } | ||
#toc li, .toc li { | #toc li, .toc li { | ||
line-height: 1.6em; | |||
word-break: break-word; | word-break: break-word; | ||
} | } | ||
body { | |||
font-size: 14px !important; | font-size: 14px !important; | ||
} | } | ||
} | } | ||
/* | /* 본문 전역 적용 */ | ||
.mw-parser-output { | .mw-parser-output { | ||
font-size: 15px; | font-size: 15px; | ||
| 95번째 줄: | 30번째 줄: | ||
} | } | ||
.mw-parser-output h2, | .mw-parser-output h2, | ||
.mw-parser-output h3, | .mw-parser-output h3, | ||
| 103번째 줄: | 37번째 줄: | ||
} | } | ||
.mw-parser-output h2 + p, | |||
.mw-parser-output h3 + p { | |||
margin-top: 1em !important; | |||
} | |||
.mw-parser-output p { | .mw-parser-output p { | ||
margin-bottom: 1em; | margin-bottom: 1em; | ||
} | } | ||
.mw-parser-output ul, | .mw-parser-output ul, | ||
.mw-parser-output ol { | .mw-parser-output ol { | ||
| 114번째 줄: | 51번째 줄: | ||
margin-bottom: 1em; | margin-bottom: 1em; | ||
} | } | ||
.mw-parser-output li { | .mw-parser-output li { | ||
margin-bottom: 0. | margin-bottom: 0.5em; | ||
} | } | ||
.mw-parser-output b, | .mw-parser-output b, | ||
.mw-parser-output strong { | .mw-parser-output strong { | ||
font-weight: 600; | font-weight: 600; | ||
color: #333; | color: #333; | ||
} | } | ||
2025년 7월 25일 (금) 06:24 판
/* 모바일 목차 이슈 해결 */
@media screen and (max-width: 768px) {
#toc, .toc {
float: none !important;
position: static !important;
width: 100% !important;
max-width: 100% !important;
background: #f9f9f9 !important;
padding: 10px !important;
font-size: 14px !important;
border: 1px solid #ccc !important;
margin: 1em auto !important;
}
#toc li, .toc li {
line-height: 1.6em;
word-break: break-word;
}
body {
font-size: 14px !important;
}
}
/* 본문 전역 적용 */
.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: 1em;
}
.mw-parser-output ul,
.mw-parser-output ol {
padding-left: 1.5em;
margin-bottom: 1em;
}
.mw-parser-output li {
margin-bottom: 0.5em;
}
.mw-parser-output b,
.mw-parser-output strong {
font-weight: 600;
color: #333;
}