미디어위키:Citizen.css: 두 판 사이의 차이

항공위키
편집 요약 없음
편집 요약 없음
41번째 줄: 41번째 줄:
.wikitable > * > tr > th, .wikitable > * > tr > td { border: 1px solid #ddd !important; }
.wikitable > * > tr > th, .wikitable > * > tr > td { border: 1px solid #ddd !important; }
.wikitable { font-size: 90%; }
.wikitable { font-size: 90%; }
.wikitable > * > tr > th { background-color: #f8f9fa; }
table.wikitable tr th { background-color: #f8f9fa; }

2022년 4월 5일 (화) 13:28 판

/* All CSS here will be loaded for users of the Citizen skin */

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; text-align: center; }
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: #f8f9fa; }