main.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  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. padding: 10px;
  62. line-height: initial;
  63. z-index: 1;
  64. }
  65. .top_cel_in a {
  66. padding: 0px;
  67. display: block;
  68. height: inherit;
  69. padding-top: 5px;
  70. padding-bottom: 5px;
  71. }
  72. div#menu {
  73. margin-top: 10px;
  74. margin-left: 6px;
  75. }
  76. .menu_item_link {
  77. border: 0;
  78. background-color: white;
  79. padding: 10px;
  80. display: inline-block;
  81. margin-left: -6px;
  82. }
  83. .menu_item_link:hover {
  84. background-color: #eee;
  85. }
  86. input.search {
  87. height: 35px;
  88. vertical-align: middle;
  89. border: 0;
  90. padding: 10px;
  91. }
  92. input.only_mobile.search {
  93. width: calc(100% - 70px);
  94. display: inline-block;
  95. }
  96. input.search:focus-visible {
  97. outline: none;
  98. }
  99. button.search_button {
  100. width: 35px;
  101. height: 35px;
  102. vertical-align: middle;
  103. margin-left: -6px;
  104. border: 0;
  105. font-size: 20px;
  106. line-height: 0px;
  107. cursor: pointer;
  108. }
  109. button.search_button#goto {
  110. background-color: #ccffbb;
  111. }
  112. button.search_button#goto:hover {
  113. background-color: #99bf8c;
  114. }
  115. button.search_button#search {
  116. background-color: #ffeecc;
  117. }
  118. button.search_button#search:hover {
  119. background-color: #bcb097;
  120. }
  121. aside {
  122. width: 250px;
  123. float: left;
  124. display: block;
  125. padding-top: 10px;
  126. padding-left: 20px;
  127. padding-right: 20px;
  128. background-color: #ffeaee;
  129. height: calc(100vh - (50px + 20px));
  130. }
  131. aside button {
  132. width: 25%;
  133. }
  134. aside .side_button {
  135. border: 0;
  136. background-color: white;
  137. padding: 10px;
  138. }
  139. aside .side_button:hover {
  140. background-color: #eee;
  141. cursor: pointer;
  142. }
  143. #side_button_2 {
  144. border-left: 0;
  145. border-right: 0;
  146. }
  147. #side_button_3 {
  148. border-right: 0;
  149. }
  150. #side_content {
  151. margin-top: 20px;
  152. }
  153. section {
  154. width: calc(100% - (250px + 40px));
  155. display: inline-block;
  156. border-left: 0px solid;
  157. background-color: white;
  158. }
  159. header#section {
  160. padding-top: 11px;
  161. padding-bottom: 11px;
  162. border-bottom: 0px solid;
  163. background-color: #cceeff;
  164. }
  165. article.main {
  166. max-width: 1000px;
  167. padding-left: 20px;
  168. padding-right: 20px;
  169. margin: auto;
  170. }
  171. article.main#main_data {
  172. padding-top: 20px;
  173. min-height: 400px;
  174. }
  175. article.main#title h1 {
  176. margin: 0;
  177. }
  178. .only_mobile, header#main form.only_mobile {
  179. display: none;
  180. }
  181. @media screen and (max-width: 1000px) {
  182. aside {
  183. float: none;
  184. border-top: 0px solid;
  185. width: calc(100vw - 40px);
  186. height: 100%;
  187. padding: 20px;
  188. }
  189. section {
  190. width: 100vw;
  191. padding-bottom: 20px;
  192. border-left: 0;
  193. }
  194. .not_mobile, header#main form.not_mobile {
  195. display: none;
  196. }
  197. .only_mobile, header#main form.only_mobile {
  198. display: block;
  199. }
  200. }
  201. footer {
  202. border-top: 0px solid;
  203. margin-top: 20px;
  204. background: #eee;
  205. padding: 20px;
  206. }
  207. footer.only_mobile {
  208. margin-top: 0px;
  209. }
  210. #main_data input, #main_data textarea, #main_data button, #main_data select {
  211. border: 1px solid #aaa;
  212. padding: 10px;
  213. background-color: white;
  214. }
  215. #main_data button:hover {
  216. background-color: #eee;
  217. cursor: pointer;
  218. }