:한자/styles.css

< 틀:한자
Caeruleum (토론 | 기여)님의 2021년 8월 16일 (월) 14:49 판
.toc {
	display: table !important;
	margin-bottom: 1em;
}
.toc div, .toc ul, .toc li {
	border:none !important;
	padding: 0 !important;
	background: transparent !important;
}
.toc ul {
	padding: 14px !important;
}

.notice {
	padding: 1rem;
	background-color: #d9edf7;
	border-radius: .25rem;
	margin: 1rem 0 !important;
	text-align: center;
	color: #31708f;
}

.notice ul {
	list-style-type: none;
	margin: 0 !important;
	list-style-image: none !important;
}

.hanja-info {
	width: 21em;
	float: right;
}
.hanja-info .infobox {
	/*box-shadow: 0.15rem 0.15rem 0 0 #cfdae2;*/
	background: transparent !important;
	border-spacing: 0px !important;
}
.hanja-info th {
	width: 30% !important;
	background: none !important;
}
.hanja-info th,
.hanja-info td {
	border-top: 0 !important;
	border-right: 0 !important;
	border-left: 0 !important;
	border-bottom: 0 !important;
}
.hanja-info .libre-tab-main {
	border: none !important;
	padding: 0 !important;
	margin-top: 0 !important;
}
.hanja-info .libre-tab-btns {
	margin: 0 !important;
	justify-content: center !important;
}

@media (min-width: 544px) {
	.hanja-info .libre-tab-btns {
		max-width: 100% !important;
	}
}

@media screen and (max-width: 520px) {
	.hanja-info {
		width: 100% !important;
		margin: 0 auto !important;
		float: none !important;
		clear: both !important;
	}
	.hanja-info-head {
		width: 100% !important;
	}
	.hanja-info .hanja {
		border-radius: 0 !important;
	}
	.hanja-list {
		columns: 0 1 !important;
	}
}

/* 한자 정보 헤드*/
.hanja-info-head {
	display: inline-block;
	padding-bottom: 0.2em;
}
.hanja-info-head .hanja {
	font-family: Noto Serif CJK KR, Noto Serif KR;
	font-size: 200%;
	letter-spacing: -2px;
}
.hanja-info-head .hanja a {
	font-weight: 400;
}
.hanja-info-head .mean {
	font-size: 100%;
}

/* 시리즈:리브레 한자사전/음으로 찾기 */
.hanja-list {
	margin: 0 !important;
	columns: 0 2;
}
.hanja-info-head .hanja.red {
	color: red;
}
/* 틀:한자 정보*/
.hanja-info .hanja {
	position: relative;
	padding: 1em !important;
}
.hanja-info .hanja .kr,
.hanja-info .hanja .jp,
.hanja-info .hanja .zh {
	line-height: 100% !important;
	height: 1em !important;
	font-size: 6em !important;
}
.hanja-info .hanja .kr {font-family: Noto Sans CJK KR, Noto Sans KR, sans-serif !important;}
.hanja-info .hanja .zh {font-family: Noto Sans CJK KR, Microsoft YaHei, sans-serif !important;}
.hanja-info .hanja .jp {font-family: Noto Sans CJK KR, Yu Gothic UI, sans-serif !important;}
.hanja-info .tw {font-family: Noto Sans CJK KR, Microsoft JhengHei, sans-serif !important;}

.hanja-info .variants {
	position: relative;
}
.hanja-info .variants, .hanja-info .variant {
	display: flex;
	align-items: center;
}
.hanja-info .variant {
	font-size: 3em;
	flex-direction: column;
}
.hanja-info .variant span {
	line-height: 1em;
}
.hanja-info  .hanja .tw.variant {
	position: absolute;
	bottom: 0.5em;
	right: 0.4em;
}

.strokeorder .NavHead {
	font-weight:bold;
	background-color: transparent !important;
	text-align:center;
}
.strokeorder .NavContent {
	display: block /*!important*/;
	overflow-y : hidden;
	font-weight: normal;
	background-color: transparent;
	text-align:center;
}
/*.NavContent[style*="display: none"] {
	transition: none max-height 0.5s cubic-bezier(0,1,0,1) 0s, opacity ease-in-out 0.1s;
	max-height: 0px;
	opacity: 0;
}
.NavContent {
	display: block;
	transition: none max-height 1s cubic-bezier(0, 0.24, 0, 0.99) 0s,opacity cubic-bezier(0.4,0,1,1)0.25s;
	max-height: 300px;
	opacity: 1;
}*/