term.css 4.3 KB

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