2
0

main.css 4.4 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. border-width: 0.5px;
  26. padding: 8px 10px;
  27. }
  28. @supports (-webkit-text-size-adjust:none) and (not (-ms-accelerator:true))
  29. and (not (-moz-appearance:none))
  30. {
  31. td {
  32. border: 1px solid gainsboro;
  33. border-width: 1px;
  34. }
  35. }
  36. /* list */
  37. .inside_ul li {
  38. margin-left: 20px;
  39. margin-top: 5px;
  40. margin-bottom: 5px;
  41. }
  42. /* thread */
  43. .opennamu_comment {
  44. width: 100%;
  45. }
  46. .opennamu_comment_color_green {
  47. background: palegreen;
  48. }
  49. .opennamu_comment_color_blue {
  50. background: paleturquoise;
  51. }
  52. .opennamu_comment_color_red {
  53. background: pink;
  54. }
  55. .opennamu_comment_color_default {
  56. background: palegoldenrod;
  57. }
  58. .opennamu_comment_color_gray {
  59. background: gainsboro;
  60. }
  61. .opennamu_comment_blind {
  62. display: none;
  63. }
  64. .opennamu_comment_scroll {
  65. max-height: 500px;
  66. overflow: scroll;
  67. -ms-overflow-style: none;
  68. scrollbar-width: none;
  69. }
  70. .opennamu_comment_scroll::-webkit-scrollbar {
  71. display: none;
  72. }
  73. .opennamu_comment_textarea {
  74. height: 200px;
  75. }
  76. /* render */
  77. /* - link */
  78. a {
  79. color: dodgerblue;
  80. text-decoration: none;
  81. }
  82. a:hover {
  83. color: cornflowerblue;
  84. }
  85. #not_thing, .opennamu_not_exist_link {
  86. color: red;
  87. }
  88. #not_thing:hover, .opennamu_not_exist_link:hover {
  89. color: darkred;
  90. }
  91. .opennamu_same_link {
  92. font-weight: bold;
  93. }
  94. #inside, #out_link, .opennamu_link_out, .opennamu_link_inter {
  95. color: green;
  96. }
  97. #inside:hover, #out_link:hover, .opennamu_link_out:hover, .opennamu_link_inter:hover {
  98. color: darkgreen;
  99. }
  100. #out_link::before, .opennamu_link_out::before {
  101. content: '🅴';
  102. font-weight: lighter;
  103. background: transparent;
  104. }
  105. #include_link {
  106. display: none;
  107. }
  108. /* - toc */
  109. #toc, .opennamu_TOC {
  110. border: 1px solid gainsboro;
  111. padding: 20px;
  112. width: fit-content;
  113. width: -moz-fit-content;
  114. display: inline-block;
  115. clear: both;
  116. margin-top: 10px;
  117. }
  118. #toc_title, .opennamu_TOC_title {
  119. font-size: 1.2rem;
  120. }
  121. /* - category */
  122. .opennamu_category {
  123. border: 1px solid gainsboro;
  124. padding: 10px;
  125. }
  126. .opennamu_category_blur {
  127. filter: blur(5px);
  128. }
  129. .opennamu_category_blur:hover {
  130. filter: none;
  131. }
  132. #cate {
  133. margin-top: 20px;
  134. }
  135. .hidden_link {
  136. filter: blur(3px);
  137. }
  138. .hidden_link:hover {
  139. filter: none;
  140. }
  141. /* - footnote */
  142. .opennamu_footnote {
  143. border-top: 1px solid gainsboro;
  144. padding-top: 10px;
  145. margin-top: 10px;
  146. }
  147. #footnote_data {
  148. border-top: 1px solid gainsboro;
  149. padding-top: 10px;
  150. }
  151. #cate, pre, #redirect {
  152. border: 1px solid gainsboro;
  153. padding: 10px;
  154. }
  155. pre {
  156. white-space: pre-wrap;
  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. }