틀:한자 정보/styles.css
보이기
< 틀:한자 정보
.hanja-info-header,
.hanja-info {
display:inline-block
}
ul.hanja-projectlink {
margin:0!important;
}
ul.hanja-projectlink li {
border-left:1px solid #d0dbe3;
padding:0 0.8em;
display:inline-block;
}
ul.hanja-projectlink li:first-child {
border:none!important;
}
.hanja-info {
width:20em;
float:right;
clear:right;
margin:0 0 1em 1em;
padding:0 1rem!important
}
.hanja-info-header .recursive-link>a {
cursor:default;
color:inherit
}
#toc {
display: table;
}
.hanja-info .libre-tab .libre-tab-btns {
margin:0!important
}
.hanja-info .libre-tab .libre-tab-main {
border:none!important;
padding:0!important
}
.libre-tab-main-content>p {
display:none
}
@media(min-width:521px) {
.hanja-info .libre-tab-btns {
max-width:100%!important
}
}
@media screen and (max-width:520px) {
.hanja-info {
width:100%;
margin:auto;
margin-bottom:1em;
float:none;
clear:both
}
}
.hanja-info-table {
width:100%; font-size: 90%;
}
.hanja-info-table [lang="zh-tw"] {
font-family:Noto Serif TC,Noto Serif CJK TC,serif
}
.hanja-info-table>tbody>tr>th,
.hanja-info-table>tbody>tr>td {
padding:0.25rem 0;
border-bottom:1px solid #e1e8ed
}
.hanja-info-table>tbody>tr:last-child>th,
.hanja-info-table>tbody>tr:last-child>td {
border-bottom:none;
padding-bottom:0.5em
}
.hanja-info-table>tbody>tr>th {
width:6em
}
.hanja-info-table th span:lang(ja) {
font-family:sans-serif
}
.hanja-info-table td[colspan="2"] {
text-align:center
}
.hanja-info-table .character[lang="ko"] {
font-family:Noto Serif KR,Noto Serif SC,Noto Serif JP,Noto Serif CJK KR,Yu Mincho,SimSun,serif
}
.hanja-info-table .character[lang="zh-cn"] {
font-family:Noto Serif SC,Noto Serif CJK SC,serif
}
.hanja-info-table .character[lang="ja"] {
font-family:Noto Serif JP,Noto Serif CJK JP,serif
}
.hanja-info-table .unicode-code {
font-size: 90%; color: gray;
}
.hanja-info-table .variants {
display:flex;
text-align:center
}
.hanja-info-table .variants img {
width:1em;
vertical-align:bottom
}
.hanja-info-table .variants .reference a {
font-size:small;
vertical-align:text-top
}
.hanja-strokeorder a.new {
display:none
}
.hanja-info-table .hanja-strokeorder .mw-collapsible-content a {
display: block;
margin: 0.5em 0;
}
.hanja-info-table .hanja-strokeorder .mw-collapsible-content a.new { display: none; }
.hanja-strokeorder .mw-collapsible {
position:relative
}
.hanja-strokeorder .mw-collapsible-toggle {
right:0;
position:absolute
}
.hanja-strokeorder .mw-collapsible-text {
display:none
}
.hanja-strokeorder .mw-collapsible-toggle-default {
transition:0.2s ease-out
}
.hanja-strokeorder .mw-collapsible-toggle-default:before {
content:"\f078 ";
font-family:"Font Awesome 5 Free";
font-weight:900
}
.hanja-strokeorder .mw-collapsible-toggle-default:after {
content:""
}
.hanja-strokeorder .mw-collapsible-toggle-expanded {
transform:scale(-1)
}
.hanja-strokeorder img[alt*="gif"] {
width:90px;
border:none!important
}