style.css 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  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. height: 60vh;
  114. overflow: scroll;
  115. }
  116. .pre_serach_block_title {
  117. display: flex;
  118. justify-content: space-between;
  119. }
  120. .pre_serach_content {
  121. }
  122. #footer_nav {
  123. display: none;
  124. }
  125. .right_tool_btn {
  126. position: fixed;
  127. right: 50px;
  128. top: 5em;
  129. background-color: unset;
  130. }
  131. .right_tool_btn .icon {
  132. height: 2em;
  133. width: 2em;
  134. }
  135. .right_tool_btn button:hover {
  136. background-color: var(--link-hover-color);
  137. border-color: var(--link-color);
  138. color: var(--btn-hover-color);
  139. height: 3em;
  140. width: 3em;
  141. padding: 0;
  142. }
  143. .right_tool_btn button {
  144. background-color: var(--link-color);
  145. border-color: var(--link-color);
  146. color: var(--btn-color);
  147. height: 3em;
  148. width: 3em;
  149. padding: 0;
  150. }
  151. button,
  152. input[type="button"],
  153. input[type="submit"] {
  154. font-weight: 500;
  155. font-size: 90%;
  156. background-color: none;
  157. border: 2px solid var(--btn-border-color);
  158. border-radius: 99px;
  159. margin: 2px;
  160. padding: 2px 12px;
  161. -webkit-transition-duration: 0.2s;
  162. -moz-transition-duration: 0.2s;
  163. transition-duration: 0.2s;
  164. cursor: pointer;
  165. display: -webkit-inline-flex;
  166. display: -moz-inline-flex;
  167. display: inline-flex;
  168. -webkit-align-items: center;
  169. -moz-align-items: center;
  170. align-items: center;
  171. -webkit-flex-wrap: nowrap;
  172. -moz-flex-wrap: nowrap;
  173. flex-wrap: nowrap;
  174. -webkit-justify-content: center;
  175. -moz-justify-content: center;
  176. justify-content: center;
  177. }
  178. .dict_find_gramma guide {
  179. color: unset;
  180. }
  181. #pre_search_result {
  182. background-color: silver;
  183. z-index: 50;
  184. display: none;
  185. max-width: 1024px;
  186. position: fixed;
  187. color:black;
  188. }
  189. #dt_title {
  190. border-bottom: 2px solid var(--link-hover-color);
  191. }
  192. .dict_word_list .mean {
  193. overflow: hidden;
  194. text-overflow: ellipsis;
  195. display: -webkit-box;
  196. -webkit-box-orient: vertical;
  197. -webkit-line-clamp: 1;
  198. padding-left: 1em;
  199. color: var(--main-color1);
  200. }
  201. .dict_word_list {
  202. padding: 2px 10px 5px 10px;
  203. }
  204. .dict_word_list:hover {
  205. background-color: var(--link-color);
  206. color: var(--btn-hover-color);
  207. }
  208. .section_inner {
  209. max-width: 1024px;
  210. margin: 0 auto;
  211. }
  212. .spell {
  213. font-size: 100%;
  214. font-weight: 500;
  215. }
  216. .pali_spell {
  217. font-size: 200%;
  218. font-weight: 700;
  219. margin-top: 15px;
  220. padding-bottom: 0;
  221. overflow-wrap: anywhere;
  222. }
  223. #main_view {
  224. display: flex;
  225. }
  226. #main_result {
  227. flex: 7;
  228. }
  229. #right_bar {
  230. flex: 3;
  231. }
  232. .auto_mean {
  233. display: flex;
  234. }
  235. .auto_mean > .spell {
  236. font-weight: 700;
  237. margin-right: 1em;
  238. }
  239. .auto_mean > .meaning {
  240. overflow: hidden;
  241. text-overflow: ellipsis;
  242. display: -webkit-box;
  243. -webkit-box-orient: vertical;
  244. -webkit-line-clamp: 2;
  245. color: var(--main-color1);
  246. }
  247. #word_parts {
  248. }
  249. #search_info {
  250. /*display: flex;*/
  251. justify-content: space-between;
  252. }
  253. #part_mean {
  254. margin: 1em;
  255. padding: 1em;
  256. border: 1px solid var(--border-line-color);
  257. background-color: var(--bg-color);
  258. box-shadow: 0 5px 7px rgb(0 0 0 / 5%);
  259. }
  260. #part_mean_shell {
  261. display: none;
  262. }
  263. #dict_ref_search_result {
  264. margin: 4em 5px 5px 1em;
  265. width: 100%;
  266. padding: 1.5em 10px 0 10px;
  267. }
  268. .dict_word .pali {
  269. font-size: 110%;
  270. font-weight: 700;
  271. }
  272. .dict_word .dict {
  273. font-size: 100%;
  274. font-style: normal;
  275. color: var(--link-color);
  276. }
  277. .dict_word .mean {
  278. font-size: 100%;
  279. margin: 2px 0;
  280. line-height: 160%;
  281. font-weight: 400;
  282. font-style: normal;
  283. }
  284. .dict_word input,
  285. select,
  286. textarea {
  287. background-color: white;
  288. color: rgb(0, 0, 0);
  289. }
  290. #dict_ref_search_input {
  291. /*margin-left: 0.5em;*/
  292. /*max-width: 500px;*/
  293. font-size: 130%;
  294. font-weight: 500;
  295. padding: 0.3em 0.6em;
  296. }
  297. #left_menu_button {
  298. display: none;
  299. }
  300. #trubo_split {
  301. height: fit-content;
  302. font-size: 1.2em;
  303. }
  304. #search_result_shell {
  305. padding: 2px 15px;
  306. }