style.css 2.8 KB

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