main.css 5.4 KB

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