편집 요약 없음 태그: 되돌려진 기여 |
편집 요약 없음 태그: 되돌려진 기여 |
||
| 1번째 줄: | 1번째 줄: | ||
/* 기존 코드 유지 */ | |||
/* | /* New functionality for smooth transition of collapsible tables */ | ||
.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; /* Adjust based on content's expected max height */ | ||
} | } | ||
/* Styles for toggle-collapse button */ | |||
.toggle-collapse { | .toggle-collapse { | ||
cursor: pointer; | cursor: pointer; | ||
display: inline; /* | display: inline-block; /* Use inline-block to allow margin */ | ||
padding: 0; /* | padding: 0; /* Remove internal padding */ | ||
margin: 0; /* | margin: 0; /* Ensure no extra space */ | ||
line-height: 1; /* | line-height: 1; /* Align text to default height */ | ||
font-size: inherit; /* | font-size: inherit; /* Inherit font size from parent element */ | ||
vertical-align: middle; /* | vertical-align: middle; /* Ensure alignment with surrounding text */ | ||
} | |||
/* Updated glow-text for compatibility */ | |||
.glow-text { | |||
color: var(--glow-text-color, black); /* Add fallback color */ | |||
text-shadow: 0 0 10px rgba(255, 0, 0, 1), | |||
0 0 20px rgba(255, 0, 0, 1), | |||
0 0 30px rgba(255, 0, 0, 1); | |||
display: inline-block; /* Adjust to inline-block for better compatibility */ | |||
transition: all 0.3s ease; | |||
} | } | ||
2024년 11월 28일 (목) 19:52 판
/* 기존 코드 유지 */
/* New functionality for smooth transition of collapsible tables */
.custom-content {
display: none;
overflow: hidden;
transition: max-height 0.5s ease;
}
.custom-content.expanded {
display: block;
max-height: 1000px; /* Adjust based on content's expected max height */
}
/* Styles for toggle-collapse button */
.toggle-collapse {
cursor: pointer;
display: inline-block; /* Use inline-block to allow margin */
padding: 0; /* Remove internal padding */
margin: 0; /* Ensure no extra space */
line-height: 1; /* Align text to default height */
font-size: inherit; /* Inherit font size from parent element */
vertical-align: middle; /* Ensure alignment with surrounding text */
}
/* Updated glow-text for compatibility */
.glow-text {
color: var(--glow-text-color, black); /* Add fallback color */
text-shadow: 0 0 10px rgba(255, 0, 0, 1),
0 0 20px rgba(255, 0, 0, 1),
0 0 30px rgba(255, 0, 0, 1);
display: inline-block; /* Adjust to inline-block for better compatibility */
transition: all 0.3s ease;
}