main.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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: 200px;
  179. }
  180. #top_tool_mobile {
  181. float: right;
  182. }
  183. #mobile_menu {
  184. width: 200px;
  185. height: 100%;
  186. position: fixed;
  187. top: 0;
  188. right: 0;
  189. background: white;
  190. border-left: 2px solid gainsboro;
  191. }
  192. #mobile_menu_main {
  193. width: 90%;
  194. margin: auto;
  195. margin-top: 5%;
  196. }
  197. #close_top {
  198. float: right;
  199. margin-right: 10px;
  200. }
  201. #toc {
  202. max-width: 300px;
  203. }
  204. #top a {
  205. color: black;
  206. }
  207. a {
  208. color: dodgerblue;
  209. }
  210. #syntax {
  211. background: #f0f0f0;
  212. padding: 5px;
  213. }
  214. pre {
  215. border: 2px solid gainsboro;
  216. }
  217. textarea {
  218. border: 2px solid gainsboro;
  219. font-family: '나눔고딕', 'nanumgothic', "Nanum Gothic","KoPub Dotum","Malgun Gothic","맑은 고딕",sans-serif;
  220. padding: 5px;
  221. }
  222. input {
  223. border: 2px solid gainsboro;
  224. font-family: '나눔고딕', 'nanumgothic', "Nanum Gothic","KoPub Dotum","Malgun Gothic","맑은 고딕",sans-serif;
  225. }
  226. #toc {
  227. border: 2px solid gainsboro;
  228. }
  229. #cate {
  230. border: 2px solid gainsboro;
  231. }