2
0

main.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. /* 기본 전체 옵션 */
  2. body, html, video, table, iframe, input, textarea, img, hr, blockquote, pre, iframe, .table_safe {
  3. max-width: 100%;
  4. }
  5. body {
  6. word-break: break-all;
  7. overflow: auto;
  8. }
  9. /* 텍스트 필드 */
  10. textarea, input {
  11. width: 100%;
  12. }
  13. input {
  14. box-sizing: border-box;
  15. }
  16. input[type="checkbox"], input[type="radio"] {
  17. width: auto;
  18. }
  19. /* 테이블 */
  20. table {
  21. border-collapse: collapse;
  22. }
  23. td {
  24. border: 0.5px solid gainsboro;
  25. padding: 8px 10px;
  26. }
  27. /* 링크 */
  28. a {
  29. color: dodgerblue;
  30. text-decoration: none;
  31. }
  32. #not_thing {
  33. color: red;
  34. }
  35. #inside, #out_link, #out_link::before, .opennamu_link_out {
  36. color: green;
  37. }
  38. #out_link::before, .opennamu_link_out::before {
  39. content: '🅴';
  40. font-weight: lighter;
  41. background: transparent;
  42. }
  43. #include_link {
  44. display: none;
  45. }
  46. .hidden_link {
  47. filter: blur(3px);
  48. }
  49. .hidden_link:hover {
  50. filter: none;
  51. }
  52. /* 리스트 */
  53. .inside_ul li {
  54. margin-left: 20px;
  55. margin-top: 5px;
  56. margin-bottom: 5px;
  57. }
  58. /* 토론 관련 */
  59. .opennamu_comment {
  60. width: 100%;
  61. }
  62. .opennamu_comment_color_green {
  63. background: palegreen;
  64. }
  65. .opennamu_comment_color_blue {
  66. background: paleturquoise;
  67. }
  68. .opennamu_comment_color_red {
  69. background: palevioletred;
  70. }
  71. .opennamu_comment_color_default {
  72. background: palegoldenrod;
  73. }
  74. .opennamu_comment_color_gray {
  75. background: gainsboro;
  76. }
  77. .opennamu_comment_blind {
  78. display: none;
  79. }
  80. .opennamu_comment_scroll {
  81. max-height: 500px;
  82. overflow: scroll;
  83. -ms-overflow-style: none;
  84. scrollbar-width: none;
  85. }
  86. .opennamu_comment_scroll::-webkit-scrollbar {
  87. display: none;
  88. }
  89. .opennamu_comment_textarea {
  90. height: 200px;
  91. }
  92. /* render */
  93. /* - toc */
  94. #toc, .opennamu_TOC {
  95. border: 1px solid gainsboro;
  96. padding: 20px;
  97. width: fit-content;
  98. width: -moz-fit-content;
  99. clear: both;
  100. margin-top: 10px;
  101. }
  102. #toc_title, .opennamu_TOC_title {
  103. font-size: 1.2rem;
  104. }
  105. /* - category */
  106. .opennamu_category {
  107. border: 1px solid gainsboro;
  108. padding: 10px;
  109. }
  110. .opennamu_category_blur {
  111. filter: blur(5px);
  112. }
  113. .opennamu_category_blur:hover {
  114. filter: none;
  115. }
  116. #cate {
  117. margin-top: 20px;
  118. }
  119. /* - footnote */
  120. .opennamu_footnote {
  121. border-top: 1px solid gainsboro;
  122. padding-top: 10px;
  123. }
  124. #footnote_data {
  125. border-top: 1px solid gainsboro;
  126. padding-top: 10px;
  127. }
  128. #cate, pre, #redirect {
  129. border: 1px solid gainsboro;
  130. padding: 10px;
  131. }
  132. pre {
  133. white-space: pre-wrap;
  134. }
  135. @media (max-width: 768px) {
  136. table {
  137. min-width: 100%;
  138. }
  139. .table_safe {
  140. min-width: 100%;
  141. }
  142. }
  143. .content {
  144. height: 500px;
  145. }
  146. .spead_footnote {
  147. color: #555;
  148. background-color: #efefef;
  149. border: 1px solid #cecece;
  150. }
  151. hr {
  152. border: 0;
  153. border-top: 1px solid gainsboro;
  154. }
  155. .render_content_load, .render_content {
  156. white-space: pre-wrap;
  157. line-break: anywhere;
  158. }
  159. blockquote {
  160. padding: 15px 40px 15px 15px;
  161. margin: 15px 0 0;
  162. display: table;
  163. border: 2px solid #ccc;
  164. border-left: 5px solid black;
  165. background-image: url('/views/main_css/file/quote.png');
  166. background-position: calc(100% - 10px) 10px;
  167. background-repeat: no-repeat;
  168. background-size: 25px;
  169. }
  170. /* 취소선 */
  171. s, strike, del {
  172. color: gray;
  173. }
  174. s:hover, strike:hover, del:hover {
  175. color: gray;
  176. background-color: gainsboro;
  177. text-decoration: none;
  178. }
  179. /* 최근 변경 관련 테이블 */
  180. #main_table_set {
  181. width: 100%;
  182. text-align: center;
  183. }
  184. #main_table_width {
  185. width: 33.3%;
  186. }
  187. #main_table_width_half {
  188. width: 50%;
  189. }
  190. #main_table_width_quarter {
  191. width: 25%;
  192. }
  193. #main_table_top_tr {
  194. background: aquamarine;
  195. }
  196. .opennamu_history_blind {
  197. background: gainsboro;
  198. }
  199. /* 기타 */
  200. .main_hr {
  201. border: none;
  202. margin-top: 8px;
  203. margin-bottom: 8px;
  204. }
  205. #admin_log_search {
  206. width: 100px;
  207. }
  208. .change_space {
  209. white-space: pre-line;
  210. }