main.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  1. body {
  2. max-width: 100%;
  3. word-break: break-all;
  4. word-wrap: break-word;
  5. margin: 0;
  6. font-family: '나눔고딕', 'Nanum Gothic', 'Noto Sans KR', 'Malgun Gothic', '맑은 고딕', sans-serif;
  7. }
  8. ul {
  9. padding: 0;
  10. padding-left: 10px;
  11. }
  12. select {
  13. padding: 5px;
  14. }
  15. hr {
  16. border: 0;
  17. border-top: 1px solid gainsboro;
  18. }
  19. button {
  20. padding: 10px;
  21. border: 2px solid gainsboro;
  22. background: white;
  23. cursor: pointer;
  24. border-radius: 10px;
  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: 20px;
  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: 90%;
  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: -5px;
  170. }
  171. .cel_in_cel {
  172. border: 2px solid gainsboro;
  173. padding: 10px;
  174. position: absolute;
  175. background: white;
  176. margin-top: 10px;
  177. border-radius: 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. border-radius: 17.5px;
  193. padding-left: 10px;
  194. background-color: gray;
  195. border: solid 1px gray;
  196. color: #fff;
  197. transition: .2s ease-in-out;
  198. outline: none;
  199. }
  200. #search_input::placeholder {
  201. color: #fff;
  202. }
  203. #search_input:hover, #search_input:focus {
  204. border-color: #ababab;
  205. background-color: #eaeaea;
  206. color: #000;
  207. transition: .2s ease-in-out;
  208. }
  209. #search_input:hover::placeholder, #search_input:focus::placeholder {
  210. color: #000;
  211. }
  212. div#pre_search {
  213. padding: 10px;
  214. border: 2px solid #4a4a4a;
  215. width: 200px;
  216. color: black;
  217. margin-top: 5px;
  218. background: white;
  219. border-radius: 10px;
  220. position: absolute;
  221. }
  222. div#pre_search a {
  223. color: dodgerblue;
  224. }
  225. #search button {
  226. padding: 0;
  227. border: none;
  228. background: transparent;
  229. color: white;
  230. }
  231. #mobile_search button {
  232. padding: 0;
  233. border: none;
  234. background: transparent;
  235. }
  236. #mobile_button_first {
  237. margin-top: 10px;
  238. }
  239. #toc {
  240. max-width: 300px;
  241. }
  242. #top a {
  243. color: white;
  244. }
  245. #top .cel_in_cel a {
  246. color: black;
  247. }
  248. a {
  249. color: dodgerblue;
  250. }
  251. #syntax {
  252. background: #f0f0f0;
  253. padding: 5px;
  254. border-radius: 10px;
  255. }
  256. pre, #toc, #cate, #redirect {
  257. border: 2px solid gainsboro;
  258. border-radius: 10px;
  259. }
  260. textarea, input {
  261. border: 2px solid gainsboro;
  262. font-family: '나눔고딕', 'Nanum Gothic', 'Noto Sans KR', 'Malgun Gothic', '맑은 고딕', sans-serif;
  263. border-radius: inherit;
  264. padding: 5px;
  265. margin-left: -5px;
  266. border-radius: 10px;
  267. }
  268. #syntax code {
  269. background: transparent;
  270. }
  271. #go_toc {
  272. display: inline-block;
  273. padding: 10px;
  274. width: 25px;
  275. }
  276. #go_top {
  277. display: inline-block;
  278. padding: 10px;
  279. width: 25px;
  280. }
  281. #go_bottom {
  282. display: inline-block;
  283. padding-left: 5px;
  284. padding-right: 5px;
  285. width: 25px;
  286. }
  287. #nav_bar {
  288. font-size: 24px;
  289. position: fixed;
  290. bottom: 0;
  291. right: 0;
  292. border: 2px solid #4a4a4a;
  293. background: #4a4a4a;
  294. text-align: center;
  295. border-radius: 10px 0px 0px 0px;
  296. }
  297. #nav_bar a {
  298. color: white;
  299. }
  300. blockquote {
  301. padding: 1em calc(2em + 25px) 1em 1em;
  302. margin: 1em 0em 0em;
  303. background: #eeeeee;
  304. border: 2px dashed #ccc;
  305. border-left: 5px solid black;
  306. }
  307. #out_link::before {
  308. content: '🅴';
  309. font-weight: lighter;
  310. background: transparent;
  311. color: green;
  312. }
  313. a:hover {
  314. text-decoration: underline;
  315. }
  316. #mobile_menu a:hover, #top a:hover {
  317. text-decoration: none;
  318. }
  319. h1#title {
  320. margin-bottom: 10px;
  321. }
  322. div#last_edit {
  323. margin-bottom: 20px;
  324. }
  325. #topic_color {
  326. color: limegreen;
  327. }
  328. #mobile_search_input {
  329. border-radius: 10px;
  330. }
  331. #top_menu_groups {
  332. display: inline-block;
  333. }
  334. @media (max-width: 600px) {
  335. #top_tool {
  336. float: none;
  337. display: inline;
  338. }
  339. #top_menu_groups {
  340. margin-left: 20px;
  341. }
  342. #search {
  343. margin-top: 10px;
  344. width: 100%;
  345. }
  346. #search_input {
  347. width: calc(100% - 60px);
  348. }
  349. }
  350. #titlt_a {
  351. color: initial;
  352. }