style.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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: 10px;
  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. max-width: 20em;
  81. }
  82. #head_bar {
  83. height: unset;
  84. }
  85. #contents_foot {
  86. margin-bottom: 70vh;
  87. }
  88. #toc_content .level_2 {
  89. padding-left: 0.5em;
  90. }
  91. #toc_content .level_3 {
  92. padding-left: 1em;
  93. }
  94. #toc_content .level_4 {
  95. padding-left: 1.5em;
  96. }
  97. #toc_content .level_5 {
  98. padding-left: 2em;
  99. }
  100. .ui-dialog-titlebar {
  101. display: flex;
  102. justify-content: space-between;
  103. background-color: var(--btn-bg-color);
  104. padding: 5px;
  105. }
  106. .ui-widget-content {
  107. background-color: var(--bg-color);
  108. }
  109. .ui-dialog {
  110. box-shadow: 8px 8px 20px var(--border-shadow);
  111. }
  112. .active {
  113. background-color: var(--btn-hover-bg-color);
  114. }
  115. .icon_btn a {
  116. color: var(--main-color);
  117. }
  118. .icon_btn:hover a {
  119. color: var(--btn-hover-color);
  120. }
  121. .tran img {
  122. max-width: 100%;
  123. max-height: 200px;
  124. width: auto;
  125. height: auto;
  126. object-fit: cover;
  127. background-size: contain;
  128. }
  129. .channal_list {
  130. white-space: nowrap;
  131. overflow-x: hidden;
  132. }
  133. .userinfo_channal {
  134. display: none;
  135. }
  136. .userinfo_channal:hover {
  137. display: block;
  138. }
  139. img {
  140. width: 90vw;
  141. max-width: 40em;
  142. }
  143. /*
  144. 左右对读
  145. .note_shell {
  146. display: flex;
  147. }
  148. .note_shell > .palitext{
  149. flex: 5;
  150. }
  151. .note_shell>note {
  152. flex: 5;
  153. }
  154. */