style.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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: hidden;
  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. }
  59. .fun_frame {
  60. border-bottom: 1px solid gray;
  61. margin-right: 10px;
  62. margin-bottom: 10px;
  63. }
  64. .fun_frame .title {
  65. padding: 6px;
  66. font-weight: 700;
  67. }
  68. .fun_frame > .content {
  69. padding: 4em 6px 6px 6px;
  70. max-height: 6em;
  71. overflow-y: scroll;
  72. /*max-width: 260px;*/
  73. }
  74. .fixed {
  75. position: fixed;
  76. right: 0;
  77. top: 0;
  78. }
  79. .when_right_fixed {
  80. padding-right: 20em;
  81. }
  82. #contents_view {
  83. display: flex;
  84. }
  85. #contents_div {
  86. flex: 7;
  87. padding: 0 1em 0 30px;
  88. width: 70vw;
  89. }
  90. #contents {
  91. min-height: 400px;
  92. }
  93. #contents li {
  94. white-space: normal;
  95. }
  96. #right_pannal {
  97. flex: 3;
  98. max-width: 270px;
  99. }
  100. #head_bar {
  101. height: unset;
  102. }
  103. #contents_foot {
  104. margin-bottom: 70vh;
  105. }
  106. #toc_content .level_2 {
  107. padding-left: 0.5em;
  108. }
  109. #toc_content .level_3 {
  110. padding-left: 1em;
  111. }
  112. #toc_content .level_4 {
  113. padding-left: 1.5em;
  114. }
  115. #toc_content .level_5 {
  116. padding-left: 2em;
  117. }
  118. .ui-dialog-titlebar {
  119. display: flex;
  120. justify-content: space-between;
  121. background-color: var(--btn-bg-color);
  122. padding: 5px;
  123. }
  124. .ui-widget-content {
  125. background-color: var(--bg-color);
  126. }
  127. .ui-dialog {
  128. box-shadow: 8px 8px 20px var(--border-shadow);
  129. }
  130. .active {
  131. background-color: var(--btn-hover-bg-color);
  132. }
  133. .icon_btn a {
  134. color: var(--main-color);
  135. }
  136. .icon_btn:hover a {
  137. color: var(--btn-hover-color);
  138. }
  139. .tran img {
  140. max-width: 100%;
  141. max-height: 200px;
  142. width: auto;
  143. height: auto;
  144. object-fit: cover;
  145. background-size: contain;
  146. }
  147. .channal_list {
  148. white-space: nowrap;
  149. overflow-x: hidden;
  150. }
  151. .userinfo_channal {
  152. display: none;
  153. }
  154. .userinfo_channal:hover {
  155. display: block;
  156. }
  157. img {
  158. width: 90vw;
  159. max-width: 40em;
  160. }
  161. /*
  162. 左右对读
  163. .note_shell {
  164. display: flex;
  165. }
  166. .note_shell > .palitext{
  167. flex: 5;
  168. }
  169. .note_shell>note {
  170. flex: 5;
  171. }
  172. */
  173. .tool_bar {
  174. display: flex;
  175. }
  176. .page_number {
  177. padding: 2px 2px;
  178. position: absolute;
  179. margin-top: 0;
  180. margin-left: -30px;
  181. font-family: "Noto Sans", "Noto Sans SC", "Noto Sans TC", "Padauk", Arial, Verdana;
  182. color: var(--main-color1);
  183. font-size: 80%;
  184. }
  185. #article_edition {
  186. padding: 8px;
  187. margin: 0 4px;
  188. border: 1px solid var(--border-line-color);
  189. border-radius: 5px;
  190. }
  191. #head_nav {
  192. display: flex;
  193. justify-content: space-between;
  194. }
  195. #head_bar {
  196. display: flex;
  197. flex-direction: initial;
  198. }
  199. .hidden{
  200. display:none;
  201. }
  202. #main_view.edit_mode{
  203. max-width: 100%;
  204. }
  205. #article_path chapter{
  206. color: var(--link-color);
  207. }
  208. #article_path chapter:hover {
  209. color: var(--link-hover-color);
  210. text-decoration: underline;
  211. }