view.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  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 #222c36;
  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: left;
  24. vertical-align: middle;
  25. word-break: break-all;
  26. }
  27. #boardView .body table thead tr th {
  28. background: #090a0b;
  29. border-bottom: 1px solid #222c36;
  30. }
  31. #boardView .body table thead tr th h5 {
  32. margin-bottom: 0;
  33. padding: 5px 0;
  34. }
  35. #boardView .body table thead tr td img {
  36. width: 100%;
  37. max-width: 82px;
  38. }
  39. #boardView .body table thead tr td strong {
  40. font-size: 0.813rem;
  41. color: #56889a;
  42. }
  43. #boardView .body table thead tr td small {
  44. font-size: 0.688rem;
  45. vertical-align: baseline;
  46. margin-left: 10px;
  47. padding-left: 10px;
  48. border-left: 1px solid #2c3946;
  49. }
  50. #boardView .body table thead tr td p {
  51. font-size: 0.75rem;
  52. margin-bottom: 0;
  53. }
  54. #boardView .body table thead tr td ul {
  55. display: inline-block;
  56. list-style: none;
  57. margin: 0;
  58. padding: 0;
  59. }
  60. #boardView .body table thead tr td ul > li {
  61. display: inline-block;
  62. }
  63. #boardView .body table thead tr td ul > li::after {
  64. display: inline-block;
  65. content: "";
  66. width: 1px;
  67. height: 11px;
  68. background: #2c3946;
  69. vertical-align: inherit;
  70. margin: 0;
  71. }
  72. #boardView .body table thead tr td ul > li span {
  73. font-size: 0.75rem;
  74. padding: 0 10px;
  75. }
  76. #boardView .body table thead tr td ul > li span var {
  77. font-style: inherit;
  78. }
  79. #boardView .body table thead tr td ul > li span i {
  80. margin-right: 5px;
  81. }
  82. #boardView .body table thead tr td ul > li:first-child span {
  83. padding-left: 0;
  84. }
  85. #boardView .body table thead tr td ul > li:last-child span {
  86. padding-right: 0;
  87. }
  88. #boardView .body table thead tr td ul > li:last-child::after {
  89. display: none;
  90. width: 0;
  91. }
  92. #boardView .body table thead tr td ol {
  93. min-width: auto;
  94. margin-left: 20px;
  95. border-radius: 0;
  96. border-color: #cfcfcf #999 #666 #999;
  97. border-width: 1px 1px 1px 0;
  98. border-style: solid;
  99. 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);
  100. -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);
  101. -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);
  102. }
  103. #boardView .body table thead tr td ol > li {
  104. line-height: initial;
  105. padding: 0.4rem 1.2rem;
  106. cursor: pointer;
  107. }
  108. #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 {
  109. background: #eaeaea;
  110. color: #000;
  111. }
  112. #boardView .body table thead tr td ol > li i {
  113. margin-right: 3px;
  114. }
  115. #boardView .body table thead tr:last-child {
  116. border-bottom: 1px solid #222c36;
  117. }
  118. #boardView .body table tbody tr td ol {
  119. margin: 0;
  120. padding: 2px 10px;
  121. list-style: none;
  122. }
  123. #boardView .body table tbody tr td ol > li {
  124. margin-bottom: 6px;
  125. }
  126. #boardView .body table tbody tr td ol > li i {
  127. vertical-align: -2px;
  128. }
  129. #boardView .body table tbody tr td ol > li:last-child {
  130. margin-bottom: 0;
  131. }
  132. #boardView .body table tbody tr td blockquote {
  133. min-height: 50px;
  134. padding: 5px;
  135. margin: 0;
  136. }
  137. #boardView .body table tbody tr td blockquote img {
  138. -o-object-fit: cover;
  139. object-fit: cover;
  140. max-width: 100%;
  141. height: auto;
  142. }
  143. #boardView .body table tbody tr td blockquote iframe {
  144. width: 100%;
  145. }
  146. @supports (-webkit-touch-callout: none) {
  147. #boardView .body table tbody tr td blockquote iframe {
  148. width: -webkit-fill-available;
  149. }
  150. }
  151. #boardView .body table tbody tr td blockquote pre[class*=language-],
  152. #boardView .body table tbody tr td blockquote code[class*=language-] {
  153. overflow: auto;
  154. white-space: break-spaces;
  155. word-break: break-word;
  156. }
  157. #boardView .body table tfoot tr td {
  158. text-align: center;
  159. }
  160. #boardView .body table tfoot tr td button {
  161. margin: 0 2px 0 2px;
  162. }
  163. #boardView .body table tfoot tr:last-child td {
  164. text-align: left;
  165. padding: 10px 18px 18px 18px;
  166. }
  167. #boardView .body nav .dropdown-menu {
  168. min-width: auto;
  169. border-radius: 0;
  170. border-color: #cfcfcf #999 #666 #999;
  171. border-width: 1px 1px 1px 0;
  172. border-style: solid;
  173. 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);
  174. -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);
  175. -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);
  176. }
  177. #boardView .body nav .dropdown-menu .dropdown-item {
  178. line-height: initial;
  179. padding: 0.4rem 1.2rem;
  180. cursor: pointer;
  181. }
  182. #boardView .body nav .dropdown-menu .dropdown-item:hover, #boardView .body nav .dropdown-menu .dropdown-item:focus, #boardView .body nav .dropdown-menu .dropdown-item:active {
  183. background: #eaeaea;
  184. color: #000;
  185. }
  186. #boardView .foot {
  187. -webkit-box-sizing: content-box;
  188. box-sizing: content-box;
  189. }
  190. #boardView .foot table {
  191. border: 1px solid #222c36;
  192. margin-bottom: 0;
  193. }
  194. #boardView .foot table tr th, #boardView .foot table tr td {
  195. text-align: initial;
  196. vertical-align: middle;
  197. word-break: break-all;
  198. }
  199. #boardView .foot table thead tr th {
  200. background: transparent;
  201. border-bottom: 1px solid #222c36;
  202. }
  203. #boardView .foot table thead tr th h5 {
  204. font-size: 0.938rem;
  205. font-weight: normal;
  206. margin-bottom: 0;
  207. padding: 5px 0;
  208. }
  209. #boardView .foot table tbody tr td {
  210. border-top: 0;
  211. }