index.scss 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. // 게시판 목록, 사진/동영상, 공지사항, 검색
  2. .mce-label.mce-autoscroll {overflow: hidden !important;}
  3. #board {
  4. padding: calc(var(--bs-gutter-x) * 0.5);
  5. .board-name {
  6. font-weight: bold;
  7. margin-bottom: 0;
  8. color: #f1f1f1;
  9. }
  10. hr {
  11. border-color: #eee;
  12. }
  13. /* 게시판 목록 */
  14. #boardList {
  15. box-sizing: border-box;
  16. .head {
  17. margin-bottom: 10px;
  18. }
  19. .body {
  20. table {
  21. margin-left: auto;
  22. margin-right: auto;
  23. border: 1px solid #222c36;
  24. caption {
  25. caption-side: top;
  26. span {
  27. font-size: 15px;
  28. color: #f1f1f1;
  29. }
  30. select {
  31. width: inherit;
  32. }
  33. }
  34. tbody {
  35. tr {
  36. td {
  37. vertical-align: middle;
  38. // 일반 게시글
  39. p {
  40. font-size: 0.813rem;
  41. margin-bottom: 5px;
  42. label {
  43. margin-right: 5px;
  44. a {
  45. color: #cbd5e0;
  46. }
  47. }
  48. del, a {
  49. font-size: 0.875rem;
  50. font-weight: normal;
  51. }
  52. var {
  53. color: #aa0000;
  54. font-style: normal;
  55. margin-left: 3px;
  56. letter-spacing: -1px;
  57. vertical-align: middle;
  58. }
  59. i {
  60. color: #cbd5e0;
  61. margin-left: 3px;
  62. vertical-align: -1px;
  63. }
  64. span {
  65. font-size: 0.625rem;
  66. margin-left: 3px;
  67. vertical-align: middle;
  68. }
  69. }
  70. ul {
  71. margin: 0;
  72. padding: 0;
  73. li {
  74. display: inline-block;
  75. font-size: 0.75rem;
  76. &:after {
  77. content: "·";
  78. padding: 0 3px 0 7px;
  79. }
  80. &:last-child:after {
  81. content: "";
  82. padding: 0;
  83. }
  84. }
  85. }
  86. // 썸네일
  87. .thumbnail {
  88. display: block;
  89. position: relative;
  90. width: 100%;
  91. height: 100%;
  92. overflow: hidden;
  93. min-height: 50px;
  94. > img {
  95. position: absolute;
  96. width: 100%;
  97. top: 50%;
  98. left: 50%;
  99. transform: translate(-50%, -50%);
  100. }
  101. }
  102. // 사진/동영상
  103. > section {
  104. display: flex;
  105. flex-wrap: wrap;
  106. justify-content: space-around;
  107. // 사진 영역
  108. figure {
  109. box-sizing: border-box;
  110. text-align: center;
  111. flex-basis: auto;
  112. max-width: 50%;
  113. padding: 5px;
  114. > a {
  115. display: inline-block;
  116. img {
  117. width: 100%;
  118. max-width: 210px;
  119. max-height: 215px;
  120. &:focus,
  121. &:hover {
  122. filter: drop-shadow(2px 2px 4px #969696);
  123. }
  124. }
  125. }
  126. figcaption {
  127. margin: 5px 0;
  128. a {
  129. display: initial;
  130. }
  131. }
  132. // 작성자
  133. strong {
  134. display: block;
  135. font-size: 0.813rem;
  136. margin-bottom: 3px;
  137. }
  138. // 작성일자
  139. small {
  140. font-size: 0.688rem;
  141. }
  142. }
  143. }
  144. }
  145. }
  146. }
  147. }
  148. }
  149. .foot {
  150. margin-top: 10px;
  151. }
  152. }
  153. }