first commit 2
This commit is contained in:
@@ -0,0 +1,168 @@
|
||||
/* Trend02 Header Style - Bold & Modern */
|
||||
|
||||
#site-header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
background-color: #1a1a1a; /* 어두운 배경 */
|
||||
border-bottom: 1px solid #333;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.header-inner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 100%;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.header-logo img {
|
||||
height: 30px;
|
||||
width: auto;
|
||||
filter: invert(1); /* 로고를 흰색으로 반전 (필요시) */
|
||||
}
|
||||
|
||||
.header-gnb ul {
|
||||
display: flex;
|
||||
gap: 40px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.header-gnb a {
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
font-weight: 700;
|
||||
font-size: 1.1rem;
|
||||
text-transform: uppercase;
|
||||
transition: color 0.3s;
|
||||
}
|
||||
|
||||
.header-gnb a:hover {
|
||||
color: #ffeb3b; /* 강조 색상 */
|
||||
}
|
||||
|
||||
.header-utils ul {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.header-utils a {
|
||||
text-decoration: none;
|
||||
color: #ccc;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.header-utils a:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* 모바일 메뉴 */
|
||||
.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: 30px;
|
||||
height: 25px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.mobile-menu-trigger span {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 3px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.mobile-menu-panel {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0; /* 왼쪽에서 나옴 */
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #1a1a1a;
|
||||
color: #fff;
|
||||
transform: translateX(-100%);
|
||||
transition: transform 0.4s ease;
|
||||
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: 30px;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mobile-gnb a {
|
||||
font-size: 2rem;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
font-weight: 900;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.mobile-utils {
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
.mobile-utils ul {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.mobile-utils a {
|
||||
color: #aaa;
|
||||
text-decoration: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user