main.css 4.6 KB

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