미디어위키:Citizen.css

항공위키
Sayme (토론 | 기여)님의 2022년 4월 6일 (수) 00:42 판

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

  • 파이어폭스 / 사파리: 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; }

.mw-body h1 { font-size: 150%; font-weight: 600; text-shadow: 2px 1px #a7a7a7; background-color: #efefef; padding: 2px 10px; border-radius: 16px; margin-left: -11px; }
.mw-body h2 { font-size: 130%; font-weight: 600; }
.mw-body h3 { font-size: 118%; font-weight: 600; }
.mw-body h4 { font-size: 107%; font-weight: 800; }
.mw-body h5 { font-size: 103%; font-weight: 800; }
.mw-body h6 { font-size: 100%; font-weight: 800; }

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; }
}


/* 각종 이미지, 정보박스 등 크기 반응형 */
@media screen and (min-width: 1339px) {
.color-middle-container, .ts-inner { max-width: 92em; }
}

@media (max-width: 1340px) {
/* .mw-body { font-size: 1.12em !important; } */
/* .mov_box > iframe  { display: block; width: 100%; height: 300px; } */
}

@media screen and (max-width: 850px) {
body { background: unset; margin: auto 10px; }
div.thumb { float: right; }
.thumbimage { width: 100%; }
.mov_box > iframe  { display: block; width: 100%; height: 300px; }
}

@media (max-width: 640px) {
table { width: 100% !important; margin: 0.5em 0 1em 0 !important; } /* 정보상자 크기, 모바일 등에서 너비 100% */
div.thumb { float: none !important; }
.thumbinner { text-align: center; }
.ts-inner { max-width: 90em; }
}

/* 모바일에서 섬네일 여백 */
.floatright, .tright { margin: 0 0 0.5em 0.5em !important; }
.floatleft, .tleft { margin: 0 0.5em 0.5em 0 !important; }

/* 대문 페이지에서 타이틀 감추기 */
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; }

/* 각주 컬럼 너비 여백, 들여쓰기 등 */
.mw-references-columns, .mw-references-wrap { -webkit-column-width: 20em; -moz-column-width: 20em; -ms-column-width: 20em; column-width: 20em; margin-top: 0 !important; }
ol.references, ol.references > li { margin: 0; padding-left: 17px !important; text-indent: -17px !important; }

/* 토론(flow 익스텐션) 폰트 사이즈 */
.mw-body h2.flow-topic-title { font-size: 1.1em; }
.flow-ui-newTopicWidget-title.oo-ui-textInputWidget input { font-size: 1.1em; }
.flow-board-header-menu, .flow-board-navigation, .flow-board { font-size: 0.97em ; }

/* 본문 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; }

/* 섬네일 캡션, 가운데 정렬 */
.mw-content-rtl .thumbcaption,
.mw-content-ltr .thumbcaption { font-size: 90%; text-align: center; }

/* 편집모드, 표 안에서 블릿 앞쪽의 빈 공간 없애기 */
.ve-ce-tableCellNode > .ve-ce-branchNode-blockSlug { margin: -18px; }
ul.ve-ce-branchNode { margin-top: 3px; }
li.ve-ce-branchNode { margin-bottom: 0; }

/* 다크모드에서 목자 백그라운드 색상 없애기 */
/* .client-dark-mode .toc { opacity: 0 ; } */
@media screen and (max-width: 1300px) {
  .toc { background-color: unset !important; }
}

/* 하단 푸터 태그 부문 숨기기 */
#footer-bottom-content { display: none; } 
/* 미디어위키:Citizen-footer-desc, 미디어위키:Citizen-footer-tagline */

/* 글 제목(h1) 아래 '항공위키' 텍스트 제거 */
#siteSub { display: none ; }

/* 틀:항공사 css */
.airline_table { width: 300px; font-size: 85%; border: 1px solid #dddddd; background-color: #f9f9f9; color: #001133; margin: 0 0 0.5em 1em; padding: 0.2em; float: right; clear: right; text-align:left; box-shadow: 0 1px 2px 1px rgb(0 0 0 / 4%); }