latest.scss 4.6 KB

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