layout.scss 4.1 KB

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