catalogue.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. .box {
  2. position: relative;
  3. background-image: url("@/assets/img/retrieval_bj.png");
  4. background-repeat: no-repeat;
  5. background-size: cover;
  6. background-position: center;
  7. width: 100%;
  8. height: 100%;
  9. display: flex;
  10. align-items: center;
  11. justify-content: center;
  12. }
  13. .directory-container {
  14. min-width: 300px;
  15. width: calc(100% - 64px);
  16. max-width: 500px;
  17. height: 60%;
  18. padding: 16px;
  19. margin: 16px;
  20. background-color: rgb(226, 210, 194, 0.7);
  21. display: flex;
  22. flex-direction: column;
  23. border: 3px solid #7c4631;
  24. border-radius: 24px;
  25. }
  26. .directory-container-top {
  27. width: calc(100% - 16px);
  28. margin: 16px 0 8px 0;
  29. padding: 0 8px;
  30. display: flex;
  31. align-items: center;
  32. justify-content: space-around;
  33. }
  34. .directory-container-top p {
  35. color: rgb(69, 20, 3);
  36. font-size: calc(1vw + 1vh + 2vmin);
  37. font-weight: bolder;
  38. white-space: nowrap;
  39. }
  40. .content-box {
  41. flex: 1;
  42. display: flex;
  43. flex-direction: column;
  44. /* display: grid;
  45. grid-template-columns: repeat(3, 1fr);
  46. align-content: flex-start;
  47. column-gap: 4vw; */
  48. row-gap: 1.5vh;
  49. padding: 0 3vw;
  50. overflow: auto;
  51. }
  52. .content-box-item {
  53. padding: 8px 15px;
  54. color: #f6e6d7;
  55. background-color: #7a3e2a;
  56. text-align: center;
  57. font-size: calc(0.8vw + 0.8vh + 0.8vmin);
  58. font-weight: bolder;
  59. border-radius: 3vh;
  60. cursor: pointer;
  61. }
  62. /* 滚动条样式 */
  63. .content-box::-webkit-scrollbar {
  64. width: 6px;
  65. height: 6px;
  66. background-color: rgba(83, 83, 83, 0);
  67. }
  68. .content-box:hover::-webkit-scrollbar {
  69. width: 6px;
  70. height: 6px;
  71. background-color: rgb(0, 0, 0, 0);
  72. }
  73. .content-box:hover::-webkit-scrollbar-thumb {
  74. background-color: rgb(144, 147, 153, 0.3);
  75. border-radius: 8px;
  76. }
  77. .content-box:hover::-webkit-scrollbar-thumb:hover {
  78. background-color: rgb(144, 147, 153, 0.5);
  79. border-radius: 8px;
  80. }
  81. .introduction-title {
  82. margin-left: 2vw;
  83. }
  84. .introduction-paragraph {
  85. text-indent: 2em;
  86. margin-left: 2vw;
  87. margin-right: 2vw;
  88. line-height: 2em;
  89. }
  90. .introduction-image {
  91. text-align: center;
  92. }
  93. .item-row {
  94. margin-top: 2vh;
  95. }
  96. .options-content {
  97. position: relative;
  98. top: 35vh;
  99. height: 40vh;
  100. }
  101. p.article-title {
  102. position: relative;
  103. top: 4vh;
  104. height: 1vh;
  105. font-size: 1.25rem;
  106. color: #f6e6d7;
  107. font-weight: bolder;
  108. }
  109. .return-button {
  110. position: absolute;
  111. top: 0;
  112. right: 0;
  113. width: 118px;
  114. height: 50px;
  115. background-image: url('@/assets/img/list_return_button.png');
  116. background-repeat: no-repeat;
  117. background-size: cover;
  118. background-position: center;
  119. z-index: 100;
  120. cursor: pointer;
  121. }
  122. @media screen and (max-width: 1000px) {
  123. .content-box-item {
  124. font-size: calc(1vw + 1vh + 1.5vmin);
  125. }
  126. .introductionVisible {
  127. width: 100%;
  128. }
  129. }
  130. @media screen and (orientation: landscape) {
  131. .el-col-8 {
  132. left: 40%;
  133. max-width: 10%;
  134. }
  135. }
  136. ::v-deep .dialogHistoryVisible {
  137. height: 80%;
  138. max-height: 500px;
  139. max-width: 900px;
  140. display: flex;
  141. flex-direction: column;
  142. }
  143. ::v-deep .dialogHistoryVisible .el-dialog__body {
  144. flex: 1;
  145. overflow: auto;
  146. }