view.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. @charset "UTF-8";
  2. /* 게시판 보기 */
  3. #boardView {
  4. -webkit-box-sizing: border-box;
  5. box-sizing: border-box;
  6. padding: calc(var(--bs-gutter-x) * 0.5);
  7. }
  8. #boardView .head h5 {
  9. font-weight: bold;
  10. margin-bottom: 0;
  11. }
  12. #boardView .body {
  13. margin: 20px 0;
  14. }
  15. #boardView .body table {
  16. border: 1px solid #333;
  17. margin-bottom: 6px;
  18. }
  19. > #boardView .body table:not(:first-child) {
  20. border-top: none;
  21. }
  22. #boardView .body table tr th, #boardView .body table tr td {
  23. text-align: initial;
  24. vertical-align: middle;
  25. }
  26. #boardView .body table thead tr th {
  27. background: none;
  28. border-bottom: 1px solid #333;
  29. }
  30. #boardView .body table thead tr th h4 {
  31. padding: 5px 10px;
  32. margin: 0;
  33. }
  34. #boardView .body table thead tr td strong {
  35. font-size: 16px;
  36. }
  37. #boardView .body table thead tr td small {
  38. vertical-align: baseline;
  39. margin-left: 10px;
  40. padding-left: 10px;
  41. border-left: 1px solid #2c3946;
  42. }
  43. #boardView .body table thead tr td ul {
  44. display: inline-block;
  45. list-style: none;
  46. margin: 0;
  47. padding: 0;
  48. }
  49. #boardView .body table thead tr td ul > li {
  50. display: inline-block;
  51. }
  52. #boardView .body table thead tr td ul > li::after {
  53. display: inline-block;
  54. content: "";
  55. width: 1px;
  56. height: 11px;
  57. background: #2c3946;
  58. vertical-align: -2px;
  59. margin: 0;
  60. }
  61. #boardView .body table thead tr td ul > li span {
  62. padding: 0 10px;
  63. }
  64. #boardView .body table thead tr td ul > li span var {
  65. font-style: inherit;
  66. }
  67. #boardView .body table thead tr td ul > li:first-child span {
  68. padding-left: 0;
  69. }
  70. #boardView .body table thead tr td ul > li:last-child span {
  71. padding-right: 0;
  72. }
  73. #boardView .body table thead tr td ul > li:last-child::after {
  74. display: none;
  75. width: 0;
  76. }
  77. #boardView .body table thead tr td ol {
  78. min-width: auto;
  79. margin-left: 20px;
  80. border-radius: 0;
  81. border-color: #cfcfcf #999 #666 #999;
  82. border-width: 1px 1px 1px 0;
  83. border-style: solid;
  84. box-shadow: 2px 0 2px rgba(0, 0, 0, 0.1), 0 4px 4px rgba(0, 0, 0, 0.2), -2px 2px 2px rgba(0, 0, 0, 0.1);
  85. -moz-box-shadow: 2px 0 2px rgba(0, 0, 0, 0.1), 0 4px 4px rgba(0, 0, 0, 0.2), -2px 2px 2px rgba(0, 0, 0, 0.1);
  86. -webkit-box-shadow: 2px 0 2px rgba(0, 0, 0, 0.1), 0 4px 4px rgba(0, 0, 0, 0.2), -2px 2px 2px rgba(0, 0, 0, 0.1);
  87. }
  88. #boardView .body table thead tr td ol > li {
  89. line-height: initial;
  90. padding: 0.4rem 1.2rem;
  91. cursor: pointer;
  92. }
  93. #boardView .body table thead tr td ol > li:hover, #boardView .body table thead tr td ol > li:focus, #boardView .body table thead tr td ol > li:active {
  94. background: #eaeaea;
  95. color: #000;
  96. }
  97. #boardView .body table thead tr td ol > li i {
  98. margin-right: 3px;
  99. }
  100. #boardView .body table thead tr:nth-of-type(2) th {
  101. padding-left: 18px;
  102. }
  103. #boardView .body table thead tr:nth-of-type(2) td {
  104. padding-right: 18px;
  105. padding-bottom: 0;
  106. }
  107. #boardView .body table thead tr:nth-of-type(2) td:last-child {
  108. text-align: right;
  109. }
  110. #boardView .body table thead tr:nth-of-type(3) th {
  111. padding-left: 18px;
  112. }
  113. #boardView .body table thead tr:nth-of-type(3) td {
  114. padding-right: 18px;
  115. padding-top: 0;
  116. }
  117. #boardView .body table thead tr:nth-of-type(3) td:last-child {
  118. text-align: right;
  119. }
  120. #boardView .body table thead tr:last-child {
  121. border-bottom: 1px solid #333;
  122. }
  123. #boardView .body table tbody tr td ol {
  124. list-style: none;
  125. margin: 0;
  126. padding: 2px 10px;
  127. }
  128. #boardView .body table tbody tr td ol > li {
  129. margin-bottom: 6px;
  130. }
  131. #boardView .body table tbody tr td ol > li i {
  132. vertical-align: -2px;
  133. }
  134. #boardView .body table tbody tr td ol > li:last-child {
  135. margin-bottom: 0;
  136. }
  137. #boardView .body table tbody tr td blockquote {
  138. min-height: 300px;
  139. padding: 2px 10px;
  140. margin: 0;
  141. }
  142. #boardView .body table tbody tr td blockquote img {
  143. max-width: 100%;
  144. }
  145. #boardView .body table tbody tr td blockquote pre[class*=language-],
  146. #boardView .body table tbody tr td blockquote code[class*=language-] {
  147. overflow: auto;
  148. white-space: break-spaces;
  149. word-break: break-word;
  150. }
  151. #boardView .body table tfoot tr td {
  152. text-align: center;
  153. }
  154. #boardView .body table tfoot tr td button {
  155. margin: 0 2px 0 2px;
  156. }
  157. #boardView .body table tfoot tr:last-child td {
  158. text-align: left;
  159. padding: 10px 18px 18px 18px;
  160. }
  161. #boardView .foot {
  162. -webkit-box-sizing: content-box;
  163. box-sizing: content-box;
  164. }
  165. #boardView .foot table {
  166. border: 1px solid #333;
  167. margin-bottom: 0;
  168. }
  169. #boardView .foot table tr th, #boardView .foot table tr td {
  170. text-align: initial;
  171. vertical-align: middle;
  172. }
  173. #boardView .foot table thead tr th {
  174. background: transparent;
  175. border-bottom: 1px solid #333;
  176. }
  177. #boardView .foot table thead tr th h5 {
  178. font-size: 16px;
  179. font-weight: normal;
  180. margin-bottom: 0;
  181. padding: 6px 12px;
  182. }
  183. #boardView .foot table tbody tr td {
  184. border-top: 0;
  185. }