term.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  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. com,
  61. nt {
  62. margin-left: 1.5em;
  63. display: block;
  64. border-left: 3px solid gray;
  65. padding-left: 5px;
  66. }
  67. note > .tran {
  68. color: #5c5c5c;
  69. padding-left: 1em;
  70. padding: 0;
  71. position: relative;
  72. margin-top: -0.5em;
  73. }
  74. note > .tran > .text {
  75. margin-bottom: 2em;
  76. }
  77. note > .tran > .tran_text_tool_bar {
  78. padding: 0;
  79. position: absolute;
  80. display: none;
  81. color: var(--border-line-color);
  82. margin-left: 0;
  83. z-index: 40;
  84. width: auto;
  85. font-size: 14px;
  86. height: 28px;
  87. line-height: 28px;
  88. margin-top: -2em;
  89. background-color: var(--box-bg-color1);
  90. border-radius: 5px;
  91. }
  92. note > .tran:lang(my) > .tran_text_tool_bar {
  93. margin-top: -2.5em;
  94. }
  95. note > .tran > .tran_text_tool_bar::after {
  96. content: " ";
  97. position: absolute;
  98. left: 0;
  99. bottom: 100%;
  100. margin-left: 20px;
  101. border-width: 5px;
  102. border-style: solid;
  103. border-color: transparent transparent var(--box-bg-color1) transparent;
  104. }
  105. .tran:hover > .tran_text_tool_bar {
  106. display: block;
  107. }
  108. .tip_buttom {
  109. border-right: 2px solid var(--border-line-color);
  110. padding: 5px 8px;
  111. cursor: pointer;
  112. }
  113. .tip_buttom:hover {
  114. background-color: var(--btn-border-color);
  115. }
  116. .tran:hover .edit_button {
  117. display: inline-block;
  118. }
  119. .edit_button {
  120. display: inline-block;
  121. width: auto;
  122. min-width: 24px;
  123. height: auto;
  124. min-height: 24px;
  125. cursor: pointer;
  126. fill: var(--tool-color);
  127. background: url(edit.svg);
  128. background-repeat: no-repeat;
  129. background-size: contain;
  130. color: var(--tool-color);
  131. margin-top: -2em;
  132. }
  133. note > .palitext,
  134. .palitext {
  135. font-family: Noto serif;
  136. line-height: 1.5em;
  137. color: #9f3a01;
  138. font-weight: 500;
  139. margin-bottom: 10px;
  140. }
  141. note > .palitext > note {
  142. display: inline;
  143. color: blue;
  144. background-color: unset;
  145. padding: unset;
  146. margin-bottom: unset;
  147. border-radius: unset;
  148. }
  149. .term_word_head_pali {
  150. text-transform: capitalize;
  151. font-size: 200%;
  152. margin: 0.5em 0;
  153. }
  154. .term_word_head {
  155. border-bottom: 1px solid #cecece;
  156. padding: 5px 0;
  157. }
  158. .term_block {
  159. border-bottom: 1px solid #cecece;
  160. padding: 5px 0;
  161. }
  162. .term_word_head_authors a {
  163. color: blue;
  164. margin: 0 3px;
  165. }
  166. .term_word_head_authors a:hover {
  167. text-decoration: underline;
  168. cursor: pointer;
  169. }
  170. note .ref {
  171. text-align: right;
  172. padding: 5px;
  173. font-size: 75%;
  174. margin-top: -2em;
  175. }
  176. .tran {
  177. line-height: 1.5em;
  178. }
  179. .tran ul {
  180. list-style-type: circle;
  181. margin-left: 2em;
  182. }
  183. .tran li {
  184. list-style: inherit;
  185. }
  186. .tran ol {
  187. list-style-type: decimal;
  188. margin: 0;
  189. padding: 0;
  190. margin-left: 2em;
  191. }
  192. .tran:lang(en) > ol {
  193. list-style-type: decimal;
  194. }
  195. /*中文*/
  196. .tran:lang(zh) > ol {
  197. list-style-type: cjk-ideographic;
  198. margin-left: 2.5em;
  199. }
  200. /*简体中文*/
  201. .tran:lang(zh-cn) > ol {
  202. list-style-type: trad-chinese-formal;
  203. margin-left: 2.5em;
  204. }
  205. .tran:lang(zh-hans) > ol {
  206. list-style-type: trad-chinese-formal;
  207. margin-left: 2.5em;
  208. }
  209. /*繁体中文*/
  210. .tran:lang(zh-tw) > ol {
  211. list-style-type: trad-chinese-formal;
  212. margin-left: 2.5em;
  213. }
  214. .tran:lang(zh-hant) > ol {
  215. list-style-type: trad-chinese-formal;
  216. margin-left: 2.5em;
  217. }
  218. /*japanese*/
  219. .tran:lang(jp) > ol {
  220. list-style-type: hiragana;
  221. margin-left: 2.5em;
  222. }
  223. /*kora*/
  224. .tran:lang(ko) > ol {
  225. list-style-type: korean-hangul-formal;
  226. margin-left: 2.5em;
  227. }
  228. /*thai*/
  229. .tran:lang(ti) > ol {
  230. list-style-type: thai;
  231. margin-left: 2em;
  232. }
  233. /*myanmar*/
  234. .tran:lang(my) > ol {
  235. list-style-type: myanmar;
  236. margin-left: 2em;
  237. }
  238. /*myanmar*/
  239. .tran:lang(my) {
  240. font-size: 120%;
  241. line-height: 2em;
  242. }
  243. .tran_div {
  244. margin-bottom: 1em;
  245. padding-bottom: 1em;
  246. padding-top: 0.5em;
  247. border-bottom: 1px solid var(--border-line-color);
  248. }
  249. .tran_div:last-child {
  250. border-bottom: none;
  251. }
  252. .progress_bar_done {
  253. stroke-width: 0;
  254. fill: royalblue;
  255. }
  256. .progress_bar_undone {
  257. stroke-width: 0;
  258. fill: #c0c0c052;
  259. }
  260. .progress_bar_bg {
  261. stroke-width: 0;
  262. fill: #ffffff;
  263. }
  264. .progress_bar_percent {
  265. stroke-width: 0;
  266. fill: limegreen;
  267. }
  268. r {
  269. text-align: right;
  270. display: block;
  271. }
  272. note {
  273. padding: 0.5em 1em;
  274. margin-bottom: 0.4em;
  275. border-radius: 5px;
  276. line-height: 1.3em;
  277. display: block;
  278. background-color: #80808014;
  279. }
  280. .bg_color_1 {
  281. background-color: #ebebeb66;
  282. }
  283. .bg_color_2 {
  284. background: linear-gradient(to right, #6afdb033, #ebebeb66);
  285. }
  286. .bg_color_3 {
  287. background: linear-gradient(to right, #6a95fd26, #ebebeb66);
  288. }
  289. .bg_color_4 {
  290. background: linear-gradient(to right, #f9e7911c, #ebebeb66);
  291. }
  292. .bg_color_5 {
  293. background: linear-gradient(to right, #fe99b91c, #ebebeb66);
  294. }
  295. pre {
  296. white-space: pre-line;
  297. font-family: auto;
  298. border-left: 3px solid var(--border-shadow);
  299. margin-left: 1em;
  300. padding-left: 0.5em;
  301. }
  302. .note_tool_bar {
  303. position: relative;
  304. display: none;
  305. z-index: 50;
  306. }
  307. note:hover .note_tool_bar {
  308. display: block;
  309. }
  310. .sent_menu {
  311. right: 0;
  312. }
  313. .para_menu {
  314. left: 0;
  315. }
  316. .ui-widget input,
  317. .ui-widget select,
  318. .ui-widget textarea,
  319. .ui-widget button {
  320. font-family: unset;
  321. font-size: 1.1em;
  322. }
  323. .tran p {
  324. margin: 0;
  325. }
  326. .note_tool_context {
  327. position: absolute;
  328. right: 0;
  329. width: 1.5em;
  330. text-align: right;
  331. }
  332. .note_tool_context .icon {
  333. fill: var(--link-color);
  334. }
  335. .note_tool_context:hover .icon {
  336. fill: (--link-hover-color);
  337. }