main.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. body {
  2. margin: 0;
  3. }
  4. html {
  5. font-family: "나눔바른고딕", "나눔고딕", "맑은고딕", "Sans-Serif";
  6. background: #eee;
  7. }
  8. header#main {
  9. border-bottom: 0;
  10. line-height: 50px;
  11. padding-left: 20px;
  12. padding-right: 20px;
  13. background-color: #99ddff;
  14. }
  15. header#main a {
  16. color: black;
  17. }
  18. header#main span#right {
  19. float: right;
  20. }
  21. header#main form.not_mobile input.search {
  22. display: inline-block;
  23. width: 200px;
  24. }
  25. header#main form.not_mobile {
  26. display: inline-block;
  27. }
  28. div#menu {
  29. margin-top: 10px;
  30. }
  31. .menu_item {
  32. border: 0;
  33. background-color: white;
  34. padding: 10px;
  35. display: inline-block;
  36. }
  37. input.search {
  38. height: 35px;
  39. vertical-align: middle;
  40. margin-top: -5px;
  41. border: 0;
  42. padding: 10px;
  43. }
  44. input.only_mobile.search {
  45. width: calc(100% - 70px);
  46. display: inline-block;
  47. }
  48. input.search:focus-visible {
  49. outline: none;
  50. }
  51. button.search_button {
  52. width: 35px;
  53. height: 35px;
  54. vertical-align: middle;
  55. margin-top: -5px;
  56. margin-left: -5px;
  57. border: 0;
  58. font-size: 20px;
  59. line-height: 0px;
  60. }
  61. button.search_button#goto {
  62. background-color: #ccffbb;
  63. }
  64. button.search_button#search {
  65. background-color: #ffeecc;
  66. }
  67. aside {
  68. width: 250px;
  69. float: left;
  70. display: inline-block;
  71. padding-top: 10px;
  72. padding-left: 20px;
  73. padding-right: 20px;
  74. background-color: #ffeaee;
  75. height: calc(100vh - (50px + 20px));
  76. }
  77. aside button {
  78. width: 25%;
  79. }
  80. aside .side_button {
  81. border: 0;
  82. background-color: white;
  83. padding: 10px;
  84. }
  85. aside .side_button:hover {
  86. background-color: #eee;
  87. }
  88. #side_button_2 {
  89. border-left: 0;
  90. border-right: 0;
  91. }
  92. #side_button_3 {
  93. border-right: 0;
  94. }
  95. #side_content {
  96. margin-top: 20px;
  97. }
  98. section {
  99. width: calc(100% - (250px + 40px));
  100. display: inline-block;
  101. border-left: 0px solid;
  102. background-color: white;
  103. }
  104. header#section {
  105. padding-top: 11px;
  106. padding-bottom: 11px;
  107. border-bottom: 0px solid;
  108. background-color: #cceeff;
  109. }
  110. article.main {
  111. max-width: 1000px;
  112. padding-left: 20px;
  113. padding-right: 20px;
  114. margin: auto;
  115. }
  116. article.main#main_data {
  117. padding-top: 20px;
  118. min-height: 400px;
  119. }
  120. article.main#title h1 {
  121. margin: 0;
  122. }
  123. .only_mobile, header#main form.only_mobile {
  124. display: none;
  125. }
  126. @media screen and (max-width: 1000px) {
  127. aside {
  128. float: none;
  129. border-top: 0px solid;
  130. width: calc(100vw - 40px);
  131. height: 100%;
  132. padding: 20px;
  133. }
  134. section {
  135. width: 100vw;
  136. padding-bottom: 20px;
  137. border-left: 0;
  138. }
  139. .not_mobile, header#main form.not_mobile {
  140. display: none;
  141. }
  142. .only_mobile, header#main form.only_mobile {
  143. display: block;
  144. }
  145. }
  146. footer {
  147. border-top: 0px solid;
  148. margin-top: 20px;
  149. background: #eee;
  150. padding: 20px;
  151. }
  152. footer.only_mobile {
  153. margin-top: 0px;
  154. }
  155. #main_data input, #main_data textarea, #main_data button, #main_data select {
  156. border: 1px solid #aaa;
  157. padding: 10px;
  158. background-color: white;
  159. }