main.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. body {
  2. margin: 0;
  3. }
  4. html {
  5. font-family: "나눔바른고딕", "나눔고딕", "맑은고딕", "Sans-Serif";
  6. background: #eee;
  7. }
  8. h1, h2, h3, h4, h5, h6 {
  9. border-bottom: 1px solid gainsboro;
  10. padding-bottom: 10px;
  11. }
  12. h1.blank, h2.blank, h3.blank, h4.blank, h5.blank, h6.blank {
  13. border-bottom: none;
  14. padding-bottom: 0px;
  15. }
  16. header#main {
  17. border-bottom: 0;
  18. line-height: 50px;
  19. padding-left: 20px;
  20. padding-right: 20px;
  21. background-color: #99ddff;
  22. }
  23. header#main a {
  24. color: black;
  25. }
  26. header#main span#right {
  27. float: right;
  28. }
  29. header#main form.not_mobile input.search {
  30. display: inline-block;
  31. width: 200px;
  32. }
  33. header#main form.not_mobile {
  34. display: inline-block;
  35. }
  36. header a#logo {
  37. height: 52px;
  38. display: inline-block;
  39. padding-left: 20px;
  40. padding-right: 20px;
  41. margin-left: -20px;
  42. }
  43. header a#logo:hover {
  44. background-color: #95c3df;
  45. }
  46. .top_cel {
  47. display: inline-block;
  48. }
  49. .top_cel a {
  50. display: inline-block;
  51. height: 52px;
  52. padding-left: 10px;
  53. padding-right: 10px;
  54. }
  55. .top_cel a:hover {
  56. background-color: #95c3df;
  57. }
  58. .top_cel_in {
  59. position: absolute;
  60. background: #efd8f7;
  61. line-height: initial;
  62. z-index: 1;
  63. }
  64. .top_cel_in a {
  65. padding: 10px;
  66. display: block;
  67. height: inherit;
  68. padding-top: 10px;
  69. padding-bottom: 10px;
  70. }
  71. .top_cel_in a:hover {
  72. background-color: #e3baf1;
  73. }
  74. div#menu {
  75. margin-top: 10px;
  76. margin-left: 6px;
  77. }
  78. .menu_item_link {
  79. border: 0;
  80. background-color: white;
  81. padding: 10px;
  82. display: inline-block;
  83. margin-left: -6px;
  84. }
  85. .menu_item_link:hover {
  86. background-color: #eee;
  87. }
  88. input.search {
  89. height: 35px;
  90. vertical-align: middle;
  91. border: 0;
  92. padding: 10px;
  93. }
  94. input.only_mobile.search {
  95. width: calc(100% - 70px);
  96. display: inline-block;
  97. }
  98. input.search:focus-visible {
  99. outline: none;
  100. }
  101. button.search_button {
  102. width: 35px;
  103. height: 35px;
  104. vertical-align: middle;
  105. margin-left: -6px;
  106. border: 0;
  107. font-size: 20px;
  108. line-height: 0px;
  109. cursor: pointer;
  110. }
  111. button.search_button#goto {
  112. background-color: #ccffbb;
  113. }
  114. button.search_button#goto:hover {
  115. background-color: #99bf8c;
  116. }
  117. button.search_button#search {
  118. background-color: #ffeecc;
  119. }
  120. button.search_button#search:hover {
  121. background-color: #bcb097;
  122. }
  123. aside {
  124. width: 250px;
  125. float: left;
  126. display: block;
  127. padding-top: 10px;
  128. padding-left: 20px;
  129. padding-right: 20px;
  130. background-color: #ffeaee;
  131. height: calc(100vh - (50px + 20px));
  132. }
  133. aside button {
  134. width: 25%;
  135. }
  136. aside .side_button {
  137. border: 0;
  138. background-color: white;
  139. padding: 10px;
  140. }
  141. aside .side_button:hover {
  142. background-color: #eee;
  143. cursor: pointer;
  144. }
  145. #side_button_2 {
  146. border-left: 0;
  147. border-right: 0;
  148. }
  149. #side_button_3 {
  150. border-right: 0;
  151. }
  152. #side_content {
  153. margin-top: 20px;
  154. }
  155. section {
  156. width: calc(100% - (250px + 40px));
  157. display: inline-block;
  158. border-left: 0px solid;
  159. background-color: white;
  160. }
  161. header#section {
  162. padding-top: 11px;
  163. padding-bottom: 11px;
  164. border-bottom: 0px solid;
  165. background-color: #cceeff;
  166. }
  167. article.main {
  168. max-width: 1000px;
  169. padding-left: 20px;
  170. padding-right: 20px;
  171. margin: auto;
  172. }
  173. article.main#main_data {
  174. padding-top: 20px;
  175. min-height: 400px;
  176. }
  177. article.main#title h1 {
  178. margin: 0;
  179. }
  180. .only_mobile, header#main form.only_mobile {
  181. display: none;
  182. }
  183. @media screen and (max-width: 1000px) {
  184. aside {
  185. float: none;
  186. border-top: 0px solid;
  187. width: calc(100vw - 40px);
  188. height: 100%;
  189. padding: 20px;
  190. }
  191. section {
  192. width: 100vw;
  193. padding-bottom: 20px;
  194. border-left: 0;
  195. }
  196. .not_mobile, header#main form.not_mobile {
  197. display: none;
  198. }
  199. .only_mobile, header#main form.only_mobile {
  200. display: block;
  201. }
  202. .top_cel_in {
  203. left: 0;
  204. width: 100%;
  205. }
  206. }
  207. footer {
  208. border-top: 0px solid;
  209. margin-top: 20px;
  210. background: #eee;
  211. padding: 20px;
  212. }
  213. footer.only_mobile {
  214. margin-top: 0px;
  215. }
  216. input, textarea, button, select {
  217. border: 1px solid #aaa;
  218. padding: 10px;
  219. background-color: white;
  220. }
  221. #main_data button:hover {
  222. background-color: #eee;
  223. cursor: pointer;
  224. }