main.css 4.5 KB

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