style.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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(--tool-bg-color1);
  181. z-index: 50;
  182. display: none;
  183. max-width: 1024px;
  184. position: fixed;
  185. }
  186. #dt_title {
  187. border-bottom: 2px solid var(--link-hover-color);
  188. }
  189. .dict_word_list .mean {
  190. overflow: hidden;
  191. text-overflow: ellipsis;
  192. display: -webkit-box;
  193. -webkit-box-orient: vertical;
  194. -webkit-line-clamp: 1;
  195. padding-left: 1em;
  196. color: var(--main-color1);
  197. }
  198. .dict_word_list {
  199. padding: 2px 10px 5px 10px;
  200. }
  201. .dict_word_list:hover {
  202. background-color: var(--link-color);
  203. color: var(--btn-hover-color);
  204. }
  205. .section_inner {
  206. max-width: 1024px;
  207. margin: 0 auto;
  208. }
  209. .spell {
  210. font-size: 100%;
  211. font-weight: 500;
  212. }
  213. .pali_spell {
  214. font-size: 200%;
  215. font-weight: 700;
  216. margin-top: 15px;
  217. padding-bottom: 0;
  218. overflow-wrap: anywhere;
  219. }
  220. #main_view {
  221. display: flex;
  222. }
  223. #main_result {
  224. flex: 7;
  225. }
  226. #right_bar {
  227. flex: 3;
  228. }
  229. .auto_mean {
  230. display: flex;
  231. }
  232. .auto_mean > .spell {
  233. font-weight: 700;
  234. margin-right: 1em;
  235. }
  236. .auto_mean > .meaning {
  237. overflow: hidden;
  238. text-overflow: ellipsis;
  239. display: -webkit-box;
  240. -webkit-box-orient: vertical;
  241. -webkit-line-clamp: 2;
  242. color: var(--main-color1);
  243. }
  244. #word_parts {
  245. }
  246. #search_info {
  247. /*display: flex;*/
  248. justify-content: space-between;
  249. }
  250. #part_mean {
  251. margin: 1em;
  252. padding: 1em;
  253. border: 1px solid var(--border-line-color);
  254. background-color: var(--bg-color);
  255. box-shadow: 0 5px 7px rgb(0 0 0 / 5%);
  256. }
  257. #part_mean_shell {
  258. display: none;
  259. }
  260. #dict_ref_search_result {
  261. margin: 4em 5px 5px 1em;
  262. width: 100%;
  263. padding: 1.5em 10px 0 10px;
  264. }
  265. .dict_word .pali {
  266. font-size: 110%;
  267. font-weight: 700;
  268. }
  269. .dict_word .dict {
  270. font-size: 100%;
  271. font-style: normal;
  272. color: var(--link-color);
  273. }
  274. .dict_word .mean {
  275. font-size: 100%;
  276. margin: 2px 0;
  277. line-height: 160%;
  278. font-weight: 400;
  279. font-style: normal;
  280. }
  281. .dict_word input,
  282. select,
  283. textarea {
  284. background-color: white;
  285. color: rgb(0, 0, 0);
  286. }
  287. #dict_ref_search_input {
  288. /*margin-left: 0.5em;*/
  289. /*max-width: 500px;*/
  290. font-size: 130%;
  291. font-weight: 500;
  292. padding: 0.3em 0.6em;
  293. }
  294. #left_menu_button {
  295. display: none;
  296. }
  297. #trubo_split {
  298. height: fit-content;
  299. font-size: 1.2em;
  300. }
  301. #search_result_shell {
  302. padding: 2px 15px;
  303. }