style.css 2.3 KB

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