style.css 2.1 KB

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