layout.scss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. #app {
  2. display: flex;
  3. flex-direction: column;
  4. height: 100vh;
  5. }
  6. #header {
  7. position: relative;
  8. background: #001620;
  9. border-bottom: 1px solid #2c2c2c;
  10. .navbar {
  11. .navbar-brand {
  12. color: #d2d2d2;
  13. font-size: 1.2rem;
  14. font-family: 'Open-Sans-Extrabold';
  15. font-weight: bolder;
  16. }
  17. .navbar-toggler,
  18. .navbar-toggler-icon {
  19. color: #a8aa2f;
  20. }
  21. #navbarSearch {
  22. margin-top: 7px;
  23. form {
  24. display: flex;
  25. flex-wrap: nowrap;
  26. input[type="search"] {
  27. flex-shrink: 1;
  28. }
  29. button[type="submit"] {
  30. flex-shrink: 0;
  31. flex-basis: auto;
  32. }
  33. }
  34. }
  35. }
  36. #navbarMenu {
  37. max-width: 290px;
  38. .offcanvas-header {
  39. .offcanvas-title {
  40. font-size: 1.2rem;
  41. font-family: 'Open-Sans-Extrabold';
  42. font-weight: bolder;
  43. }
  44. &:nth-of-type(2) {
  45. padding-top: 0;
  46. .dropdown {
  47. height: inherit;
  48. .dropdown-item {
  49. color: #333;
  50. &:active {
  51. background: none;
  52. }
  53. }
  54. }
  55. }
  56. }
  57. .offcanvas-body {
  58. padding-top: 0;
  59. > nav {
  60. margin-bottom: 30px;
  61. .nav {
  62. .nav-link {
  63. padding-left: 0;
  64. padding-right: 0;
  65. padding-bottom: 2px;
  66. }
  67. }
  68. }
  69. .ad-coupang {
  70. height: auto;
  71. margin-top: auto;
  72. line-height: 0;
  73. small {
  74. font-size: 11px;
  75. color: #bbbbbb;
  76. line-height: 15px;
  77. margin-top: 10px;
  78. display: block;
  79. }
  80. }
  81. table {
  82. width: 100%;
  83. caption {
  84. caption-side: top;
  85. padding: 0 0;
  86. }
  87. tr {
  88. th {
  89. text-align: left;
  90. padding: 3px 0;
  91. font-weight: inherit;
  92. }
  93. td {
  94. text-align: right;
  95. padding: 3px 0;
  96. }
  97. }
  98. }
  99. address {
  100. color: #8d8d8d;
  101. font-size: 0.7rem;
  102. line-height: 3rem;
  103. text-align: center;
  104. margin-bottom: 0;
  105. }
  106. }
  107. }
  108. }
  109. #main {
  110. flex-grow: 1;
  111. background: #000;
  112. padding: 10px 0;
  113. // 내 정보 네비
  114. .navigate {
  115. ul {
  116. white-space: nowrap;
  117. overflow-x: auto;
  118. overflow-y: hidden;
  119. flex-wrap: inherit !important;
  120. scrollbar-width: none;
  121. &::-webkit-scrollbar {
  122. display: none;
  123. }
  124. li {
  125. a.active {
  126. color: #fff;
  127. }
  128. }
  129. }
  130. }
  131. }
  132. #footer {
  133. border-top: 1px solid #2c2c2c;
  134. background: #070707;
  135. > div {
  136. ul {
  137. padding: 0;
  138. margin: 0;
  139. list-style: none;
  140. li {
  141. display: inline-block;
  142. vertical-align: middle;
  143. }
  144. @media (max-width: 576px) {
  145. & li {
  146. display: block;
  147. margin-bottom: 9px;
  148. &.divider {
  149. display: none;
  150. }
  151. }
  152. }
  153. }
  154. }
  155. a {
  156. img {
  157. width: 100%;
  158. max-width: 120px;
  159. }
  160. }
  161. address {
  162. color: #839900;
  163. font-size: 0.7rem;
  164. margin-bottom: 0;
  165. }
  166. }
  167. // 게시판 에디터 색상
  168. .mce-content-body {
  169. background: #1f1f1f;
  170. color: #c1c1c1;
  171. }
  172. div.pagination {
  173. width: 100%;
  174. > ul {
  175. width: inherit;
  176. display: flex;
  177. flex-direction: row;
  178. flex-wrap: nowrap;
  179. justify-content: space-between;
  180. > li {
  181. width: inherit;
  182. text-align: center;
  183. > a {
  184. height: 100%;
  185. padding-left: 0;
  186. padding-right: 0;
  187. }
  188. }
  189. }
  190. }