main.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  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. .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. }