layout.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. @charset "UTF-8";
  2. html, body {
  3. min-width: 1024px;
  4. height: 100vh;
  5. /* iOS only */
  6. }
  7. @supports (-webkit-touch-callout: none) {
  8. html, body {
  9. height: -webkit-fill-available;
  10. }
  11. }
  12. #app {
  13. display: -webkit-box;
  14. display: -ms-flexbox;
  15. display: flex;
  16. -webkit-box-orient: vertical;
  17. -webkit-box-direction: normal;
  18. -ms-flex-direction: column;
  19. flex-direction: column;
  20. -ms-flex-wrap: nowrap;
  21. flex-wrap: nowrap;
  22. }
  23. /* 상단 */
  24. #header {
  25. position: relative;
  26. display: -webkit-box;
  27. display: -ms-flexbox;
  28. display: flex;
  29. -ms-flex-wrap: nowrap;
  30. flex-wrap: nowrap;
  31. -webkit-box-orient: horizontal;
  32. -webkit-box-direction: normal;
  33. -ms-flex-direction: row;
  34. flex-direction: row;
  35. -webkit-box-align: center;
  36. -ms-flex-align: center;
  37. align-items: center;
  38. height: 60px;
  39. min-height: 60px;
  40. background: #012a4f;
  41. border-bottom: 1px solid #444;
  42. }
  43. #header article:nth-of-type(1) {
  44. -webkit-box-flex: 1;
  45. -ms-flex-positive: 1;
  46. flex-grow: 1;
  47. text-align: left;
  48. }
  49. #header article:nth-of-type(1) a {
  50. font-size: 30px;
  51. font-family: "Open-Sans-Extrabold";
  52. color: #e8e8e8;
  53. }
  54. #header article:nth-of-type(1) a:hover, #header article:nth-of-type(1) a:focus, #header article:nth-of-type(1) a:active {
  55. color: #fff;
  56. text-decoration: none;
  57. }
  58. #header article:nth-of-type(2) {
  59. -webkit-box-flex: 0.5;
  60. -ms-flex-positive: 0.5;
  61. flex-grow: 0.5;
  62. height: 70%;
  63. }
  64. #header article:nth-of-type(2) form {
  65. position: relative;
  66. display: block;
  67. height: 100%;
  68. }
  69. #header article:nth-of-type(2) form::after {
  70. display: block;
  71. clear: both;
  72. content: "";
  73. }
  74. #header article:nth-of-type(2) form input {
  75. float: left;
  76. width: 90%;
  77. height: inherit;
  78. border-width: 1px 0 1px 1px;
  79. border-top-left-radius: 4px;
  80. border-top-right-radius: 0;
  81. border-bottom-right-radius: 0;
  82. border-bottom-left-radius: 4px;
  83. border-color: #444;
  84. padding-left: 8px;
  85. font-weight: normal;
  86. -webkit-appearance: textfield; /* Safari and Chrome */
  87. -moz-appearance: textfield; /* Firefox */
  88. appearance: textfield; /* 화살표 없애기 공통 */
  89. }
  90. #header article:nth-of-type(2) form input::-ms-clear, #header article:nth-of-type(2) form input::-ms-reveal {
  91. display: none;
  92. width: 0;
  93. height: 0;
  94. }
  95. #header article:nth-of-type(2) form input::-webkit-search-decoration, #header article:nth-of-type(2) form input::-webkit-search-cancel-button, #header article:nth-of-type(2) form input::-webkit-search-results-button, #header article:nth-of-type(2) form input::-webkit-search-results-decoration {
  96. display: none;
  97. }
  98. #header article:nth-of-type(2) form input:hover, #header article:nth-of-type(2) form input:focus, #header article:nth-of-type(2) form input:active {
  99. outline: none;
  100. }
  101. #header article:nth-of-type(2) form button {
  102. float: left;
  103. width: 10%;
  104. max-width: 35px;
  105. height: inherit;
  106. border-top-left-radius: 0;
  107. border-top-right-radius: 4px;
  108. border-bottom-right-radius: 4px;
  109. border-bottom-left-radius: 0;
  110. border-width: 1px 1px 1px 0;
  111. border-color: #444;
  112. padding: 0;
  113. cursor: pointer;
  114. background: #fff;
  115. }
  116. #header article:nth-of-type(2) form button:hover, #header article:nth-of-type(2) form button:focus, #header article:nth-of-type(2) form button:active {
  117. background: #eee;
  118. }
  119. #header article:nth-of-type(3) {
  120. -webkit-box-flex: 1;
  121. -ms-flex-positive: 1;
  122. flex-grow: 1;
  123. }
  124. #header article:nth-of-type(3) ul {
  125. -ms-flex-wrap: nowrap;
  126. flex-wrap: nowrap;
  127. -webkit-box-pack: end;
  128. -ms-flex-pack: end;
  129. justify-content: end;
  130. -webkit-box-align: center;
  131. -ms-flex-align: center;
  132. align-items: center;
  133. }
  134. #header article:nth-of-type(3) ul li {
  135. color: rgba(255, 255, 255, 0.7);
  136. }
  137. #header article:nth-of-type(3) ul li a {
  138. height: initial;
  139. }
  140. #header article:nth-of-type(3) ul li span {
  141. vertical-align: middle;
  142. }
  143. #header article:nth-of-type(3) ul li .dropdown {
  144. background: transparent;
  145. }
  146. #header article:nth-of-type(3) ul li .dropdown .dropdown-menu {
  147. background: #f1f1f1;
  148. }
  149. #header article:nth-of-type(3) ul li .dropdown .dropdown-menu .dropdown-item {
  150. color: #0f0f0f;
  151. }
  152. #aside {
  153. background: #151723;
  154. border-bottom: 1px solid #333;
  155. }
  156. #aside #nav {
  157. display: -webkit-box;
  158. display: -ms-flexbox;
  159. display: flex;
  160. -ms-flex-wrap: nowrap;
  161. flex-wrap: nowrap;
  162. -webkit-box-orient: horizontal;
  163. -webkit-box-direction: normal;
  164. -ms-flex-direction: row;
  165. flex-direction: row;
  166. -webkit-box-pack: start;
  167. -ms-flex-pack: start;
  168. justify-content: flex-start;
  169. gap: 10px;
  170. }
  171. #aside #nav > a.nav-link {
  172. padding: 10px 0;
  173. color: #bbbbbb;
  174. }
  175. #aside #nav > a.nav-link:hover, #aside #nav > a.nav-link:focus {
  176. font-weight: bold;
  177. color: #bbbbbb;
  178. }
  179. #aside #nav ul {
  180. margin-bottom: auto;
  181. }
  182. #aside #nav ul li.active a {
  183. font-weight: bold;
  184. color: #bbbbbb;
  185. }
  186. #aside #nav ul li a {
  187. line-height: 24px;
  188. color: #bbbbbb;
  189. }
  190. #aside #nav ul li a:hover, #aside #nav ul li a:focus {
  191. font-weight: bold;
  192. color: #bbbbbb;
  193. }
  194. /* 메인 */
  195. #main {
  196. position: relative;
  197. background: #0d0d0d;
  198. padding: 20px 10px 50px 10px;
  199. }
  200. footer {
  201. background: #000;
  202. text-align: center;
  203. border-top: 1px solid #3d3d3d;
  204. }
  205. footer .ad-coupang {
  206. padding: 15px 16px 0 16px;
  207. height: auto;
  208. margin-top: auto;
  209. line-height: 0;
  210. }
  211. footer .ad-coupang small {
  212. padding-top: 20px;
  213. font-size: 12px;
  214. color: #bbbbbb;
  215. line-height: 15px;
  216. margin-top: 10px;
  217. display: block;
  218. }
  219. footer address {
  220. color: #7c7c7c;
  221. padding: 8px 16px 0 16px;
  222. font-size: 13px;
  223. }
  224. .pagination {
  225. -webkit-box-pack: center;
  226. -ms-flex-pack: center;
  227. justify-content: center;
  228. padding: 0;
  229. margin: 0;
  230. }
  231. .pagination ul {
  232. margin: 0;
  233. padding: 0;
  234. }
  235. .pagination ul li a:hover, .pagination ul li a:focus, .pagination ul li a:active {
  236. text-decoration: none;
  237. }