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

편집 요약 없음
태그: 되돌려진 기여
편집 요약 없음
 
(같은 사용자의 중간 판 40개는 보이지 않습니다)
1번째 줄: 1번째 줄:
/* mw-collapsible-content의 기본 설정 */
.wikitable td {
.mw-collapsible-content {
    position: relative !important; /* 내부 요소 정렬 기준 */
  overflow: hidden;
    max-width: 100% !important;
  height: 0;  /* 기본 상태에서 높이를 0으로 설정 */
    overflow: hidden !important;
  transition: height 0.5s ease-out; /* 애니메이션 효과 */
    table-layout: fixed
}
}


/* 펼쳐졌을 때 적용할 클래스 */
.wikitable td table {
.mw-collapsible-expanded .mw-collapsible-content {
    width: 100% !important; /* 부모 td의 크기에 맞춤 */
  height: auto; /* 내용에 맞게 자동으로 높이 설정 */
    max-width: 100% !important;
}
}


/* mw-collapsible을 클릭할 수 있게 스타일링 */
.nob {
.mw-collapsible {
margin-top: 4px;
  cursor: pointer;
margin-bottom: 4px;
}
 
.ind {
font-size: 14px;
color : #4a4a4a;
margin-left: 18px;
margin-top: 4px;
margin-bottom: 4px;
}
 
.nob2 {
margin-top: -3px;
}
}

2025년 3월 14일 (금) 16:29 기준 최신판

.wikitable td {
    position: relative !important; /* 내부 요소 정렬 기준 */
    max-width: 100% !important;
    overflow: hidden !important;
    table-layout: fixed
}

.wikitable td table {
    width: 100% !important; /* 부모 td의 크기에 맞춤 */
    max-width: 100% !important;
}

.nob {
	margin-top: 4px;
	margin-bottom: 4px;
}

.ind {
	font-size: 14px;
	color : #4a4a4a;
	margin-left: 18px;
	margin-top: 4px;
	margin-bottom: 4px;
}

.nob2 {
	margin-top: -3px;
}