style.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. body {
  2. margin: unset;
  3. }
  4. .index_toolbar {
  5. position: unset;
  6. }
  7. .search_toolbar {
  8. height: initial;
  9. padding: 0.6em 1em 0.1em 1em;
  10. background-color: var(--tool-bg-color1);
  11. border-bottom: none;
  12. position: fixed;
  13. width: 100%;
  14. }
  15. .search_fixed {
  16. position: fixed;
  17. top: -500px;
  18. width: 100%;
  19. display: flex;
  20. padding: 0.5em 1em;
  21. }
  22. #dict_search_result {
  23. display: flex;
  24. }
  25. #dict_list {
  26. flex: 2;
  27. text-align: right;
  28. padding-right: 1em;
  29. border-right: 1px solid var(--border-line-color);
  30. }
  31. #dict_ref {
  32. flex: 6;
  33. padding: 0.5em 1.5em;
  34. }
  35. #dict_user {
  36. flex: 2;
  37. }
  38. .dict_word_card {
  39. border-bottom: 1px solid var(--border-line-color);
  40. padding: 5px 0;
  41. display: block;
  42. border-radius: unset;
  43. margin: 10px 0;
  44. transition: unset;
  45. box-shadow: unset;
  46. }
  47. .dict_word {
  48. border-left: none;
  49. border-right: none;
  50. border-top: none;
  51. border-bottom: 1px solid var(--border-line-color);
  52. padding: 5px 0;
  53. display: block;
  54. border-radius: unset;
  55. margin: 10px 0;
  56. transition: unset;
  57. box-shadow: unset;
  58. }
  59. .dict_word > .dict {
  60. font-size: 110%;
  61. color: var(--link-hover-color);
  62. border-bottom: unset;
  63. padding-bottom: 10px;
  64. }
  65. .dict_word > .mean {
  66. font-size: unset;
  67. margin: 2px 0;
  68. line-height: 150%;
  69. font-weight: unset;
  70. display: block;
  71. }
  72. /*for word split part */
  73. .dropdown_ctl {
  74. display: inline-block;
  75. margin: 0 0.7em;
  76. }
  77. .dropdown_ctl > .content {
  78. display: flex;
  79. border: 1px solid var(--border-line-color);
  80. border-radius: 99px;
  81. line-height: 2em;
  82. }
  83. .dropdown_ctl > .menu {
  84. position: absolute;
  85. display: none;
  86. background-color: var(--tool-bg-color);
  87. box-shadow: 0 0 10px var(--border-shadow);
  88. color: var(--tool-color);
  89. }
  90. .dropdown_ctl > .content > .main_view > part {
  91. margin: 0 0.5em;
  92. color: cornflowerblue;
  93. cursor: pointer;
  94. }
  95. .dropdown_ctl > .menu > .part_list {
  96. padding: 5px;
  97. cursor: pointer;
  98. }
  99. .dropdown_ctl > .menu > .part_list:hover {
  100. background-color: var(--btn-hover-bg-color);
  101. color: var(--btn-hover-color);
  102. }
  103. .dropdown_ctl > .content > .more_button {
  104. background-color: var(--btn-color);
  105. min-width: 1.4em;
  106. text-align: center;
  107. border-radius: 99px;
  108. cursor: pointer;
  109. }
  110. .pre_serach_block {
  111. border-bottom: 1px solid var(--shadow-color);
  112. padding: 5px 0;
  113. }
  114. .pre_serach_block_title {
  115. display: flex;
  116. justify-content: space-between;
  117. }
  118. .pre_serach_content {
  119. }
  120. #footer_nav {
  121. display: none;
  122. }
  123. .right_tool_btn {
  124. position: fixed;
  125. right: 50px;
  126. top: 5em;
  127. background-color: unset;
  128. }
  129. .right_tool_btn .icon {
  130. height: 2em;
  131. width: 2em;
  132. }
  133. .right_tool_btn button:hover {
  134. background-color: var(--link-hover-color);
  135. border-color: var(--link-color);
  136. color: var(--btn-hover-color);
  137. height: 3em;
  138. width: 3em;
  139. padding: 0;
  140. }
  141. .right_tool_btn button {
  142. background-color: var(--link-color);
  143. border-color: var(--link-color);
  144. color: var(--btn-color);
  145. height: 3em;
  146. width: 3em;
  147. padding: 0;
  148. }
  149. button,
  150. input[type="button"],
  151. input[type="submit"] {
  152. font-weight: 500;
  153. font-size: 90%;
  154. background-color: none;
  155. border: 2px solid var(--btn-border-color);
  156. border-radius: 99px;
  157. margin: 2px;
  158. padding: 2px 12px;
  159. -webkit-transition-duration: 0.2s;
  160. -moz-transition-duration: 0.2s;
  161. transition-duration: 0.2s;
  162. cursor: pointer;
  163. display: -webkit-inline-flex;
  164. display: -moz-inline-flex;
  165. display: inline-flex;
  166. -webkit-align-items: center;
  167. -moz-align-items: center;
  168. align-items: center;
  169. -webkit-flex-wrap: nowrap;
  170. -moz-flex-wrap: nowrap;
  171. flex-wrap: nowrap;
  172. -webkit-justify-content: center;
  173. -moz-justify-content: center;
  174. justify-content: center;
  175. }
  176. .dict_find_gramma guide {
  177. color: unset;
  178. }
  179. #pre_search_result {
  180. background-color: var(--bg-color);
  181. z-index: 50;
  182. display: none;
  183. }
  184. #dt_title {
  185. border-bottom: 2px solid var(--link-hover-color);
  186. }
  187. .dict_word_list .mean {
  188. overflow: hidden;
  189. text-overflow: ellipsis;
  190. display: -webkit-box;
  191. -webkit-box-orient: vertical;
  192. -webkit-line-clamp: 1;
  193. padding-left: 1em;
  194. color: var(--main-color1);
  195. }
  196. .dict_word_list {
  197. padding: 2px 10px 5px 10px;
  198. }
  199. .dict_word_list:hover {
  200. background-color: var(--link-color);
  201. color: var(--btn-hover-color);
  202. }
  203. .section_inner {
  204. max-width: 1024px;
  205. margin: 0 auto;
  206. }
  207. .spell {
  208. font-size: 100%;
  209. font-weight: 500;
  210. }
  211. .pali_spell {
  212. font-size: 200%;
  213. font-weight: 700;
  214. margin-top: 15px;
  215. padding-bottom: 0;
  216. overflow-wrap: anywhere;
  217. }
  218. #main_view {
  219. display: flex;
  220. }
  221. #main_result {
  222. flex: 7;
  223. }
  224. #right_bar {
  225. flex: 3;
  226. }
  227. .auto_mean {
  228. display: flex;
  229. }
  230. .auto_mean > .spell {
  231. font-weight: 700;
  232. margin-right: 1em;
  233. }
  234. .auto_mean > .meaning {
  235. overflow: hidden;
  236. text-overflow: ellipsis;
  237. display: -webkit-box;
  238. -webkit-box-orient: vertical;
  239. -webkit-line-clamp: 2;
  240. color: var(--main-color1);
  241. }
  242. #word_parts {
  243. }
  244. #search_info {
  245. /*display: flex;*/
  246. justify-content: space-between;
  247. }
  248. #part_mean {
  249. margin: 1em;
  250. padding: 1em;
  251. border: 1px solid var(--border-line-color);
  252. background-color: var(--bg-color);
  253. box-shadow: 0 5px 7px rgb(0 0 0 / 5%);
  254. }
  255. #part_mean_shell {
  256. display: none;
  257. }
  258. #dict_ref_search_result {
  259. margin: 4em 5px 5px 1em;
  260. width: 100%;
  261. padding: 1.5em 10px 0 10px;
  262. }
  263. .dict_word .pali {
  264. font-size: 110%;
  265. font-weight: 700;
  266. }
  267. .dict_word .dict {
  268. font-size: 100%;
  269. font-style: normal;
  270. color: var(--link-color);
  271. }
  272. .dict_word .mean {
  273. font-size: 100%;
  274. margin: 2px 0;
  275. line-height: 160%;
  276. font-weight: 400;
  277. font-style: normal;
  278. }
  279. .dict_word input,
  280. select,
  281. textarea {
  282. background-color: white;
  283. color: rgb(0, 0, 0);
  284. }
  285. #dict_ref_search_input {
  286. /*margin-left: 0.5em;*/
  287. /*max-width: 500px;*/
  288. font-size: 130%;
  289. font-weight: 500;
  290. padding: 0.3em 0.6em;
  291. }
  292. #left_menu_button {
  293. display: none;
  294. }
  295. #trubo_split {
  296. height: fit-content;
  297. font-size: 1.2em;
  298. }
  299. #search_result_shell {
  300. padding: 2px 15px;
  301. }