2
0

main.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  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. a:hover {
  74. color: cornflowerblue;
  75. }
  76. #not_thing, .opennamu_not_exist_link {
  77. color: red;
  78. }
  79. #not_thing:hover, .opennamu_not_exist_link:hover {
  80. color: darkred;
  81. }
  82. .opennamu_same_link {
  83. font-weight: bold;
  84. }
  85. #inside, #out_link, .opennamu_link_out, .opennamu_link_inter {
  86. color: green;
  87. }
  88. #inside:hover, #out_link:hover, .opennamu_link_out:hover, .opennamu_link_inter:hover {
  89. color: darkgreen;
  90. }
  91. #out_link::before, .opennamu_link_out::before {
  92. content: '🅴';
  93. font-weight: lighter;
  94. background: transparent;
  95. }
  96. #include_link {
  97. display: none;
  98. }
  99. /* - toc */
  100. #toc, .opennamu_TOC {
  101. border: 1px solid gainsboro;
  102. padding: 20px;
  103. width: fit-content;
  104. width: -moz-fit-content;
  105. display: inline-block;
  106. clear: both;
  107. margin-top: 10px;
  108. }
  109. #toc_title, .opennamu_TOC_title {
  110. font-size: 1.2rem;
  111. }
  112. /* - category */
  113. .opennamu_category {
  114. border: 1px solid gainsboro;
  115. padding: 10px;
  116. }
  117. .opennamu_category_blur {
  118. filter: blur(5px);
  119. }
  120. .opennamu_category_blur:hover {
  121. filter: none;
  122. }
  123. #cate {
  124. margin-top: 20px;
  125. }
  126. .hidden_link {
  127. filter: blur(3px);
  128. }
  129. .hidden_link:hover {
  130. filter: none;
  131. }
  132. /* - footnote */
  133. .opennamu_footnote {
  134. border-top: 1px solid gainsboro;
  135. padding-top: 10px;
  136. margin-top: 10px;
  137. }
  138. #footnote_data {
  139. border-top: 1px solid gainsboro;
  140. padding-top: 10px;
  141. }
  142. #cate, pre, #redirect {
  143. border: 1px solid gainsboro;
  144. padding: 10px;
  145. }
  146. pre {
  147. white-space: pre-wrap;
  148. }
  149. @media (max-width: 768px) {
  150. table {
  151. min-width: 100%;
  152. }
  153. .table_safe {
  154. min-width: 100%;
  155. }
  156. }
  157. .content {
  158. height: 500px;
  159. }
  160. .spead_footnote {
  161. color: #555;
  162. background-color: #efefef;
  163. border: 1px solid #cecece;
  164. }
  165. hr {
  166. border: 0;
  167. border-top: 1px solid gainsboro;
  168. }
  169. .render_content_load, .render_content, .opennamu_render_complete {
  170. white-space: pre-wrap;
  171. line-break: anywhere;
  172. display: inline;
  173. }
  174. blockquote {
  175. padding: 15px 40px 15px 15px;
  176. margin: 15px 0 0;
  177. display: table;
  178. border: 2px solid #ccc;
  179. border-left: 5px solid black;
  180. background-image: url('/views/main_css/file/quote.png');
  181. background-position: calc(100% - 10px) 10px;
  182. background-repeat: no-repeat;
  183. background-size: 25px;
  184. }
  185. /* 취소선 */
  186. s, strike, del {
  187. color: gray;
  188. }
  189. s:hover, strike:hover, del:hover {
  190. color: gray;
  191. background-color: gainsboro;
  192. text-decoration: none;
  193. }
  194. /* 최근 변경 관련 테이블 */
  195. #main_table_set {
  196. width: 100%;
  197. text-align: center;
  198. }
  199. #main_table_width {
  200. width: 33.3%;
  201. }
  202. #main_table_width_half {
  203. width: 50%;
  204. }
  205. #main_table_width_quarter {
  206. width: 25%;
  207. }
  208. #main_table_top_tr {
  209. background: aquamarine;
  210. }
  211. .opennamu_history_blind {
  212. background: gainsboro;
  213. }
  214. /* 기타 */
  215. .main_hr {
  216. border: none;
  217. margin-top: 8px;
  218. margin-bottom: 8px;
  219. }
  220. #admin_log_search {
  221. width: 100px;
  222. }
  223. .change_space {
  224. white-space: pre-line;
  225. }