편집 요약 없음 |
편집 요약 없음 |
||
254번째 줄: | 254번째 줄: | ||
@media screen and (max-width: 520px) { | @media screen and (max-width: 520px) { | ||
.hanja-info { | .hanja-info { | ||
width: | width: 100% ; | ||
margin: 0 auto ; | margin: 0 auto ; | ||
margin-bottom: 0.7em; | margin-bottom: 0.7em; |
2021년 8월 27일 (금) 00:31 판
.hanja-dict .notice {
padding: 1rem;
background-color: #d9edf7;
border-radius: .25rem;
margin: 1rem 0 ;
text-align: center;
color: #31708f;
}
.hanja-dict .notice ul {
list-style-type: none;
margin: 0 ;
list-style-image: none ;
}
.hanja-info .toc {
display: table ;
margin-bottom: 1em;
}
.hanja-info .toc div, .hanja-info .toc ul, .hanja-info .toc li {
border:none ;
padding: 0 ;
background: transparent ;
}
.hanja-info .toc ul {
padding: 14px ;
}
.hanja-info {
width: 21em;
float: right;
margin: 0 0.5em;
margin-bottom: 0.7em;
}
.hanja-info table {
background: transparent;
}
.hanja-info th {
width: 30%;
background: none;
font-size: small;
}
.hanja-info th,
.hanja-info td {
padding: 0.3rem 0.6rem;
}
.hanja-info th a {
color: inherit;
}
/* 한자 정보 헤드*/
.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 ;
}
.hanja-info .hanja > :lang(ko),
.hanja-info .hanja > :lang(ja),
.hanja-info .hanja > :lang(zh-cn) {
line-height: 100%;
height: 1em;
font-size: 6em;
}
.hanja-info .hanja > :lang(ko) {font-family: Noto Sans CJK KR, Noto Sans KR, sans-serif;}
.hanja-info .hanja > :lang(zh-cn) {font-family: Noto Sans CJK KR, Microsoft YaHei, sans-serif;}
.hanja-info .hanja > :lang(ja) {font-family: Noto Sans CJK KR, Yu Gothic UI, sans-serif;}
.hanja-info .hanja > :lang(zh-tw) {font-family: Noto Sans CJK KR, Microsoft JhengHei, sans-serif;}
.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 > :lang(zh-tw) {
position: absolute;
bottom: 0.5em;
right: 0.4em;
display: flex;
align-items: center;
font-size: 3em;
flex-direction: column;
}
.strokeorder .NavHead {
font-weight:bold;
background-color: transparent ;
text-align:center;
}
.strokeorder .NavContent {
display: block /**/;
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;
}*/
/* 한자성어
한자성어는 영어로 중국발 외래어이기 때문에 알아듣기 힘들고
마땅한 이름이 없어 한글로 class명을 정했습니다.
*/
.한자성어 {
display: flex;
margin: 0 auto;
justify-content: center;
flex-wrap: wrap;
}
.한자성어 .hanja {
display: flex;
align-items: center;
flex-direction: column;
flex-wrap: wrap;
text-align: center;
/* padding: 0px 0.2em;*/
}
.한자성어 .hanja span:first-child {
line-height: 100%;
font-size: 3em;
/* padding: 0px 0.2em;*/
}
.한자성어 .hanja span:first-child:lang(ko) { font-family: Noto Serif KR, serif;}
.한자성어 .hanja span:first-child { font-family: Noto Serif CJK KR, serif;}
.한자성어 .hanja span:last-child, .한자성어 .hanja span:first-child {
width: 4rem;
}
.한자성어 .hanja a.new {
color: inherit;
transition: none ;
text-decoration-color: #ba0000;
}
.한자성어 .hanja a.new:hover {
}
.한자성어 .hanja a:hover {
}
/*.한자성어 .hanja a:not(.new):hover {
text-decoration-color: #23527c;
}*/
.hanja-info .libre .libre-tab .libre-tab-btns {
display: flex;
flex-wrap: wrap;
list-style: none;
margin: 0/*1rem auto 2.5em*/;
justify-content: center ;
}
.hanja-info .libre .libre-tab .libre-tab-btn {
position: relative;
display: grid;
flex: 1 auto;
padding: 0.4rem;
text-align: center;
word-break: keep-all;
align-items: center;
max-width: 14rem;
cursor: pointer;
border-bottom: 2px solid #e1e8ed;
transition: 0.2s;
}
.hanja-info .libre .libre-tab .libre-tab-btn-active,
.hanja-info .libre .libre-tab .libre-tab-btn:hover {
font-weight: bold;
}
@media (hover: hover) and (pointer: fine) {
.hanja-info .libre .libre-tab .libre-tab-btn:hover {
background: rgba(213,225,230,0.35);
}
}
.hanja-info .libre .libre-tab .libre-tab-btn-active::before,
.hanja-info .libre .libre-tab .libre-tab-btn:hover::before {
position: absolute;
left: 0;
bottom: 0;
content: ' ';
width: 100%;
display: block;
border-bottom: 2px solid #4188F1;
margin-bottom: -2px;
}
.hanja-info .libre .libre-tab .libre-tab-main {
border: none;
padding: 0;
margin-top: 0;
}
.hanja-info .libre .libre-tab .libre-tab-main-content {
display: none;
}
.hanja-info .libre .libre-tab .libre-tab-main-content-active {
display: block;
}
@media (min-width: 544px) {
.hanja-info .libre-tab-btns {
max-width: 100% ;
}
}
@media screen and (max-width: 520px) {
.hanja-info {
width: 100% ;
margin: 0 auto ;
margin-bottom: 0.7em;
float: none ;
clear: both ;
}
.hanja-info-head {
width: 100% ;
}
.hanja-info .hanja {
border-radius: 0 ;
}
.hanja-list {
columns: 0 1 ;
}
}