index.scss 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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. > section {
  99. display: flex;
  100. flex-wrap: wrap;
  101. justify-content: space-around;
  102. // 사진 영역
  103. figure {
  104. box-sizing: border-box;
  105. text-align: center;
  106. flex-basis: auto;
  107. max-width: 50%;
  108. padding: 5px;
  109. > a {
  110. display: inline-block;
  111. img {
  112. width: 100%;
  113. max-width: 210px;
  114. max-height: 215px;
  115. &:focus,
  116. &:hover {
  117. filter: drop-shadow(2px 2px 4px #969696);
  118. }
  119. }
  120. }
  121. figcaption {
  122. margin: 5px 0;
  123. a {
  124. display: initial;
  125. }
  126. }
  127. // 작성자
  128. strong {
  129. display: block;
  130. font-size: 0.813rem;
  131. margin-bottom: 3px;
  132. }
  133. // 작성일자
  134. small {
  135. font-size: 0.688rem;
  136. }
  137. }
  138. }
  139. }
  140. }
  141. }
  142. }
  143. }
  144. .foot {
  145. margin-top: 10px;
  146. }
  147. }
  148. }