main.css 5.7 KB

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