미디어위키:Citizen.css

항공위키
Sayme (토론 | 기여)님의 2022년 4월 5일 (화) 17:38 판

참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다.

  • 파이어폭스 / 사파리: Shift 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5 또는 Ctrl-R을 입력 (Mac에서는 ⌘-R)
  • 구글 크롬: Ctrl-Shift-R키를 입력 (Mac에서는 ⌘-Shift-R)
  • 인터넷 익스플로러 / 엣지: Ctrl 키를 누르면서 새로 고침을 클릭하거나, Ctrl-F5를 입력.
  • 오페라: Ctrl-F5를 입력.
/* All CSS here will be loaded for users of the Citizen skin */

/* 구글 웹폰트 적용 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR&display=swap');
body { font-family: 'Hahmlet', 'Noto Serif KR', 'Noto Sans KR', 'Gowun Dodum', 'Apple SD Gothic Neo', 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif; }

li { margin-bottom: 0.5em; }

/* 본문 div 박스 안에 이미지 사이즈 조절 */
.img_box { width: 400px; text-align: center; margin: 0px auto 20px; }
.img_box > img { object-fit: cover; width: 100%; }
/* img { object-fit: cover; width: 100%; } */

/* 본문 안 iframe 사이즈 맞춤 */
.mov_box { width: 400px; text-align: center; margin: 0px auto 20px; }
.mov_box > iframe { display:block; width:100%; height: auto; }

/* 화면 폭에 따른 자동 변경 */
@media (max-width: 600px) {
  .cascade { display: flex; flex: 1; flex-flow:column; }
  .cascade-sub-left { margin: 10px 0 0 0; width: 99.5% !important; }
  .cascade-sub-right { margin: 10px 0 0 0; width: 99.5% !important; }
  .main-board { display: none; margin: 15px 10px 0 0;} /* display: block; */
  .mobile_mode { display: none; }
  .img_box { width: 100%; }
}

@media (min-width: 601px) {
  .cascade { display: flex; }
  .cascade-sub-left { margin: 10px 5px 0 0; }
  .cascade-sub-right { margin: 10px 0 0 5px; }
  .main-board { margin: 13px 0 10px 30px !important; width: 340px; float: right; }
  .mobile_mode { display: inline-block; }
}

/* 대문 페이지에서 타이틀 감추기 */
body.page-대문 h1.firstHeading { display: none; }

/* 쓸데없는 스크롤 딜레이 삭제 */
html.citizen-animations-ready {	scroll-behavior: auto; } /* common.css에 있는 것으로 원래 smooth */

/* 위키 테이블 */
table.wikitable tr th, table.wikitable tr td { padding: .5em; }
table.wikitable caption { text-align: center; }
.wikitable > * > tr > th, .wikitable > * > tr > td { border: 1px solid #ddd !important; }
.wikitable { font-size: 90%; }
table.wikitable tr th { background-color: #EAEAEA; }

/* pre, .mw-code 인용문 등 */
pre, .mw-code {background-color: #edf1fd; border-radius: 8px;}
pre, .mw-code {border: 0px solid #edf1fd;}
pre { font-family: 'Hahmlet', 'Noto Serif KR', 'Noto Sans KR', 'Menlo','Consolas','Monaco','Noto Mono','Nimbus Mono L','monospace' !important; }