style.css 5.6 KB

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