main.css 4.4 KB

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