main.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438
  1. @import url(https://fonts.googleapis.com/earlyaccess/nanumgothic.css);
  2. body {
  3. max-width: 100%;
  4. word-break: break-all;
  5. word-wrap: break-word;
  6. margin: 0;
  7. font-family: "나눔고딕", "Nanum Gothic", sans-serif;
  8. font-size: 14px;
  9. }
  10. ul {
  11. padding: 0;
  12. padding-left: 10px;
  13. }
  14. select {
  15. padding: 5px;
  16. }
  17. hr {
  18. border: 0;
  19. border-top: 1px solid gainsboro;
  20. }
  21. button {
  22. padding: 10px;
  23. border: 1px solid gainsboro;
  24. background: white;
  25. cursor: pointer;
  26. }
  27. td {
  28. border: 1px solid gainsboro;
  29. }
  30. li {
  31. margin-left: 20px;
  32. }
  33. #background {
  34. background: gainsboro;
  35. }
  36. #top {
  37. width: 100%;
  38. background: #4a4a4a;
  39. padding: 15px;
  40. padding-right: 0;
  41. padding-left: 0;
  42. position: relative;
  43. top: 0;
  44. left: 0;
  45. height: auto;
  46. }
  47. #main {
  48. margin: auto;
  49. margin-top: -20px;
  50. padding: 20px;
  51. padding-bottom: 20px;
  52. background: white;
  53. min-height: 350px;
  54. }
  55. #bottom {
  56. width: 100%;
  57. background: white;
  58. padding-bottom: 20px;
  59. }
  60. #top_main {
  61. margin: auto;
  62. }
  63. #bottom_main {
  64. margin: auto;
  65. padding-top: 20px;
  66. }
  67. #tool {
  68. float: right;
  69. border: none;
  70. }
  71. @media (min-width: 780px) and (max-width: 1350px) {
  72. #main {
  73. width: 90%;
  74. }
  75. #top_main {
  76. width: 90%;
  77. }
  78. #bottom_main {
  79. width: 90%;
  80. }
  81. .is_mobile {
  82. display: none;
  83. }
  84. }
  85. @media (min-width: 1350px) and (max-width: 1590px) {
  86. #main {
  87. width: 70%;
  88. }
  89. #top_main {
  90. width: 70%;
  91. }
  92. #bottom_main {
  93. width: 70%;
  94. }
  95. .is_mobile {
  96. display: none;
  97. }
  98. }
  99. @media (min-width: 1590px) {
  100. #main {
  101. width: 55%;
  102. }
  103. #top_main {
  104. width: 55%;
  105. }
  106. #bottom_main {
  107. width: 55%;
  108. }
  109. .is_mobile {
  110. display: none;
  111. }
  112. }
  113. @media (max-width: 780px) {
  114. #main {
  115. width: 90%;
  116. border-left: none;
  117. border-right: none;
  118. }
  119. #top_main {
  120. width: 90%;
  121. }
  122. #bottom_main {
  123. width: 90%;
  124. }
  125. .not_mobile {
  126. display: none;
  127. }
  128. #tool {
  129. float: none;
  130. width: 90%;
  131. margin-bottom: 10px;
  132. }
  133. }
  134. h1 {
  135. border-bottom: 1px solid gainsboro;
  136. padding-bottom: 10px;
  137. }
  138. h2 {
  139. border-bottom: 1px solid gainsboro;
  140. padding-bottom: 10px;
  141. }
  142. h3 {
  143. border-bottom: 1px solid gainsboro;
  144. padding-bottom: 10px;
  145. }
  146. h4 {
  147. border-bottom: 1px solid gainsboro;
  148. padding-bottom: 10px;
  149. }
  150. h5 {
  151. border-bottom: 1px solid gainsboro;
  152. padding-bottom: 10px;
  153. }
  154. h6 {
  155. border-bottom: 1px solid gainsboro;
  156. padding-bottom: 10px;
  157. }
  158. #tool_cel {
  159. display: inline-block;
  160. }
  161. #main_top {
  162. width: 100%;
  163. }
  164. #logo {
  165. display: inline-block;
  166. }
  167. #top_tool {
  168. float: right;
  169. color: white;
  170. margin-top: -9px;
  171. }
  172. .cel_in_cel {
  173. border: 1px solid gainsboro;
  174. padding: 10px;
  175. position: absolute;
  176. background: white;
  177. margin-top: 10px;
  178. }
  179. #top_tool_cel {
  180. display: inline-block;
  181. }
  182. #search {
  183. display: inline-block;
  184. width: 300px;
  185. }
  186. #mobile_search {
  187. width: 100%;
  188. }
  189. #search_input {
  190. width: 220px;
  191. height: 35px;
  192. padding-left: 10px;
  193. background-color: gray;
  194. border: solid 1px gray;
  195. color: #fff;
  196. transition: .2s ease-in-out;
  197. outline: none;
  198. }
  199. #search_input::placeholder {
  200. color: #fff;
  201. }
  202. #search_input:hover, #search_input:focus {
  203. border-color: #ababab;
  204. background-color: #eaeaea;
  205. color: #000;
  206. transition: .2s ease-in-out;
  207. }
  208. #search_input:hover::placeholder, #search_input:focus::placeholder {
  209. color: #000;
  210. }
  211. div#pre_search {
  212. padding: 10px;
  213. border: 1px solid #4a4a4a;
  214. width: 200px;
  215. color: black;
  216. margin-top: 5px;
  217. background: white;
  218. position: absolute;
  219. }
  220. div#pre_search a {
  221. color: dodgerblue;
  222. }
  223. #search button {
  224. padding: 0;
  225. border: none;
  226. background: transparent;
  227. color: white;
  228. }
  229. #mobile_search button {
  230. padding: 0;
  231. border: none;
  232. background: transparent;
  233. }
  234. #mobile_button_first {
  235. margin-top: 10px;
  236. }
  237. #toc {
  238. max-width: 300px;
  239. }
  240. #top a {
  241. color: white;
  242. }
  243. #top .cel_in_cel a {
  244. color: black;
  245. }
  246. a {
  247. color: dodgerblue;
  248. }
  249. #syntax {
  250. background: #f0f0f0;
  251. padding: 5px;
  252. }
  253. pre, #toc, #cate, #redirect {
  254. border: 1px solid gainsboro;
  255. }
  256. textarea, input {
  257. border: 1px solid gainsboro;
  258. font-family: '나눔고딕', 'Nanum Gothic', 'Noto Sans KR', 'Malgun Gothic', '맑은 고딕', sans-serif;
  259. padding: 5px;
  260. margin-left: -5px;
  261. }
  262. #syntax code {
  263. background: transparent;
  264. }
  265. #go_toc {
  266. display: inline-block;
  267. padding: 10px;
  268. width: 25px;
  269. }
  270. #go_top {
  271. display: inline-block;
  272. padding: 10px;
  273. width: 25px;
  274. }
  275. #go_bottom {
  276. display: inline-block;
  277. padding-left: 5px;
  278. padding-right: 5px;
  279. width: 25px;
  280. }
  281. #nav_bar {
  282. z-index: 100;
  283. font-size: 24px;
  284. position: fixed;
  285. bottom: 0;
  286. right: 0;
  287. border: 1px solid #4a4a4a;
  288. background: #4a4a4a;
  289. text-align: center;
  290. }
  291. #nav_bar a {
  292. color: white;
  293. }
  294. blockquote {
  295. padding: 1em calc(2em + 25px) 1em 1em;
  296. margin: 1em 0em 0em;
  297. background: #eeeeee;
  298. border: 1px dashed #ccc;
  299. border-left: 5px solid black;
  300. }
  301. #out_link::before {
  302. content: '🅴';
  303. font-weight: lighter;
  304. background: transparent;
  305. color: green;
  306. }
  307. a:hover {
  308. text-decoration: underline;
  309. }
  310. #mobile_menu a:hover, #top a:hover {
  311. text-decoration: none;
  312. }
  313. h1#title {
  314. margin-bottom: 10px;
  315. }
  316. div#last_edit {
  317. margin-bottom: 20px;
  318. }
  319. #topic_color {
  320. color: limegreen;
  321. }
  322. #top_menu_groups {
  323. display: inline-block;
  324. }
  325. @media (max-width: 600px) {
  326. #top_tool {
  327. float: none;
  328. display: inline;
  329. }
  330. #top_menu_groups {
  331. margin-left: 20px;
  332. }
  333. #search {
  334. margin-top: 10px;
  335. width: 100%;
  336. }
  337. #search_input {
  338. width: calc(100% - 60px);
  339. }
  340. }
  341. #titlt_a {
  342. color: initial;
  343. }
  344. button#save {
  345. background: #c6ffc6;
  346. }
  347. div#top_tool_cel a:hover, #logo a:hover, #search button:hover, div#nav_bar a:hover {
  348. color: #aaa;
  349. }
  350. div#main {
  351. border-left: 1px solid #aaa;
  352. border-right: 1px solid #aaa;
  353. }
  354. #bottom {
  355. border-top: 1px solid #aaa;
  356. }