File size: 1,496 Bytes
f8794d4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
/* Reuse global styles; keep only minor tweaks if needed */
:host {
display: block;
}
.header-container {
display: flex;
align-items: center;
gap: 1rem;
justify-content: space-between;
padding: 0 2vw;
background-color: #009688;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
width: 100%;
position: sticky;
top: 0;
z-index: 1000;
overflow-x: clip;
}
.header-container .logo,
.header-container .home-btn,
.header-container .toggle-buttons-container {
flex: 0 0 auto;
}
.header-title {
flex: 1 1 auto;
min-width: 0;
text-align: center;
}
.header-title h1 {
font-size: 3vw;
color: #fff;
margin: 0;
line-height: 1.2;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.header-container .logo img {
max-width: 5vw;
height: auto;
background: #fff;
border-radius: 1vw;
margin: 0.5vw;
}
.home-btn img {
width: 5vw;
transition: transform 0.2s ease;
}
.home-btn img:hover {
transform: scale(1.08);
}
.logo {
display: flex;
align-items: center;
gap: 1vw;
}
.brand-link {
display: flex;
align-items: center;
gap: 0.6vw;
text-decoration: none;
}
.product-name {
color: #fff;
font-size: 2vw;
letter-spacing: 0.5px;
font-family: Amonk_Outline;
line-height: 1;
}
.brand-link:hover .product-name {
opacity: 0.9;
}
.header-title h1 {
font-family: 'Super Cartoon', cursive;
}
|