style.css 2.8 KB

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