81 lines
1.6 KiB
CSS
81 lines
1.6 KiB
CSS
.home-nav {
|
||
width: 100%;
|
||
display: flex;
|
||
align-items: center;
|
||
background-color: #2d3b50;
|
||
padding: 1px 0; /* nur minimal größer als Buttons */
|
||
}
|
||
|
||
/* Inner zentriert */
|
||
.home-nav__inner {
|
||
flex: 1;
|
||
width: 100%;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
}
|
||
|
||
/* List: 5 gleich große Bereiche */
|
||
.home-nav__list {
|
||
width: 100%;
|
||
display: flex;
|
||
list-style: none;
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
|
||
/* LI nur als Container – KEINE Höhe hier */
|
||
.home-nav__list li {
|
||
flex: 1;
|
||
position: relative;
|
||
}
|
||
|
||
/* =============================== */
|
||
/* HOME CATEGORY BUTTON */
|
||
/* =============================== */
|
||
|
||
.home-nav__list li button[type="categorybutton"] {
|
||
width: 100%;
|
||
padding: 8px 0; /* <-- HIER steuerst du die Höhe */
|
||
|
||
background-color: #2d3b50;
|
||
color: #ffffff;
|
||
font-weight: bold;
|
||
font-size: 0.9rem;
|
||
|
||
border: none;
|
||
cursor: pointer;
|
||
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
|
||
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
||
}
|
||
|
||
/* Hover */
|
||
.home-nav__list li button[type="categorybutton"]:hover {
|
||
background-color: #3b4f6b;
|
||
}
|
||
|
||
/* Active */
|
||
.home-nav__list li button[type="categorybutton"]:active {
|
||
background-color: #1f2a3a;
|
||
}
|
||
|
||
/* Fokus sichtbar aber clean */
|
||
.home-nav__list li button[type="categorybutton"]:focus-visible {
|
||
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
|
||
}
|
||
|
||
/* Trennstriche */
|
||
.home-nav__list li:not(:last-child)::after {
|
||
content: "";
|
||
position: absolute;
|
||
right: 0;
|
||
top: 0%;
|
||
height: 100%;
|
||
width: 2px;
|
||
background-color: rgba(255, 255, 255, 0.4);
|
||
}
|