term.css 5.7 KB

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