main.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  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: 1px solid gainsboro;
  25. padding: 5px 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. /* 위키 내용 관련 */
  93. #toc, .opennamu_TOC {
  94. border: 1px solid gainsboro;
  95. padding: 20px;
  96. width: fit-content;
  97. width: -moz-fit-content;
  98. clear: both;
  99. margin-top: 10px;
  100. }
  101. #cate, pre, #redirect {
  102. border: 1px solid gainsboro;
  103. padding: 10px;
  104. }
  105. #cate {
  106. margin-top: 20px;
  107. }
  108. pre {
  109. white-space: pre-wrap;
  110. }
  111. #toc_title, .opennamu_TOC_title {
  112. font-size: 1.2rem;
  113. }
  114. @media (max-width: 768px) {
  115. table {
  116. min-width: 100%;
  117. }
  118. .table_safe {
  119. min-width: 100%;
  120. }
  121. }
  122. .content {
  123. height: 500px;
  124. }
  125. .spead_footnote {
  126. color: #555;
  127. background-color: #efefef;
  128. border: 1px solid #cecece;
  129. }
  130. #footnote_data {
  131. border-top: 1px solid gainsboro;
  132. padding-top: 10px;
  133. }
  134. hr {
  135. border: 0;
  136. border-top: 1px solid gainsboro;
  137. }
  138. .render_content_load, .render_content {
  139. white-space: pre-wrap;
  140. line-break: anywhere;
  141. }
  142. blockquote {
  143. padding: 15px 40px 15px 15px;
  144. margin: 15px 0 0;
  145. display: table;
  146. border: 2px solid #ccc;
  147. border-left: 5px solid black;
  148. background-image: url('/views/main_css/file/quote.png');
  149. background-position: calc(100% - 10px) 10px;
  150. background-repeat: no-repeat;
  151. background-size: 25px;
  152. }
  153. /* 취소선 */
  154. s, strike, del {
  155. color: gray;
  156. }
  157. s:hover, strike:hover, del:hover {
  158. color: gray;
  159. background-color: gainsboro;
  160. text-decoration: none;
  161. }
  162. /* 최근 변경 관련 테이블 */
  163. #main_table_set {
  164. width: 100%;
  165. text-align: center;
  166. }
  167. #main_table_width {
  168. width: 33.3%;
  169. }
  170. #main_table_width_half {
  171. width: 50%;
  172. }
  173. #main_table_width_quarter {
  174. width: 25%;
  175. }
  176. #main_table_top_tr {
  177. background: aquamarine;
  178. }
  179. /* 기타 */
  180. .main_hr {
  181. border: none;
  182. margin-top: 8px;
  183. margin-bottom: 8px;
  184. }
  185. #admin_log_search {
  186. width: 100px;
  187. }
  188. .change_space {
  189. white-space: pre-line;
  190. }