b0a9ab5cae
Taking advantage of the new fallback font selection functionality in GoldenDict-ng. If the user doesn't have one of the pre-defined fonts installed, the system serif and sans-serif fonts will be used.
64 lines
1.1 KiB
CSS
64 lines
1.1 KiB
CSS
|
|
@font-face {
|
|
font-family: jpgothic;
|
|
src: local("Noto Sans CJK JP"), local("IPAexGothic"), local("Source Han Sans JP");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: jpmincho;
|
|
src: local("Noto Serif CJK JP"), local("IPAexMincho"), local("IPAmjMincho"), local("Source Han Serif JP"), local("HanaMinA"), local("HanaMinB");
|
|
}
|
|
|
|
body {
|
|
font-family: jpmincho, serif;
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
table, th, td {
|
|
border: 1px solid;
|
|
border-collapse: collapse;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
th {
|
|
font-family: jpgothic, sans-serif;
|
|
color: black;
|
|
background-color: lightgray;
|
|
font-weight: normal;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
td ul {
|
|
margin: -0.1em 0em -0.1em -1em;
|
|
}
|
|
|
|
.見出し {
|
|
}
|
|
|
|
.読み方 {
|
|
font-family: jpgothic, sans-serif;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.意味,
|
|
.kanjirighttb {
|
|
margin-left: 1.0em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.num_icon {
|
|
font-family: jpgothic, sans-serif;
|
|
padding-left: 0.25em;
|
|
margin-right: 0.5em;
|
|
font-size: 0.8em;
|
|
word-break: keep-all;
|
|
color: white;
|
|
background-color: gray;
|
|
border-style: none;
|
|
-webkit-border-radius: 0.1em;
|
|
}
|