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

항공위키
편집 요약 없음
편집 요약 없음
24번째 줄: 24번째 줄:
body.page-대문 h1.firstHeading { display: none; }
body.page-대문 h1.firstHeading { display: none; }


img { width: 100%; }
.img_box { overflow: hidden; display: flex; align-items: center; justify-content: center; width: 400px; height: 300px; }

2021년 5월 19일 (수) 10:11 판

/* 이 CSS 설정은 모든 스킨에 적용됩니다 */

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

@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: 15px 10px 0 30px; width: 40%; float: right; }
  .mobile_mode { display: inline-block; }
}

td, th { padding: 0 .3rem; }
.wikitable > * > tr > th, .wikitable > * > tr > td { border: 1px solid #ddd !important; }

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

.img_box { overflow: hidden; display: flex; align-items: center; justify-content: center; width: 400px; height: 300px; }