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

편집 요약 없음
태그: 되돌려진 기여
편집 요약 없음
 
(같은 사용자의 중간 판 27개는 보이지 않습니다)
12번째 줄: 12번째 줄:
     text-decoration: none; /* 링크 밑줄 제거 */
     text-decoration: none; /* 링크 밑줄 제거 */
     color: inherit; /* 부모 요소의 색상 사용 */
     color: inherit; /* 부모 요소의 색상 사용 */
}
/* .image-cell 클래스를 사용하여 이미지 크기 조정 */
.image-cell {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.image-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 셀 크기에 맞게 이미지 비율을 유지하면서 잘라냄 */
}
}


.custom-toggle {
.custom-toggle {
     cursor: pointer;
     cursor: pointer;
}
.custom-content {
    display: none; /* 초기 상태는 접힘 */
}
}


38번째 줄: 57번째 줄:
}
}


/* 접기/펼치기 애니메이션 */
.collapsible-container {
    overflow: hidden; /* 접기/펼치기 시 넘치는 내용 숨김 */
    max-height: 0; /* 기본적으로 숨김 상태 */
    transition: max-height 0.3s ease; /* 부드러운 전환 */
}
.collapsible-container.expanded {
    max-height: 1000px; /* 충분히 큰 값으로 설정 (실제 콘텐츠에 따라 자동 조정) */
}
/* 접기/펼치기 버튼 스타일 */
.toggle-collapse {
.toggle-collapse {
    cursor: pointer;
cursor: pointer;
     display: inline-block;
     display: inline; /* 인라인 요소로 설정하여 불필요한 줄바꿈 방지 */
     padding: 2px 5px;
     padding: 0; /* 내부 여백 제거 */
     margin: 0;
     margin: 0; /* 외부 여백 제거 */
    font-size: inherit;
    line-height: 1; /* 텍스트 높이와 동일하게 설정 */
    vertical-align: middle;
     font-size: inherit; /* 부모 요소의 폰트 크기와 동일하게 설정 */
    transition: background-color 0.2s ease;
     vertical-align: baseline; /* 부모 텍스트와 동일한 수직 정렬 */
}
 
/* 접기/펼치기 애니메이션 */
.custom-content {
    display: none; /* 기본적으로 숨김 */
     overflow: hidden; /* 내용 넘침 방지 */
     transition: max-height 0.3s ease, padding 0.3s ease; /* 부드러운 전환 */
}
}

2024년 11월 30일 (토) 18:00 기준 최신판

/* 이 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; /* 부모 요소의 색상 사용 */
}

/* .image-cell 클래스를 사용하여 이미지 크기 조정 */
.image-cell {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 셀 크기에 맞게 이미지 비율을 유지하면서 잘라냄 */
}

.custom-toggle {
    cursor: pointer;
}

.custom-content {
    display: none; /* 초기 상태는 접힘 */
}

/* 빛나는 텍스트 효과를 위한 기본 클래스 */
.glow-text {
    color: rgba(255, 255, 255, 1); /* 기본 글자 색상, 투명도 포함 */
    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; /* 글자를 블록 요소가 아닌 인라인 요소로 표시 */
    transition: all 0.3s ease; /* 부드러운 효과 전환 */
}

/* 외부 광선 색상 및 크기 조정 */
.glow-text.custom {
    --glow-text-color: rgba(0, 0, 0, 1); /* 글자 색상, 투명도 포함 */
    --glow-shadow-color: rgba(255, 0, 0, 1); /* 외부 광선 색상 */
    --glow-shadow-size: 10px; /* 외부 광선 크기 */

    color: var(--glow-text-color); /* 글자 색상 적용 */
    text-shadow: 0 0 var(--glow-shadow-size) var(--glow-shadow-color); /* 외부 광선 효과 적용 */
}

.toggle-collapse {
	cursor: pointer;
    display: inline; /* 인라인 요소로 설정하여 불필요한 줄바꿈 방지 */
    padding: 0; /* 내부 여백 제거 */
    margin: 0; /* 외부 여백 제거 */
    line-height: 1; /* 텍스트 높이와 동일하게 설정 */
    font-size: inherit; /* 부모 요소의 폰트 크기와 동일하게 설정 */
    vertical-align: baseline; /* 부모 텍스트와 동일한 수직 정렬 */
}