미디어위키:Common.css
SKY's 킹샷 위키
참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.
- 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
- 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
- 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
/* =========================================
최신 블로그/노션 스타일 화이트 테마 CSS (통합본)
========================================= */
/* 1. 고급 웹폰트(Pretendard) 로드 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
/* 2. 전체 배경 및 기본 폰트 최적화 (어두운 배경 강제 제거) */
body, .mw-body, .minerva-root, #content, #mw-page-base, #mw-head-base {
background-color: #ffffff !important;
background-image: none !important;
font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
color: #2c3e50 !important;
line-height: 1.65;
}
/* 3. 상단 헤더 바 & 네비게이션 (그림자/투박한 테두리 제거) */
header.header, #mw-head, #mw-navigation, #mw-panel, #p-personal {
background-color: #ffffff !important;
box-shadow: none !important;
border: none !important;
background-image: none !important;
}
/* 4. 본문 영역 (테두리 제거 및 배경 투명화) */
.mw-body, #content {
border: none !important;
box-shadow: none !important;
background: transparent !important;
}
/* 5. 제목(h1~h6) 스타일링 (노션 스타일의 깔끔한 여백) */
h1, h2, h3, h4, h5, h6, #firstHeading {
font-family: 'Pretendard', sans-serif !important;
font-weight: 700 !important;
color: #1a1a1a !important;
border-bottom: none !important;
text-shadow: none !important; /* 기존 게이밍 테마 네온사인 제거 */
}
h1, #firstHeading {
font-size: 2.2em;
margin-bottom: 0.5em;
font-weight: 800 !important;
}
h2 {
border-bottom: 1px solid #f0f0f0 !important; /* h2에만 아주 연한 회색 구분선 */
padding-bottom: 8px;
margin-top: 1.5em;
font-size: 1.6em;
}
/* 6. 하이퍼링크 색상 (모던 블루 & 깔끔한 밑줄 효과) */
a {
color: #0056b3 !important;
text-decoration: none !important;
transition: color 0.2s ease-in-out, background-color 0.2s;
}
a:hover {
color: #003d82 !important;
text-decoration: underline !important;
}
/* 7. 검색창 및 폼 디자인 최적화 (둥글고 부드럽게) */
.search-box .search, #searchInput, input[type="text"], input[type="search"] {
border-radius: 8px !important;
background-color: #f8f9fa !important;
border: 1px solid #efefef !important;
color: #333 !important;
box-shadow: none !important;
}
/* 8. 사이드바(메뉴) 텍스트 최적화 */
#mw-panel .portal h3, #mw-panel .portal h5, #p-navigation h3 {
color: #888 !important;
font-weight: bold !important;
font-size: 0.85em !important;
border: none !important;
}
#mw-panel .portal ul li a {
color: #4a4a4a !important;
}
#mw-panel .portal ul li a:hover {
color: #1a1a1a !important;
background-color: #f8f9fa !important;
text-decoration: none !important;
border-radius: 4px;
}
/* 9. 목차(TOC) 박스 노션 스타일로 다듬기 */
#toc, .toc {
background-color: #f8f9fa !important;
border: 1px solid #eaeaea !important;
border-radius: 12px !important;
padding: 15px !important;
box-shadow: none !important;
}
#toc h2 {
border: none !important;
font-size: 1em !important;
margin-top: 0 !important;
}
