main.css 5.9 KB

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