191 lines
3.7 KiB
CSS
191 lines
3.7 KiB
CSS
/* Trend05 Header Style - Playful & Vibrant */
|
|
|
|
#site-header {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 80px;
|
|
background-color: #fff;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
|
|
z-index: 1000;
|
|
/* font-family: 'Poppins', sans-serif; */ /* 💡 [수정] 관리자 설정 폰트 사용을 위해 주석 처리 */
|
|
}
|
|
|
|
.header-inner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 100%;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.header-logo img {
|
|
height: 40px;
|
|
width: auto;
|
|
}
|
|
|
|
.header-gnb ul {
|
|
display: flex;
|
|
gap: 30px;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.header-gnb a {
|
|
text-decoration: none;
|
|
color: #333;
|
|
font-weight: 700;
|
|
font-size: 1.1rem;
|
|
padding: 8px 15px;
|
|
border-radius: 20px;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.header-gnb a:hover {
|
|
background-color: #f0f4f8;
|
|
color: #ff6b6b;
|
|
}
|
|
|
|
.header-utils ul {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.header-utils a.btn-pill {
|
|
text-decoration: none;
|
|
color: #333;
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
padding: 8px 20px;
|
|
border: 2px solid #333;
|
|
border-radius: 30px;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.header-utils a.btn-pill:hover {
|
|
background-color: #333;
|
|
color: #fff;
|
|
}
|
|
|
|
.header-utils a.cart-icon {
|
|
font-size: 1.5rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* 모바일 메뉴 */
|
|
.mobile-menu-trigger,
|
|
.mobile-menu-panel {
|
|
display: none;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.header-gnb,
|
|
.header-utils {
|
|
display: none;
|
|
}
|
|
|
|
.mobile-menu-trigger {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-around;
|
|
width: 35px;
|
|
height: 30px;
|
|
background: transparent;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
}
|
|
|
|
.mobile-menu-trigger span {
|
|
display: block;
|
|
width: 100%;
|
|
height: 4px;
|
|
background-color: #333;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.mobile-menu-trigger span:nth-child(2) {
|
|
width: 70%;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.mobile-menu-panel {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #ff6b6b; /* 강렬한 배경색 */
|
|
color: #fff;
|
|
transform: translateX(100%);
|
|
transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* 통통 튀는 애니메이션 */
|
|
padding: 40px;
|
|
z-index: 1100;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.mobile-menu-panel.active {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.mobile-menu-header {
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 20px;
|
|
}
|
|
|
|
.mobile-menu-close {
|
|
font-size: 3rem;
|
|
color: #fff;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mobile-gnb ul {
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
padding: 0;
|
|
list-style: none;
|
|
text-align: center;
|
|
}
|
|
|
|
.mobile-gnb a {
|
|
font-size: 2.5rem;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
font-weight: 900;
|
|
text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.mobile-utils {
|
|
margin-top: 50px;
|
|
}
|
|
|
|
.mobile-utils ul {
|
|
display: flex;
|
|
gap: 20px;
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.mobile-utils a {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
font-size: 1.2rem;
|
|
font-weight: 700;
|
|
background-color: rgba(255,255,255,0.2);
|
|
padding: 10px 20px;
|
|
border-radius: 30px;
|
|
}
|
|
}
|