latest.scss 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. /* 최근 게시글 */
  2. #latest {
  3. box-sizing: border-box;
  4. margin-top: 20px;
  5. table {
  6. margin-left: auto;
  7. margin-right: auto;
  8. border: 1px solid #333;
  9. caption {
  10. caption-side: top;
  11. color: #bbbbbb;
  12. span {
  13. font-size: 15px;
  14. }
  15. select {
  16. width: auto;
  17. display: inline-block;
  18. &:last-child {
  19. margin-left: 5px;
  20. }
  21. }
  22. }
  23. thead {
  24. tr {
  25. border: 1px solid #333;
  26. th {
  27. text-align: center;
  28. border-bottom: none;
  29. background-color: #133a46;
  30. }
  31. }
  32. }
  33. tbody {
  34. tr {
  35. &:hover,
  36. &:focus {
  37. td {
  38. background-color: #1a1e21;
  39. }
  40. }
  41. th, td {
  42. text-align: center;
  43. vertical-align: middle;
  44. }
  45. td {
  46. font-size: 13px;
  47. label {
  48. margin-right: 5px;
  49. a {
  50. color: #cbd5e0;
  51. }
  52. }
  53. del, a {
  54. font-size: 14px;
  55. font-weight: normal;
  56. color: #b3b3b3;
  57. }
  58. var {
  59. color: #aa0000;
  60. font-style: normal;
  61. margin-left: 3px;
  62. letter-spacing: -1px;
  63. vertical-align: middle;
  64. }
  65. i {
  66. color: #cbd5e0;
  67. margin-left: 3px;
  68. vertical-align: -1px;
  69. }
  70. span {
  71. font-size: 10px;
  72. margin-left: 3px;
  73. vertical-align: middle;
  74. }
  75. }
  76. }
  77. }
  78. tfoot {
  79. tr td {
  80. border-bottom: none;
  81. nav ul {
  82. margin-bottom: 0;
  83. }
  84. }
  85. }
  86. }
  87. // 사진/동영상
  88. figure {
  89. box-sizing: border-box;
  90. margin: 0;
  91. text-align: center;
  92. > a {
  93. position: relative;
  94. display: block;
  95. min-width: 140px;
  96. min-height: 140px;
  97. max-height: 160px;
  98. margin: 0;
  99. img {
  100. position: absolute;
  101. width: 100%;
  102. top: 0;
  103. left: 0;
  104. &:hover {
  105. filter: drop-shadow(2px 2px 4px #969696);
  106. }
  107. }
  108. &:hover,
  109. &:focus {
  110. text-decoration: underline;
  111. }
  112. }
  113. figcaption {
  114. margin: 5px 0;
  115. > a {
  116. display: initial;
  117. &:focus,
  118. &:hover {
  119. text-decoration: underline;
  120. }
  121. }
  122. label {
  123. margin-right: 5px;
  124. a {
  125. color: #cbd5e0;
  126. }
  127. }
  128. del, a {
  129. font-size: 14px;
  130. font-weight: normal;
  131. color: #b3b3b3;
  132. }
  133. var {
  134. color: #aa0000;
  135. font-style: normal;
  136. margin-left: 3px;
  137. letter-spacing: -1px;
  138. vertical-align: middle;
  139. }
  140. i {
  141. color: #cbd5e0;
  142. margin-left: 3px;
  143. vertical-align: -1px;
  144. }
  145. span {
  146. font-size: 10px;
  147. margin-left: 3px;
  148. vertical-align: middle;
  149. }
  150. }
  151. strong {
  152. font-weight: 500;
  153. margin-bottom: 3px;
  154. display: block;
  155. }
  156. ul {
  157. list-style: none;
  158. padding-left: 0;
  159. margin: 0;
  160. li {
  161. display: inline-block;
  162. font-size: 13px;
  163. &:first-child::before {display: none;}
  164. &::before {
  165. content: '';
  166. display: inline-block;
  167. width: 2px;
  168. height: 2px;
  169. margin: 0 5px 4px 2px;
  170. border-radius: 2px;
  171. background-color: #616670;
  172. }
  173. }
  174. }
  175. }
  176. }