main.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. body {
  2. max-width: 100%;
  3. word-break: break-all;
  4. word-wrap: break-word;
  5. margin: 0;
  6. font-family: "나눔고딕", "nanumgothic", "Nanum Gothic", "KoPub Dotum", "Malgun Gothic", "맑은 고딕", "sans-serif";
  7. overflow: auto;
  8. }
  9. ul {
  10. padding: 0;
  11. padding-left: 10px;
  12. }
  13. input {
  14. padding: 5px;
  15. }
  16. select {
  17. padding: 5px;
  18. }
  19. hr {
  20. border: 0;
  21. border-top: 1px solid gainsboro;
  22. }
  23. button {
  24. padding: 10px;
  25. border: 2px solid gainsboro;
  26. background: white;
  27. cursor: pointer;
  28. }
  29. code {
  30. background: gainsboro;
  31. }
  32. td {
  33. border: 1px solid gainsboro;
  34. }
  35. li {
  36. margin-left: 20px;
  37. }
  38. #background {
  39. background: gainsboro;
  40. }
  41. #top {
  42. width: 100%;
  43. border-bottom: 2px solid gainsboro;
  44. background: skyblue;
  45. padding: 15px;
  46. padding-right: 0;
  47. padding-left: 0;
  48. position: relative;
  49. top: 0;
  50. left: 0;
  51. height: 20px;
  52. }
  53. #main {
  54. margin: auto;
  55. margin-top: -20px;
  56. padding: 10px;
  57. padding-bottom: 20px;
  58. background: white;
  59. border-left: 2px solid gainsboro;
  60. border-right: 2px solid gainsboro;
  61. min-height: 350px;
  62. }
  63. #bottom {
  64. width: 100%;
  65. border-top: 2px solid gainsboro;
  66. background: white;
  67. padding-bottom: 20px;
  68. }
  69. #top_main {
  70. margin: auto;
  71. }
  72. #bottom_main {
  73. margin: auto;
  74. margin-top: 20px;
  75. }
  76. #tool {
  77. float: right;
  78. border: 2px solid gainsboro;
  79. padding: 10px;
  80. }
  81. @media (min-width: 780px) and (max-width: 1350px) {
  82. #main {
  83. width: 90%;
  84. }
  85. #top_main {
  86. width: 90%;
  87. }
  88. #bottom_main {
  89. width: 90%;
  90. }
  91. .is_mobile {
  92. display: none;
  93. }
  94. }
  95. @media (min-width: 1350px) and (max-width: 1590px) {
  96. #main {
  97. width: 70%;
  98. }
  99. #top_main {
  100. width: 70%;
  101. }
  102. #bottom_main {
  103. width: 70%;
  104. }
  105. .is_mobile {
  106. display: none;
  107. }
  108. }
  109. @media (min-width: 1590px) {
  110. #main {
  111. width: 55%;
  112. }
  113. #top_main {
  114. width: 55%;
  115. }
  116. #bottom_main {
  117. width: 55%;
  118. }
  119. .is_mobile {
  120. display: none;
  121. }
  122. }
  123. @media (max-width: 780px) {
  124. #main {
  125. width: 90%;
  126. border-left: none;
  127. border-right: none;
  128. }
  129. #top_main {
  130. width: 90%;
  131. }
  132. #bottom_main {
  133. width: 90%;
  134. }
  135. .not_mobile {
  136. display: none;
  137. }
  138. #tool {
  139. float: none;
  140. width: 90%;
  141. margin-bottom: 10px;
  142. }
  143. }
  144. h1 {
  145. border-bottom: 1px solid gainsboro;
  146. padding-bottom: 10px;
  147. }
  148. h2 {
  149. border-bottom: 1px solid gainsboro;
  150. padding-bottom: 10px;
  151. }
  152. h3 {
  153. border-bottom: 1px solid gainsboro;
  154. padding-bottom: 10px;
  155. }
  156. h4 {
  157. border-bottom: 1px solid gainsboro;
  158. padding-bottom: 10px;
  159. }
  160. h5 {
  161. border-bottom: 1px solid gainsboro;
  162. padding-bottom: 10px;
  163. }
  164. h6 {
  165. border-bottom: 1px solid gainsboro;
  166. padding-bottom: 10px;
  167. }
  168. #tool_cel {
  169. display: inline-block;
  170. }
  171. #main_top {
  172. width: 100%;
  173. }
  174. #logo {
  175. display: inline-block;
  176. }
  177. #top_tool {
  178. float: right;
  179. margin-top: -5px;
  180. }
  181. .cel_in_cel {
  182. border: 2px solid gainsboro;
  183. padding: 10px;
  184. position: absolute;
  185. background: white;
  186. margin-top: 10px;
  187. width: 100px;
  188. }
  189. #top_tool_cel {
  190. display: inline-block;
  191. }
  192. #search {
  193. display: inline-block;
  194. width: 300px;
  195. }
  196. #mobile_search {
  197. width: 100%;
  198. }
  199. #search_input {
  200. width: 80%;
  201. }
  202. #search button {
  203. padding: 0;
  204. border: none;
  205. background: transparent;
  206. }
  207. #mobile_search button {
  208. padding: 0;
  209. border: none;
  210. background: transparent;
  211. }
  212. #mobile_button_first {
  213. margin-top: 10px;
  214. }
  215. #top_tool_mobile {
  216. float: right;
  217. }
  218. #mobile_menu {
  219. width: 200px;
  220. height: 100%;
  221. position: fixed;
  222. top: 0;
  223. right: 0;
  224. background: white;
  225. border-left: 2px solid gainsboro;
  226. z-index: 1;
  227. }
  228. #mobile_menu_main {
  229. width: 90%;
  230. margin: auto;
  231. margin-top: 5%;
  232. }
  233. #close_top {
  234. float: right;
  235. margin-right: 10px;
  236. }
  237. #toc {
  238. max-width: 300px;
  239. }
  240. #top a {
  241. color: black;
  242. }
  243. a {
  244. color: dodgerblue;
  245. }
  246. #syntax {
  247. background: #f0f0f0;
  248. padding: 5px;
  249. }
  250. pre {
  251. border: 2px solid gainsboro;
  252. }
  253. textarea {
  254. border: 2px solid gainsboro;
  255. font-family: '나눔고딕', 'nanumgothic', "Nanum Gothic","KoPub Dotum","Malgun Gothic","맑은 고딕",sans-serif;
  256. padding: 5px;
  257. }
  258. input {
  259. border: 2px solid gainsboro;
  260. font-family: '나눔고딕', 'nanumgothic', "Nanum Gothic","KoPub Dotum","Malgun Gothic","맑은 고딕",sans-serif;
  261. }
  262. #toc {
  263. border: 2px solid gainsboro;
  264. }
  265. #cate {
  266. border: 2px solid gainsboro;
  267. }
  268. #syntax code {
  269. background: transparent;
  270. }
  271. #redirect {
  272. border: 2px solid gainsboro;
  273. }
  274. #go_toc {
  275. display: inline-block;
  276. padding: 10px;
  277. border-left: 2px solid gainsboro;
  278. width: 25px;
  279. }
  280. #go_top {
  281. display: inline-block;
  282. padding: 10px;
  283. border-right: 2px solid gainsboro;
  284. width: 25px;
  285. }
  286. #go_bottom {
  287. display: inline-block;
  288. padding-left: 5px;
  289. padding-right: 5px;
  290. width: 25px;
  291. }
  292. #nav_bar {
  293. font-size: 24px;
  294. position: fixed;
  295. bottom: 0;
  296. right: 0;
  297. border: 2px solid gainsboro;
  298. background: skyblue;
  299. text-align: center;
  300. }
  301. #nav_bar a {
  302. color: black;
  303. }