main.css 4.0 KB

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