2
0

main.css 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  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: #4a4a4a;
  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. border-radius: 10px;
  76. }
  77. @media (min-width: 780px) and (max-width: 1350px) {
  78. #main {
  79. width: 90%;
  80. }
  81. #top_main {
  82. width: 90%;
  83. }
  84. #bottom_main {
  85. width: 90%;
  86. }
  87. .is_mobile {
  88. display: none;
  89. }
  90. }
  91. @media (min-width: 1350px) and (max-width: 1590px) {
  92. #main {
  93. width: 70%;
  94. }
  95. #top_main {
  96. width: 70%;
  97. }
  98. #bottom_main {
  99. width: 70%;
  100. }
  101. .is_mobile {
  102. display: none;
  103. }
  104. }
  105. @media (min-width: 1590px) {
  106. #main {
  107. width: 55%;
  108. }
  109. #top_main {
  110. width: 55%;
  111. }
  112. #bottom_main {
  113. width: 55%;
  114. }
  115. .is_mobile {
  116. display: none;
  117. }
  118. }
  119. @media (max-width: 780px) {
  120. #main {
  121. width: 90%;
  122. border-left: none;
  123. border-right: none;
  124. }
  125. #top_main {
  126. width: 90%;
  127. }
  128. #bottom_main {
  129. width: 90%;
  130. }
  131. .not_mobile {
  132. display: none;
  133. }
  134. #tool {
  135. float: none;
  136. width: 90%;
  137. margin-bottom: 10px;
  138. }
  139. }
  140. h1 {
  141. border-bottom: 1px solid gainsboro;
  142. padding-bottom: 10px;
  143. }
  144. h2 {
  145. border-bottom: 1px solid gainsboro;
  146. padding-bottom: 10px;
  147. }
  148. h3 {
  149. border-bottom: 1px solid gainsboro;
  150. padding-bottom: 10px;
  151. }
  152. h4 {
  153. border-bottom: 1px solid gainsboro;
  154. padding-bottom: 10px;
  155. }
  156. h5 {
  157. border-bottom: 1px solid gainsboro;
  158. padding-bottom: 10px;
  159. }
  160. h6 {
  161. border-bottom: 1px solid gainsboro;
  162. padding-bottom: 10px;
  163. }
  164. #tool_cel {
  165. display: inline-block;
  166. }
  167. #main_top {
  168. width: 100%;
  169. }
  170. #logo {
  171. display: inline-block;
  172. }
  173. #top_tool {
  174. float: right;
  175. color: white;
  176. margin-top: -5px;
  177. }
  178. .cel_in_cel {
  179. border: 2px solid gainsboro;
  180. padding: 10px;
  181. position: absolute;
  182. background: white;
  183. margin-top: 10px;
  184. border-radius: 10px;
  185. }
  186. #top_tool_cel {
  187. display: inline-block;
  188. }
  189. #search {
  190. display: inline-block;
  191. width: 300px;
  192. }
  193. #mobile_search {
  194. width: 100%;
  195. }
  196. #search_input {
  197. width: 220px;
  198. border-radius: 10px;
  199. }
  200. div#pre_search {
  201. padding: 10px;
  202. border: 2px solid #4a4a4a;
  203. width: 200px;
  204. color: black;
  205. margin-top: 5px;
  206. background: white;
  207. border-radius: 10px;
  208. position: absolute;
  209. }
  210. div#pre_search a {
  211. color: dodgerblue;
  212. }
  213. #search button {
  214. padding: 0;
  215. border: none;
  216. background: transparent;
  217. color: white;
  218. }
  219. #mobile_search button {
  220. padding: 0;
  221. border: none;
  222. background: transparent;
  223. }
  224. #mobile_button_first {
  225. margin-top: 10px;
  226. }
  227. #top_tool_mobile {
  228. float: right;
  229. }
  230. #mobile_menu {
  231. width: 200px;
  232. height: 100%;
  233. position: fixed;
  234. top: 0;
  235. right: 0;
  236. background: white;
  237. border-left: 2px solid gainsboro;
  238. z-index: 1;
  239. overflow-y: scroll;
  240. }
  241. #mobile_menu button {
  242. color: dodgerblue;
  243. }
  244. #mobile_menu_main {
  245. width: 90%;
  246. margin: auto;
  247. margin-top: 5%;
  248. }
  249. #toc {
  250. max-width: 300px;
  251. }
  252. #top a {
  253. color: white;
  254. }
  255. #top .cel_in_cel a {
  256. color: black;
  257. }
  258. a {
  259. color: dodgerblue;
  260. }
  261. #syntax {
  262. background: #f0f0f0;
  263. padding: 5px;
  264. border-radius: 10px;
  265. }
  266. pre {
  267. border: 2px solid gainsboro;
  268. border-radius: 10px;
  269. }
  270. textarea {
  271. border: 2px solid gainsboro;
  272. font-family: '나눔고딕', 'nanumgothic', "Nanum Gothic","KoPub Dotum","Malgun Gothic","맑은 고딕",sans-serif;
  273. padding: 0;
  274. }
  275. input {
  276. border: 2px solid gainsboro;
  277. font-family: '나눔고딕', 'nanumgothic', "Nanum Gothic","KoPub Dotum","Malgun Gothic","맑은 고딕",sans-serif;
  278. }
  279. #toc {
  280. border: 2px solid gainsboro;
  281. border-radius: 10px;
  282. }
  283. #cate {
  284. border: 2px solid gainsboro;
  285. border-radius: 10px;
  286. }
  287. #syntax code {
  288. background: transparent;
  289. }
  290. #redirect {
  291. border: 2px solid gainsboro;
  292. border-radius: 10px;
  293. }
  294. #go_toc {
  295. display: inline-block;
  296. padding: 10px;
  297. width: 25px;
  298. }
  299. #go_top {
  300. display: inline-block;
  301. padding: 10px;
  302. width: 25px;
  303. }
  304. #go_bottom {
  305. display: inline-block;
  306. padding-left: 5px;
  307. padding-right: 5px;
  308. width: 25px;
  309. }
  310. #nav_bar {
  311. font-size: 24px;
  312. position: fixed;
  313. bottom: 0;
  314. right: 0;
  315. border: 2px solid #4a4a4a;
  316. background: #4a4a4a;
  317. text-align: center;
  318. border-radius: 10px 0px 0px 0px;
  319. }
  320. #nav_bar a {
  321. color: white;
  322. }
  323. blockquote {
  324. padding: 1em calc(2em + 25px) 1em 1em;
  325. margin: 1em 0em 0em;
  326. background: #eeeeee;
  327. border: 2px dashed #ccc;
  328. border-left: 5px solid black;
  329. }
  330. #out_link::before {
  331. font-family: "Font Awesome 5 Free";
  332. content: "\f360";
  333. font-weight: 900;
  334. background: transparent;
  335. color: green;
  336. }
  337. a:hover {
  338. text-decoration: underline;
  339. }
  340. #mobile_menu a:hover, #top a:hover {
  341. text-decoration: none;
  342. }
  343. h1#title {
  344. margin-bottom: 10px;
  345. }
  346. div#last_edit {
  347. margin-bottom: 20px;
  348. }
  349. #topic_color {
  350. color: limegreen;
  351. }