main.css 5.1 KB

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