main.css 5.3 KB

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