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

S.T.E.L.L.A.-WIKI
편집 요약 없음
편집 요약 없음
13번째 줄: 13번째 줄:
width: fit-content;
width: fit-content;
height: fit-content;
height: fit-content;
border: 1px solid black;
}
.spoiler h4 {
font-size: 14px;
text-align: center;
background: yellow;
border-bottom: 1px solid black;
padding: 4px 0;
}
}
.spoiler div {
.spoiler div {

2024년 4월 17일 (수) 00:23 판

/* 이 CSS 설정은 모든 스킨에 적용됩니다 */
td {
	position: relative;
}
.mw-collapsible-toggle {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	opacity: 0;
}
.spoiler {
	width: fit-content;
	height: fit-content;
	border: 1px solid black;
}
.spoiler h4 {
	font-size: 14px;
	text-align: center;
	background: yellow;
	border-bottom: 1px solid black;
	padding: 4px 0;
}
.spoiler div {
	overflow: hidden;
}
.spoiler .spoiler-img {
	overflow: hidden;
	filter: blur(20px) saturate(.5) contrast(.5) brightness(1.2);
	transition: filter 0.2s;
}
.spoiler .spoiler-img:hover {
	filter: none;
}