index.scss 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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. }
  9. /* 게시판 목록 */
  10. #boardList {
  11. box-sizing: border-box;
  12. .head {
  13. margin-bottom: 10px;
  14. }
  15. .body {
  16. table {
  17. margin-left: auto;
  18. margin-right: auto;
  19. border: 1px solid #222c36;
  20. caption {
  21. caption-side: top;
  22. span {
  23. font-size: 15px;
  24. }
  25. select {
  26. width: inherit;
  27. }
  28. }
  29. tbody {
  30. tr {
  31. td {
  32. vertical-align: middle;
  33. // 일반 게시글
  34. p {
  35. font-size: 0.813rem;
  36. margin-bottom: 5px;
  37. label {
  38. margin-right: 5px;
  39. a {
  40. color: #cbd5e0;
  41. }
  42. }
  43. del, a {
  44. font-size: 0.875rem;
  45. font-weight: normal;
  46. }
  47. var {
  48. color: #aa0000;
  49. font-style: normal;
  50. margin-left: 3px;
  51. letter-spacing: -1px;
  52. vertical-align: middle;
  53. }
  54. i {
  55. color: #cbd5e0;
  56. margin-left: 3px;
  57. vertical-align: -1px;
  58. }
  59. span {
  60. font-size: 0.625rem;
  61. margin-left: 3px;
  62. vertical-align: middle;
  63. }
  64. }
  65. ul {
  66. margin: 0;
  67. padding: 0;
  68. li {
  69. display: inline-block;
  70. font-size: 0.75rem;
  71. &:after {
  72. content: "·";
  73. padding: 0 3px 0 7px;
  74. }
  75. &:last-child:after {
  76. content: "";
  77. padding: 0;
  78. }
  79. }
  80. }
  81. // 썸네일
  82. .thumbnail {
  83. display: block;
  84. position: relative;
  85. width: 100%;
  86. height: 100%;
  87. overflow: hidden;
  88. min-height: 50px;
  89. > img {
  90. position: absolute;
  91. width: 100%;
  92. top: 50%;
  93. left: 50%;
  94. transform: translate(-50%, -50%);
  95. }
  96. }
  97. }
  98. }
  99. }
  100. }
  101. // 사진/동영상
  102. > section {
  103. display: flex;
  104. flex-wrap: wrap;
  105. justify-content: space-around;
  106. // 사진 영역
  107. figure {
  108. box-sizing: border-box;
  109. text-align: center;
  110. flex-basis: auto;
  111. > a {
  112. position: relative;
  113. display: block;
  114. img {
  115. position: absolute;
  116. width: 100%;
  117. top: 0;
  118. left: 0;
  119. &:hover {
  120. filter: drop-shadow(2px 2px 4px #969696);
  121. }
  122. }
  123. }
  124. figcaption {
  125. margin: 5px 0;
  126. p {
  127. margin-bottom: 0.125rem;
  128. }
  129. > a {
  130. display: initial;
  131. }
  132. label {
  133. margin-right: 5px;
  134. a {
  135. color: #cbd5e0;
  136. }
  137. }
  138. del, a {
  139. font-size: 14px;
  140. font-weight: normal;
  141. color: #b3b3b3;
  142. }
  143. var {
  144. color: #aa0000;
  145. font-style: normal;
  146. margin-left: 3px;
  147. letter-spacing: -1px;
  148. vertical-align: middle;
  149. }
  150. i {
  151. color: #cbd5e0;
  152. margin-left: 3px;
  153. vertical-align: -1px;
  154. }
  155. span {
  156. font-size: 10px;
  157. margin-left: 3px;
  158. vertical-align: middle;
  159. }
  160. }
  161. // 작성자
  162. strong {
  163. display: block;
  164. font-size: 0.813rem;
  165. margin-bottom: 3px;
  166. }
  167. // 작성일자
  168. small {
  169. font-size: 0.688rem;
  170. }
  171. ul {
  172. list-style: none;
  173. padding-left: 0;
  174. margin: 0;
  175. li {
  176. display: inline-block;
  177. font-size: 13px;
  178. &:first-child::before {display: none;}
  179. &::before {
  180. content: '';
  181. display: inline-block;
  182. width: 2px;
  183. height: 2px;
  184. margin: 0 5px 4px 2px;
  185. border-radius: 2px;
  186. background-color: #616670;
  187. }
  188. }
  189. }
  190. }
  191. }
  192. }
  193. .foot {
  194. margin-top: 10px;
  195. }
  196. }
  197. }