main.css 5.9 KB

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