2
0

main.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425
  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. }
  25. td {
  26. border: 1px solid gainsboro;
  27. }
  28. li {
  29. margin-left: 20px;
  30. }
  31. #background {
  32. background: gainsboro;
  33. }
  34. #top {
  35. width: 100%;
  36. background: #4a4a4a;
  37. padding: 20px;
  38. padding-right: 0;
  39. padding-left: 0;
  40. position: relative;
  41. top: 0;
  42. left: 0;
  43. height: auto;
  44. }
  45. #main {
  46. margin: auto;
  47. margin-top: -20px;
  48. padding: 20px;
  49. padding-bottom: 20px;
  50. background: white;
  51. min-height: 350px;
  52. }
  53. #bottom {
  54. width: 100%;
  55. background: white;
  56. padding-bottom: 20px;
  57. }
  58. #top_main {
  59. margin: auto;
  60. }
  61. #bottom_main {
  62. margin: auto;
  63. padding-top: 20px;
  64. }
  65. #tool {
  66. float: right;
  67. border: none;
  68. }
  69. @media (min-width: 780px) and (max-width: 1350px) {
  70. #main {
  71. width: 90%;
  72. }
  73. #top_main {
  74. width: 90%;
  75. }
  76. #bottom_main {
  77. width: 90%;
  78. }
  79. .is_mobile {
  80. display: none;
  81. }
  82. }
  83. @media (min-width: 1350px) and (max-width: 1590px) {
  84. #main {
  85. width: 70%;
  86. }
  87. #top_main {
  88. width: 70%;
  89. }
  90. #bottom_main {
  91. width: 70%;
  92. }
  93. .is_mobile {
  94. display: none;
  95. }
  96. }
  97. @media (min-width: 1590px) {
  98. #main {
  99. width: 55%;
  100. }
  101. #top_main {
  102. width: 55%;
  103. }
  104. #bottom_main {
  105. width: 55%;
  106. }
  107. .is_mobile {
  108. display: none;
  109. }
  110. }
  111. @media (max-width: 780px) {
  112. #main {
  113. width: 90%;
  114. border-left: none;
  115. border-right: none;
  116. }
  117. #top_main {
  118. width: 90%;
  119. }
  120. #bottom_main {
  121. width: 90%;
  122. }
  123. .not_mobile {
  124. display: none;
  125. }
  126. #tool {
  127. float: none;
  128. width: 90%;
  129. margin-bottom: 10px;
  130. }
  131. }
  132. h1 {
  133. border-bottom: 1px solid gainsboro;
  134. padding-bottom: 10px;
  135. }
  136. h2 {
  137. border-bottom: 1px solid gainsboro;
  138. padding-bottom: 10px;
  139. }
  140. h3 {
  141. border-bottom: 1px solid gainsboro;
  142. padding-bottom: 10px;
  143. }
  144. h4 {
  145. border-bottom: 1px solid gainsboro;
  146. padding-bottom: 10px;
  147. }
  148. h5 {
  149. border-bottom: 1px solid gainsboro;
  150. padding-bottom: 10px;
  151. }
  152. h6 {
  153. border-bottom: 1px solid gainsboro;
  154. padding-bottom: 10px;
  155. }
  156. #tool_cel {
  157. display: inline-block;
  158. }
  159. #main_top {
  160. width: 100%;
  161. }
  162. #logo {
  163. display: inline-block;
  164. }
  165. #top_tool {
  166. float: right;
  167. color: white;
  168. margin-top: -8px;
  169. }
  170. .cel_in_cel {
  171. border: 2px solid gainsboro;
  172. padding: 10px;
  173. position: absolute;
  174. background: white;
  175. margin-top: 10px;
  176. }
  177. #top_tool_cel {
  178. display: inline-block;
  179. }
  180. #search {
  181. display: inline-block;
  182. width: 300px;
  183. }
  184. #mobile_search {
  185. width: 100%;
  186. }
  187. #search_input {
  188. width: 220px;
  189. height: 35px;
  190. padding-left: 10px;
  191. background-color: gray;
  192. border: solid 1px gray;
  193. color: #fff;
  194. transition: .2s ease-in-out;
  195. outline: none;
  196. }
  197. #search_input::placeholder {
  198. color: #fff;
  199. }
  200. #search_input:hover, #search_input:focus {
  201. border-color: #ababab;
  202. background-color: #eaeaea;
  203. color: #000;
  204. transition: .2s ease-in-out;
  205. }
  206. #search_input:hover::placeholder, #search_input:focus::placeholder {
  207. color: #000;
  208. }
  209. div#pre_search {
  210. padding: 10px;
  211. border: 2px solid #4a4a4a;
  212. width: 200px;
  213. color: black;
  214. margin-top: 5px;
  215. background: white;
  216. position: absolute;
  217. }
  218. div#pre_search a {
  219. color: dodgerblue;
  220. }
  221. #search button {
  222. padding: 0;
  223. border: none;
  224. background: transparent;
  225. color: white;
  226. }
  227. #mobile_search button {
  228. padding: 0;
  229. border: none;
  230. background: transparent;
  231. }
  232. #mobile_button_first {
  233. margin-top: 10px;
  234. }
  235. #toc {
  236. max-width: 300px;
  237. }
  238. #top a {
  239. color: white;
  240. }
  241. #top .cel_in_cel a {
  242. color: black;
  243. }
  244. a {
  245. color: dodgerblue;
  246. }
  247. #syntax {
  248. background: #f0f0f0;
  249. padding: 5px;
  250. }
  251. pre, #toc, #cate, #redirect {
  252. border: 2px solid gainsboro;
  253. }
  254. textarea, input {
  255. border: 2px solid gainsboro;
  256. font-family: '나눔고딕', 'Nanum Gothic', 'Noto Sans KR', 'Malgun Gothic', '맑은 고딕', sans-serif;
  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: 2px 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: 2px 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. #mobile_search_input {
  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. }