미디어위키:Common.css
CABAL WIKI
참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.
- 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
- 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
- 인터넷 익스플로러 / 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
- 오페라: Ctrl-F5를 입력.
/* 이 CSS 설정은 모든 스킨에 적용됩니다 */ /* ===== 커스터마이징된 목차 위치 ===== */ #toc { position: fixed; top: 200px; /* "위키 도구" 아래 여백 조정 */ left: 30px; /* 왼쪽 마진 */ width: 250px; max-height: 70vh; overflow: auto; padding: 10px 15px; background: #fff; border: 1px solid #ccc; border-radius: 8px; font-size: 0.95em; z-index: 1000; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); } /* ===== 본문은 여백 조정 없이 중앙 정렬 유지 ===== */ #mw-content-text { margin-left: auto !important; margin-right: auto !important; } /* ===== 모바일 대응: 기본 위치로 복귀 ===== */ @media screen and (max-width: 768px) { #toc { position: static !important; width: auto; border: none; box-shadow: none; padding: 0; margin-top: 1em; } } /* ===== 링크 색상 빨강 ===== */ .mw-linktitles-auto { color: #e74c3c !important; /* 빨간색 */ font-weight: bold; text-decoration: underline dashed; }