term.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. .term_link:hover .guide_contence {
  2. display: inline-block;
  3. }
  4. .term_meaning {
  5. font-weight: 700;
  6. }
  7. .term_author {
  8. font-size: 80%;
  9. color: gray;
  10. }
  11. .term_tag {
  12. font-size: 80%;
  13. font-weight: 500;
  14. margin: 0 8px;
  15. }
  16. .term_link {
  17. cursor: pointer;
  18. position: relative;
  19. }
  20. .term_link,
  21. .term_link_new {
  22. color: blue;
  23. padding-left: 2px;
  24. padding-right: 2px;
  25. }
  26. .term_link_new {
  27. color: red;
  28. }
  29. note:hover chapter {
  30. display: inline;
  31. }
  32. .ref > chapter:first-child {
  33. display: inline;
  34. }
  35. chapter {
  36. display: none;
  37. color: var(--box-bg-color1);
  38. text-decoration: none;
  39. cursor: pointer;
  40. }
  41. chapter:hover {
  42. color: var(--link-color);
  43. text-decoration: underline;
  44. }
  45. para {
  46. background-color: var(--drop-bg-color);
  47. padding: 2px 8px;
  48. text-decoration: none;
  49. cursor: pointer;
  50. color: var(--btn-border-color);
  51. border-radius: 5px;
  52. }
  53. para:hover {
  54. text-decoration: underline;
  55. }
  56. commentary {
  57. margin-left: 1.5em;
  58. display: block;
  59. border-left: 3px solid gray;
  60. padding-left: 5px;
  61. }
  62. note > .tran {
  63. color: #5c5c5c;
  64. padding-left: 1em;
  65. padding: 3px;
  66. }
  67. note > .palitext,
  68. .palitext {
  69. font-family: Noto serif;
  70. line-height: 1.5em;
  71. color: #9f3a01;
  72. font-weight: 500;
  73. }
  74. note > .palitext > note {
  75. display: inline;
  76. color: blue;
  77. background-color: unset;
  78. padding: unset;
  79. margin-bottom: unset;
  80. border-radius: unset;
  81. }
  82. .term_word_head_pali {
  83. text-transform: capitalize;
  84. font-size: 200%;
  85. margin: 0.5em 0;
  86. }
  87. .term_word_head {
  88. border-bottom: 1px solid #cecece;
  89. padding: 5px 0;
  90. }
  91. .term_block {
  92. border-bottom: 1px solid #cecece;
  93. padding: 5px 0;
  94. }
  95. .term_word_head_authors a {
  96. color: blue;
  97. margin: 0 3px;
  98. }
  99. .term_word_head_authors a:hover {
  100. text-decoration: underline;
  101. cursor: pointer;
  102. }
  103. note .ref {
  104. text-align: right;
  105. padding: 5px;
  106. font-size: 75%;
  107. margin-top: 8px;
  108. }
  109. .tran {
  110. line-height: 1.5em;
  111. }
  112. .tran ul {
  113. list-style-type: circle;
  114. margin-left: 2em;
  115. }
  116. .tran li {
  117. list-style: inherit;
  118. }
  119. .tran ol {
  120. list-style-type: decimal;
  121. margin: 0;
  122. padding: 0;
  123. margin-left: 2em;
  124. }
  125. .tran:lang(en) > ol {
  126. list-style-type: decimal;
  127. }
  128. /*中文*/
  129. .tran:lang(zh) > ol {
  130. list-style-type: cjk-ideographic;
  131. margin-left: 2.5em;
  132. }
  133. /*简体中文*/
  134. .tran:lang(zh-cn) > ol {
  135. list-style-type: trad-chinese-formal;
  136. margin-left: 2.5em;
  137. }
  138. .tran:lang(zh-hans) > ol {
  139. list-style-type: trad-chinese-formal;
  140. margin-left: 2.5em;
  141. }
  142. /*繁体中文*/
  143. .tran:lang(zh-tw) > ol {
  144. list-style-type: trad-chinese-formal;
  145. margin-left: 2.5em;
  146. }
  147. .tran:lang(zh-hant) > ol {
  148. list-style-type: trad-chinese-formal;
  149. margin-left: 2.5em;
  150. }
  151. /*japanese*/
  152. .tran:lang(jp) > ol {
  153. list-style-type: hiragana;
  154. margin-left: 2.5em;
  155. }
  156. /*kora*/
  157. .tran:lang(ko) > ol {
  158. list-style-type: korean-hangul-formal;
  159. margin-left: 2.5em;
  160. }
  161. /*thai*/
  162. .tran:lang(ti) > ol {
  163. list-style-type: thai;
  164. margin-left: 2em;
  165. }
  166. /*myanmar*/
  167. .tran:lang(my) > ol {
  168. list-style-type: myanmar;
  169. margin-left: 2em;
  170. }
  171. /*myanmar*/
  172. .tran:lang(my) {
  173. font-size: 120%;
  174. line-height: 2em;
  175. }
  176. .tran_div {
  177. margin-bottom: 1em;
  178. padding-bottom: 1em;
  179. padding-top: 0.5em;
  180. border-bottom: 1px solid var(--border-line-color);
  181. }
  182. .tran_div:last-child {
  183. border-bottom: none;
  184. }
  185. .progress_bar_done {
  186. stroke-width: 0;
  187. fill: royalblue;
  188. }
  189. .progress_bar_undone {
  190. stroke-width: 0;
  191. fill: #c0c0c052;
  192. }
  193. .progress_bar_bg {
  194. stroke-width: 0;
  195. fill: #ffffff;
  196. }
  197. .progress_bar_percent {
  198. stroke-width: 0;
  199. fill: limegreen;
  200. }
  201. r {
  202. text-align: right;
  203. display: block;
  204. }
  205. note {
  206. padding: 0.5em 0.8em;
  207. margin-bottom: 0.4em;
  208. border-radius: 5px;
  209. line-height: 1.3em;
  210. display: block;
  211. background-color: #80808014;
  212. }
  213. .bg_color_1 {
  214. background-color: #ebebeb66;
  215. }
  216. .bg_color_2 {
  217. background: linear-gradient(to right, #6afdb033, #ebebeb66);
  218. }
  219. .bg_color_3 {
  220. background: linear-gradient(to right, #6a95fd26, #ebebeb66);
  221. }
  222. .bg_color_4 {
  223. background: linear-gradient(to right, #f9e7911c, #ebebeb66);
  224. }
  225. .bg_color_5 {
  226. background: linear-gradient(to right, #fe99b91c, #ebebeb66);
  227. }
  228. pre {
  229. white-space: pre-line;
  230. font-family: auto;
  231. border-left: 3px solid var(--border-shadow);
  232. margin-left: 1em;
  233. padding-left: 0.5em;
  234. }
  235. .note_tool_bar {
  236. position: relative;
  237. display: none;
  238. }
  239. note:hover .note_tool_bar {
  240. display: block;
  241. }
  242. .sent_menu {
  243. right: 0;
  244. }
  245. .para_menu {
  246. left: 0;
  247. }
  248. .ui-widget input,
  249. .ui-widget select,
  250. .ui-widget textarea,
  251. .ui-widget button {
  252. font-family: unset;
  253. font-size: 1.1em;
  254. }
  255. .tran p {
  256. margin: 0;
  257. }