index.scss 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. // 게시판 목록, 사진/동영상, 공지사항, 검색
  2. /* 1150px~1400px 3열 */
  3. figure.figure {
  4. width: 32%;
  5. }
  6. /* 1400px~1700px 4열 */
  7. @media screen and (min-width: 1400px) {
  8. figure.figure {
  9. width: 24.70%;
  10. }
  11. }
  12. /* 1700px~2200px 6열 */
  13. @media screen and (min-width: 1700px) {
  14. figure.figure {
  15. width: 16.44%;
  16. }
  17. }
  18. /* 2200px~3000px 8열 */
  19. @media screen and (min-width: 2200px) {
  20. figure.figure {
  21. width: 12.30%;
  22. }
  23. }
  24. /* 3000px 12열 */
  25. @media screen and (min-width: 3000px) {
  26. figure.figure {
  27. width: 8.21%;
  28. }
  29. }
  30. .mce-label.mce-autoscroll {overflow: hidden !important;}
  31. #board {
  32. // 제목
  33. .board-name {
  34. font-weight: normal;
  35. margin-bottom: 0;
  36. }
  37. /* 게시판 목록 */
  38. #boardList {
  39. box-sizing: border-box;
  40. .head {
  41. margin-bottom: 10px;
  42. }
  43. .body {
  44. table {
  45. margin-left: auto;
  46. margin-right: auto;
  47. border: 1px solid #333;
  48. caption {
  49. caption-side: top;
  50. color: #bbbbbb;
  51. span {
  52. font-size: 15px;
  53. }
  54. select {
  55. width: auto;
  56. display: inline-block;
  57. &:last-child {
  58. margin-left: 5px;
  59. }
  60. }
  61. }
  62. thead {
  63. tr {
  64. background-color: #133a46;
  65. border: 1px solid #333;
  66. th {
  67. text-align: center;
  68. border-bottom: none;
  69. }
  70. }
  71. }
  72. tbody {
  73. tr {
  74. &:hover,
  75. &:focus {
  76. background-color: #1a1e21;
  77. }
  78. th, td {
  79. text-align: center;
  80. vertical-align: middle;
  81. }
  82. td {
  83. font-size: 13px;
  84. label {
  85. margin-right: 5px;
  86. a {
  87. color: #cbd5e0;
  88. }
  89. }
  90. del, a {
  91. font-size: 14px;
  92. font-weight: normal;
  93. color: #b3b3b3;
  94. }
  95. var {
  96. color: #aa0000;
  97. font-style: normal;
  98. margin-left: 3px;
  99. letter-spacing: -1px;
  100. vertical-align: middle;
  101. }
  102. i {
  103. color: #cbd5e0;
  104. margin-left: 3px;
  105. vertical-align: -1px;
  106. }
  107. span {
  108. font-size: 10px;
  109. margin-left: 3px;
  110. vertical-align: middle;
  111. }
  112. // 사진/동영상
  113. > section {
  114. display: flex;
  115. flex-wrap: wrap;
  116. figure {
  117. box-sizing: border-box;
  118. min-width: 250px;
  119. padding: 20px 10px 20px 10px;
  120. margin: 0;
  121. text-align: center;
  122. a {
  123. display: inline-block;
  124. img {
  125. max-width: 210px;
  126. max-height: 215px;
  127. width: 100%;
  128. &:focus,
  129. &:hover {
  130. filter: drop-shadow(2px 2px 4px #969696);
  131. }
  132. }
  133. }
  134. figcaption {
  135. margin: 5px 0;
  136. h5 a {
  137. display: initial;
  138. }
  139. }
  140. strong {
  141. font-weight: 500;
  142. margin-bottom: 3px;
  143. display: block;
  144. }
  145. ul {
  146. list-style: none;
  147. padding-left: 0;
  148. margin: 0;
  149. li {
  150. display: inline-block;
  151. font-size: 13px;
  152. &:first-child::before {display: none;}
  153. &::before {
  154. content: '';
  155. display: inline-block;
  156. width: 2px;
  157. height: 2px;
  158. margin: 0 5px 4px 2px;
  159. border-radius: 2px;
  160. background-color: #616670;
  161. }
  162. }
  163. }
  164. }
  165. }
  166. }
  167. }
  168. }
  169. tfoot {
  170. tr td {
  171. border-bottom: none;
  172. nav ul {
  173. margin-bottom: 0;
  174. }
  175. }
  176. }
  177. }
  178. }
  179. .foot {
  180. margin-top: 10px;
  181. }
  182. /* 게시판 검색 */
  183. .search {
  184. form {
  185. select {margin-right: 5px;width: auto;display: inline;}
  186. input {margin-right: 5px;width: auto;display: inline;}
  187. button {width: auto;vertical-align: initial;}
  188. }
  189. }
  190. }
  191. }