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

40 바이트 추가됨 ,  2022년 4월 6일 (수)
편집 요약 없음
편집 요약 없음
편집 요약 없음
19번째 줄: 19번째 줄:
/* 본문 div 박스 안에 이미지 사이즈 조절 */
/* 본문 div 박스 안에 이미지 사이즈 조절 */
.img_box { width: 400px; text-align: center; margin: 15px auto 20px; }
.img_box { width: 400px; text-align: center; margin: 15px auto 20px; }
.img_box > img { object-fit: cover; width: 100%; }
.img_box > img { object-fit: cover; width: 100%; border-radius: 5px; }
/* img { object-fit: cover; width: 100%; } */
/* img { object-fit: cover; width: 100%; } */


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


/* 화면 폭에 따른 자동 변경 */
/* 화면 폭에 따른 자동 변경 */