2
0

main.css 4.3 KB

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