편집 요약 없음 태그: 되돌려진 기여 |
편집 요약 없음 태그: 되돌려진 기여 |
||
| 1번째 줄: | 1번째 줄: | ||
/* 이 CSS 설정은 모든 스킨에 적용됩니다 */ | /* 이 CSS 설정은 모든 스킨에 적용됩니다 */ | ||
| 12번째 줄: | 13번째 줄: | ||
text-decoration: none; /* 링크 밑줄 제거 */ | text-decoration: none; /* 링크 밑줄 제거 */ | ||
color: inherit; /* 부모 요소의 색상 사용 */ | color: inherit; /* 부모 요소의 색상 사용 */ | ||
} | |||
.custom-toggle { | |||
cursor: pointer; | |||
} | } | ||
.custom-content { | .custom-content { | ||
display: none; | display: none; /* 초기 상태는 접힘 */ | ||
overflow: hidden; | overflow: hidden; /* 콘텐츠가 접힐 때 내용이 보이지 않도록 설정 */ | ||
transition: max-height 0.5s ease; | transition: max-height 0.5s ease; /* 부드러운 크기 변경 */ | ||
} | } | ||
.custom-content.expanded { | .custom-content.expanded { | ||
display: block; | display: block; | ||
max-height: 1000px; | max-height: 1000px; /* 충분히 큰 값으로 설정 (컨텐츠 최대 높이 예상) */ | ||
} | } | ||
.toggle-collapse { | .toggle-collapse { | ||
cursor: pointer; | cursor: pointer; | ||
display: inline; /* 인라인 요소로 설정하여 불필요한 줄바꿈 방지 */ | |||
padding: 0; /* 내부 여백 제거 */ | |||
margin: 0; /* 외부 여백 제거 */ | |||
line-height: 1; /* 텍스트 높이와 동일하게 설정 */ | |||
font-size: inherit; /* 부모 요소의 폰트 크기와 동일하게 설정 */ | |||
vertical-align: middle; /* 부모 텍스트와 동일한 수직 정렬 */ | |||
display: inline; /* | |||
- | |||
} | } | ||
2024년 11월 28일 (목) 19:48 판
/* 이 CSS 설정은 모든 스킨에 적용됩니다 */
/* ReferenceTooltip 스타일 로드 */
@import url('//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-ReferenceTooltips.css&action=raw&ctype=text/css');
.no-link-style a {
text-decoration: none; /* 링크 밑줄 제거 */
color: inherit; /* 부모 요소의 색상 사용 */
}
.nolinkstyle a {
text-decoration: none; /* 링크 밑줄 제거 */
color: inherit; /* 부모 요소의 색상 사용 */
}
.custom-toggle {
cursor: pointer;
}
.custom-content {
display: none; /* 초기 상태는 접힘 */
overflow: hidden; /* 콘텐츠가 접힐 때 내용이 보이지 않도록 설정 */
transition: max-height 0.5s ease; /* 부드러운 크기 변경 */
}
.custom-content.expanded {
display: block;
max-height: 1000px; /* 충분히 큰 값으로 설정 (컨텐츠 최대 높이 예상) */
}
.toggle-collapse {
cursor: pointer;
display: inline; /* 인라인 요소로 설정하여 불필요한 줄바꿈 방지 */
padding: 0; /* 내부 여백 제거 */
margin: 0; /* 외부 여백 제거 */
line-height: 1; /* 텍스트 높이와 동일하게 설정 */
font-size: inherit; /* 부모 요소의 폰트 크기와 동일하게 설정 */
vertical-align: middle; /* 부모 텍스트와 동일한 수직 정렬 */
}