미디어위키:Citizen.css

항공위키
Sayme (토론 | 기여)님의 2023년 3월 20일 (월) 17:50 판

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

  • 파이어폭스 / 사파리: 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: 'Apple SD Gothic Neo', 'Gowun Dodum', 'Hahmlet', 'Noto Serif KR', 'Noto Sans KR', 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif; }

.citizen-body, .mw-body-content { color: black; }

.mw-body h1 { font-size: 150%; font-weight: 700; text-shadow: 5px 3px 15px #787878; }
.mw-body h2 { font-size: 120%; font-weight: 700; border-bottom: solid 2px #ebebeb; display: block; overflow: hidden; line-height: 2; margin-top: 1.4em; } /* text-decoration: solid underline #ebebeb 11px; */
.mw-body h3 { font-size: 115%; font-weight: 600; margin-top: 1em; }
.mw-body h4 { font-size: 110%; font-weight: 600; margin-top: 1em; }
.mw-body h5 { font-size: 105%; font-weight: 500; }
.mw-body h6 { font-size: 100%; font-weight: 500; }

/* 타이틀 부분 서브(괄호) css 해제 */
.mw-page-title-parenthesis { color: unset; font-size: unset; }

/* 메인 헤더 부분 제일 위에 나타나는 현상 방지 원래 11 */
.mw-body-header { z-index: 4; } 

/* CodeMirror 소스 편집 폰트 */
.cm-mw-section-1 { font-size: 130% !important; font-weight: 700 !important; }
.cm-mw-section-2 { font-size: 120% !important; font-weight: 700 !important; }
.cm-mw-section-3 { font-size: 115% !important; font-weight: 700 !important; }
.cm-mw-section-4 { font-size: 110% !important; font-weight: 700 !important; }
.cm-mw-section-5 { font-size: 100% !important; font-weight: 700 !important; }

/* pre, code 등에서 폰트 */
pre, code, tt, kbd, samp, .mw-code { font-family:'Apple SD Gothic Neo', 'Gowun Dodum'; font-size: 95%; background-color: #ebebeb; margin: 0.5em 0; }

li { margin-bottom: 0.3em; }

/* footer */
/*.citizen-footer { max-width: 1080px; margin-left: auto; margin-right: auto; } */
.citizen-footer { line-height: .5; }
#footer-places ul { flex-direction: unset; }

/* footer 위 구글 광고 1080px 
.adsbygoogle { width: 1080px; margin-left: auto; margin-right: auto; } */
/* 잔여 광고 숨기기  */
ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}

/* 브레드크럼 폰트 
div#breadcrumbs { font-size: 95%; } */

/* siteNotice 메시지 위치 */
.client-js .mw-dismissable-notice { text-align: center; }
.sitenotice_box { font-family: 'Noto Sans CJK' !important; font-size: 95%; }

/* 문단 편집 버튼 */
.mw-editsection a { padding: 8px 5px 5px 0 !important; }

/* 본문 하단 여백 줄이기 - 원래 80vh */
.mw-body, .parsoid-body { min-height: 50vh; }

/* 문서 제목 컨테이너 배경 색상 */
/* .firstHeading-container { background-color: #ebebeb; border-radius: 12px; padding: 5px 20px 4px 13px; margin: 0 10px 0 -13px; } */
/* 이거 .firstHeading-container { background-color: #ebebeb; border-radius: 12px; padding: 5px 10px; margin-right: 15px; } */

/* 섬네일 이미지 */
.thumbinner, .img_box .thumbinner { padding: 10px; /* border: 1px solid #ddd; */ box-shadow: 1px 1px 10px #ddd; border-radius: 5px; background-color: white; }
div.thumbinner, div.tleft, div.tright { margin-top: 0; }

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

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

/* 항공역사 버튼 */
.history_box { margin: 30px auto 20px auto; width: fit-content; }
.history_center { display: inline-block; padding: 5px 20px; border-radius: 3px; background-color: #EBEBEB; font-weight: 600; margin: 0; }
.history_left { display: inline-block; padding: 5px 20px; border-radius: 18px 0 0 18px; background-color: #EBEBEB; font-weight: 600; } 
.history_right { display: inline-block; padding: 5px 20px; border-radius: 0 18px 18px 0; background-color: #EBEBEB; font-weight: 600; }

/* 화면 폭에 따른 자동 변경 */
@media (max-width: 640px) {
  .cascade { display: flex; flex: 1; flex-flow:column; }
  .cascade-sub-left { margin: 10px 0 0 0 !important; width: 96% !important; }
  .cascade-sub-right { margin: 10px 0 0 0 !important; width: 96% !important; }
  .main-board { display: none; margin: 15px 10px 0 0;} /* display: block; */
  .history_box { margin: 30px 0 20px 0; width: 100%; text-align: center; }
  .history_center { margin: 0; text-align: center; padding: 5px 0; width: 100%; border-radius: 18px; }
  .history_left, .history_right { display: none !important; }
  .img_box { width: 100%; }
  .thumbinner, .img_box .thumbinner { width: 150px !important; }
}

@media (min-width: 601px) {
  .cascade { display: flex; }
  .cascade-sub-left { margin: 10px 3px 0 0 !important; width: 96% !important; }
  .cascade-sub-right { margin: 10px 0 0 3px !important; width: 96% !important; }
  .main-board { margin: 13px 0 10px 30px !important; width: 250px; float: right; }
  /* .history_left, .history_right  { display: inline-block !important; } */
}

/* 각종 이미지, 정보박스 등 크기 반응형 */
@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; } */
}

/* 목차 
.toc { max-width: calc(var(--width-toc)); width: unset; } /* 줄바꿈 현상 막기 위해 조금 넓힘 */

/* 팝업 목차 첫번째 항목 짤리는 문제 - 원래 margin: 45px 0 0 0 !important */
@media screen and (max-width: 1300px) {
  .toc > ul { margin: 91px 0 0 0 !important; }
}

@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: auto; }
}

/* 틀:항공사/인물 css */
.airlines_info, .apo_info, .people_info, .air_movie { max-width: 240px; font-size: 90%; line-height: 1.5; background-color: #f9f9f9; float: right; border: 1px solid #ddd; margin-left: 10px; }
/* .apo_info { border: 1px solid #dddddd; color: #001133; margin: 0.5em 0 0.5em 1em !important; padding: 0.2em; float: right; clear: right; text-align:left; box-shadow: 0 1px 2px 1px rgb(0 0 0 / 4%); } */
.airlines_info br, .apo_info br, .people_info br, .air_movie br { content: unset !important; } /* br 태그 유효하게 */
.airlines_info p, .apo_info p, .people_info p, .air_movie p { margin: 0 auto !important; } /* p 태그 상하 마진 없앰 */
.t-inner-padding { padding: 0 0.4em; word-break: break-all; }

@media (max-width: 640px) {
  .airlines_info, .people_info, .apo_info { float: unset; width: 100%; margin: 0.5em 0 0.5em 0 !important; }
  table { display: inline-table; }
  .ts-inner { max-width: 90em; }
}

/* 이미지 섬네일 여백 */
.floatright, .tright { clear: right; float: right; margin-left: 10px; }
.floatleft, .tleft { margin: 0 0.5em 0.5em 0 !important; }

/* 갤러리 캡션 - 텍스트 */
.skin-citizen div.gallerytext { text-align: center; }

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

/* 쓸데없는 스크롤 딜레이 삭제 */
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; width: max-content; margin-left: auto; margin-right: auto; margin-top: 0; } */
.wikitable > * > tr > th, .wikitable > * > tr > td { border: 1px solid #ddd !important; }
.wikitable { font-size: 90%; }
.wikitable caption { text-align: center; }
table.wikitable tr th { background-color: #EAEAEA; font-size: 100%; font-weight: 800; text-align: center; }
.wikitable > * > tr > th > p, .wikitable > * > tr > td > p { margin-top: 0; margin-bottom: 0; }

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

/* 각주 컬럼 너비 여백, 들여쓰기 등 */
.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-left: 5px; padding-left: 15px !important; text-indent: -10px !important; word-break: break-all; }
.references { margin: unset !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 ; }

/* 섬네일 캡션, 가운데 정렬 */
.mw-content-rtl .thumbcaption, .mw-content-ltr .thumbcaption { font-size: 100%; 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 ; }

/* 편집 모드에서 codemirror  */
.CodeMirror-code { font-size: 15px; }

/* 외곽선 약간 진하게 */
input, select, textarea { border: 1px solid rgb(0 0 0 / 15%) !important }

/* 댓글 시스템 */
.full, .f-message, .reply, .r-message { width: unset; }
.c-container { margin: 0; }
textarea#comment { width: 100%; }

/* Catlink - 편집 없이 직접 분류 설정 - 여백 조정 - padding 없애고, margin 조정 */
.catlinks .mw-normal-catlinks > ul, .catlinks .mw-hidden-catlinks > ul { padding: unset; margin: 0.8rem 0; }
/* 원래 
top: calc(var(--padding-page) * -2
background: var(--color-surface-0) */
.mw-footer:before, #mw-data-after-content:before { top: unset; background: unset; }

/* <br> 태그 없애기 */
/* <br> 태그 줄 바꿈 없애기 등 */
body br { content: unset; } /* 원래 있던 줄바꿈 없앰 무효화 */
table br { content: unset !important; } /* br 태그 없앰 무효화 */
table p { margin: 0 auto !important; } /* 테이블 내 p 태그 상하 마진 없앰 */
.citizen-body br { content: ""; } /* 본문 안에서만 br 태그로 인한 줄바꿈 현상 나타나지 않게 */

/* 편집화면에서 ul 상단 여백 원래 3px */
ul.ve-ce-branchNode { margin-top: 12px; }

/* comment 익스텐션, 안내글 여백 조정 */
.c-spy { margin-top: 7px; }

/* 틀:온글 css */
.origin_doc { margin: 20px 0 15px 0 !important; }

/* 다크모드 
헤더 백그라운드 그래디언트 조정 */
.mw-header:before { bottom: 0; -webkit-mask-image: linear-gradient(180deg,#000000,#000000f5); }
/* 목차 배경 없앰 */
.client-dark-mode .toc { background-color: unset; }

/* 목차 감추기: 원 소스 수정 variables.less 의 @width-toc: 를 0으로 변경 */

/* wikieditor z-index */
.wikiEditor-ui { z-index: 1; }
.wikiEditor-ui-toolbar { z-index: 7; padding: var(--space-sm) 10px; background-color: hsl(208deg 21% 95%); border: solid 1px #efeded; }
/* .wikiEditor-ui .CodeMirror { padding: 1em 0; border: solid 1px #efeded; } */
.wikiEditor-ui .wikiEditor-ui-view { border: 1px solid #e7e7e7 !important; }
.wikiEditor-ui .wikiEditor-ui-top:before { display: none; }

/* 각주 내용 a 링크 색상 해제 */
/* a.external { color: unset; } */
.references a.external { color: unset; }

/* ol, ul 여백 */
/* .citizen-body ol { margin-left: 1.6rem; } */

/* 알림 메뉴 박스 크기 */
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-body { height: 500px !important; }

/* 분류 추가 링크 위치 조정 */
.catlinks ul { align-items: baseline; }

/* wikieditor, ace editor 편집모드 */
.wikiEditor-ui .ace_editor { font-size: 100%; }

/* 테이블/표 접기 문자 우측 여백 
.mw-collapsible-toggle-default:after { margin-right: 10px; } */

/*제목부분 줄바꿈 없게 */
.page-heading { flex-wrap: nowrap; }

[[분류:관리]]