2
0

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