| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271 |
- html, body {
- min-width: 1024px;
- height: 100vh;
- /* iOS only */
- @supports (-webkit-touch-callout: none) {
- height: -webkit-fill-available;
- }
- }
- #app {
- display: flex;
- flex-direction: column;
- flex-wrap: nowrap;
- }
- /* 상단 */
- #header {
- position: relative;
- display: flex;
- flex-wrap: nowrap;
- flex-direction: row;
- align-items: center;
- height: 60px;
- min-height: 60px;
- background: #012a4f;
- border-bottom: 1px solid #444;
- article {
- // 로고
- &:nth-of-type(1) {
- flex-grow: 1;
- text-align: left;
- a {
- font-size: 30px;
- font-family: 'Open-Sans-Extrabold';
- color: #e8e8e8;
- &:hover,
- &:focus,
- &:active {
- color: #fff;
- text-decoration: none;
- }
- }
- }
- // 검색
- &:nth-of-type(2) {
- flex-grow: 0.5;
- height: 70%;
- form {
- position: relative;
- display: block;
- height: 100%;
- &::after {
- display: block;
- clear: both;
- content: "";
- }
- input {
- float: left;
- width: 90%;
- height: inherit;
- border-width: 1px 0 1px 1px;
- border-top-left-radius: 4px;
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 4px;
- border-color: #444;
- padding-left: 8px;
- font-weight: normal;
- -webkit-appearance: textfield; /* Safari and Chrome */
- -moz-appearance: textfield; /* Firefox */
- appearance: textfield; /* 화살표 없애기 공통 */
- // X 버튼 삭제
- &::-ms-clear,
- &::-ms-reveal{
- display: none;
- width: 0;
- height: 0;
- }
- &::-webkit-search-decoration,
- &::-webkit-search-cancel-button,
- &::-webkit-search-results-button,
- &::-webkit-search-results-decoration{
- display:none;
- }
- &:hover,
- &:focus,
- &:active {
- outline: none;
- }
- }
- button {
- float: left;
- width: 10%;
- max-width: 35px;
- height: inherit;
- border-top-left-radius: 0;
- border-top-right-radius: 4px;
- border-bottom-right-radius: 4px;
- border-bottom-left-radius: 0;
- border-width: 1px 1px 1px 0;
- border-color: #444;
- padding: 0;
- cursor: pointer;
- background: #fff;
- &:hover,
- &:focus,
- &:active {
- background: #eee;
- }
- }
- }
- }
- // 로그인, 회원가입, 내 정보
- &:nth-of-type(3) {
- flex-grow: 1;
- & ul {
- flex-wrap: nowrap;
- justify-content: end;
- align-items: center;
- & li {
- color: rgba(255, 255, 255, 0.7);
- a {
- height: initial;
- }
- span {
- vertical-align: middle;
- }
- // dropdown
- .dropdown {
- background: transparent;;
- .dropdown-menu {
- background: #f1f1f1;
- .dropdown-item {
- color: #0f0f0f;
- }
- }
- }
- }
- }
- }
- }
- }
- // 메뉴
- #aside {
- background: #151723;
- border-bottom: 1px solid #333;
- #nav {
- display: flex;
- flex-wrap: nowrap;
- flex-direction: row;
- justify-content: flex-start;
- gap: 10px;
- > a.nav-link {
- padding: 10px 0;
- color: #bbbbbb;
- &:hover,
- &:focus {
- font-weight: bold;
- color: #bbbbbb;
- }
- }
- ul {
- margin-bottom: auto;
- li {
- &.active {
- a {
- font-weight: bold;
- color: #bbbbbb;
- }
- }
- a {
- line-height: 24px;
- color: #bbbbbb;
- &:hover,
- &:focus {
- font-weight: bold;
- color: #bbbbbb;
- }
- }
- }
- }
- }
- }
- /* 메인 */
- #main {
- position: relative;
- background: #0d0d0d;
- padding: 20px 10px 50px 10px;
- }
- footer {
- background: #000;
- text-align: center;
- border-top: 1px solid #3d3d3d;
- // 쿠팡 광고
- .ad-coupang {
- padding: 15px 16px 0 16px;
- height: auto;
- margin-top: auto;
- line-height: 0;
- small {
- padding-top: 20px;
- font-size: 12px;
- color: #bbbbbb;
- line-height: 15px;
- margin-top: 10px;
- display: block;
- }
- }
- // 하단
- address {
- color: #7c7c7c;
- padding: 8px 16px 0 16px;
- font-size: 13px;
- }
- }
- // 페이지네이션
- .pagination {
- justify-content: center;
- padding: 0;
- margin: 0;
- ul {
- margin: 0;
- padding: 0;
- li {
- a {
- &:hover,
- &:focus,
- &:active {
- text-decoration: none;
- }
- }
- }
- }
- }
|