2
0

style.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. #search_result {
  2. position: absolute;
  3. background: wheat;
  4. max-width: 95%;
  5. width: 24em;
  6. }
  7. .icon {
  8. width: 15px;
  9. height: 15px;
  10. }
  11. .submenu_title {
  12. font-size: 120%;
  13. font-weight: 700;
  14. }
  15. #head_bar {
  16. display: flex;
  17. justify-content: space-between;
  18. /*height: 5em;*/
  19. background-color: var(--tool-bg-color1);
  20. border-bottom: 1px solid var(--tool-line-color);
  21. padding: 0.5vh 0.5vw;
  22. margin-top: 50px;
  23. position: fixed;
  24. top: 0;
  25. left: 0;
  26. width: 100%;
  27. z-index: 100;
  28. }
  29. #pali_pedia {
  30. font-size: 200%;
  31. margin-top: auto;
  32. margin-bottom: auto;
  33. padding-left: 0.5em;
  34. }
  35. .main_view {
  36. padding: 0 1em;
  37. padding-top: 7em;
  38. max-width: 1280px;
  39. margin-left: 270px;
  40. margin-right: auto;
  41. }
  42. #left_pannal_inner {
  43. position: fixed;
  44. top: 0;
  45. left: 0;
  46. padding-top: 90px;
  47. height: 100%;
  48. /*width:300px;*/
  49. overflow-x: hidden;
  50. overflow-y: scroll;
  51. }
  52. #toc_content{
  53. max-height: calc(100vh - 90px);
  54. width: max-content;
  55. max-width:270px;
  56. background-color: var(--bg-color);
  57. border-bottom: 1px solid var(--border-line-color);
  58. overflow-y: unset;
  59. }
  60. .fun_frame {
  61. border-bottom: 1px solid gray;
  62. margin-right: 10px;
  63. margin-bottom: 10px;
  64. }
  65. .fun_frame .title {
  66. padding: 6px;
  67. font-weight: 700;
  68. }
  69. .fun_frame > .content {
  70. padding: 4em 6px 6px 6px;
  71. max-height: 6em;
  72. overflow-y: scroll;
  73. /*max-width: 260px;*/
  74. }
  75. .fixed {
  76. position: fixed;
  77. right: 0;
  78. top: 0;
  79. }
  80. .when_right_fixed {
  81. padding-right: 20em;
  82. }
  83. #contents_view {
  84. display: flex;
  85. }
  86. #contents_div {
  87. flex: 7;
  88. padding: 0 1em 0 30px;
  89. width: 70vw;
  90. }
  91. #contents {
  92. min-height: 400px;
  93. }
  94. #contents li {
  95. white-space: normal;
  96. }
  97. #right_pannal {
  98. flex: 3;
  99. max-width: 270px;
  100. }
  101. #head_bar {
  102. height: unset;
  103. }
  104. #contents_foot {
  105. margin-bottom: 70vh;
  106. }
  107. #toc_content .level_2 {
  108. padding-left: 0.5em;
  109. }
  110. #toc_content .level_3 {
  111. padding-left: 1em;
  112. }
  113. #toc_content .level_4 {
  114. padding-left: 1.5em;
  115. }
  116. #toc_content .level_5 {
  117. padding-left: 2em;
  118. }
  119. .ui-dialog-titlebar {
  120. display: flex;
  121. justify-content: space-between;
  122. background-color: var(--btn-bg-color);
  123. padding: 5px;
  124. }
  125. .ui-widget-content {
  126. background-color: var(--bg-color);
  127. }
  128. .ui-dialog {
  129. box-shadow: 8px 8px 20px var(--border-shadow);
  130. }
  131. .active {
  132. background-color: var(--btn-hover-bg-color);
  133. }
  134. .icon_btn a {
  135. color: var(--main-color);
  136. }
  137. .icon_btn:hover a {
  138. color: var(--btn-hover-color);
  139. }
  140. .tran img {
  141. max-width: 100%;
  142. max-height: 200px;
  143. width: auto;
  144. height: auto;
  145. object-fit: cover;
  146. background-size: contain;
  147. }
  148. .channal_list {
  149. white-space: nowrap;
  150. overflow-x: hidden;
  151. }
  152. .userinfo_channal {
  153. display: none;
  154. }
  155. .userinfo_channal:hover {
  156. display: block;
  157. }
  158. img {
  159. width: 90vw;
  160. max-width: 40em;
  161. }
  162. /*
  163. 左右对读
  164. .note_shell {
  165. display: flex;
  166. }
  167. .note_shell > .palitext{
  168. flex: 5;
  169. }
  170. .note_shell>note {
  171. flex: 5;
  172. }
  173. */
  174. .tool_bar {
  175. display: flex;
  176. }
  177. .page_number {
  178. padding: 2px 2px;
  179. position: absolute;
  180. margin-top: 0;
  181. margin-left: -30px;
  182. font-family: "Noto Sans", "Noto Sans SC", "Noto Sans TC", "Padauk", Arial, Verdana;
  183. color: var(--main-color1);
  184. font-size: 80%;
  185. }
  186. #article_edition {
  187. padding: 8px;
  188. margin: 0 4px;
  189. border-bottom: 1px solid var(--border-line-color);
  190. display: flex;
  191. min-width: 18em;
  192. }
  193. #edition_dropdown {
  194. margin-left: 1em;
  195. }
  196. #head_nav {
  197. display: flex;
  198. justify-content: space-between;
  199. }
  200. #head_bar {
  201. display: flex;
  202. flex-direction: initial;
  203. }
  204. .hidden{
  205. display:none;
  206. }
  207. #main_view.edit_mode{
  208. max-width: 100%;
  209. }
  210. #article_path chapter{
  211. color: var(--link-color);
  212. }
  213. #article_path chapter:hover {
  214. color: var(--link-hover-color);
  215. text-decoration: underline;
  216. }
  217. .right_float_min #right_float_pannal {
  218. left: calc(100% - 30vw + 0.6em);
  219. }
  220. #right_float_pannal {
  221. position: fixed;
  222. height: calc(100% - 7.3em);
  223. top: 7.3em;
  224. left: 100%;
  225. width: calc(30vw - 0.6em);
  226. min-width: 20vw;
  227. color: var(--btn-color);
  228. background-color: var(--tool-bg-color);
  229. z-index: 20;
  230. -webkit-transition-duration: 0.4s;
  231. transition-duration: 0.4s;
  232. -webkit-contain: strict;
  233. contain: strict;
  234. z-index: 51;
  235. }
  236. #right_float_pannal > iframe {
  237. width: 100%;
  238. height: 100%;
  239. }
  240. .right_float_max #right_float_pannal {
  241. left: 50%;
  242. width: 50%;
  243. }
  244. #right_float_pannal > #tool_bar {
  245. /*position: absolute;*/
  246. display: flex;
  247. width: 100%;
  248. justify-content: space-between;
  249. }
  250. #right_float_pannal > #tool_bar svg {
  251. fill: var(--bg-color);
  252. height: 2em;
  253. width: 2em;
  254. }
  255. #head_nav_right{
  256. display: flex;
  257. }
  258. .nav_bnt{
  259. min-width: 20em;
  260. padding: 15px;
  261. border: 1px solid var(--border-line-color);
  262. border-radius: 5px;
  263. cursor: pointer;
  264. margin: 10px;
  265. }
  266. .nav_right{
  267. text-align: right;
  268. }
  269. .nav_bnt:hover {
  270. background-color: var(--tool-link-hover-color);
  271. color: var(--btn-hover-color);
  272. }
  273. #contents_nav{
  274. display: flex;
  275. justify-content: space-between;
  276. }