104 lines
2.0 KiB
CSS
104 lines
2.0 KiB
CSS
.home-nav {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
background-color: #2d3b50;
|
|
padding: 1px 0;
|
|
}
|
|
|
|
/* Inner zentriert */
|
|
.home-nav__inner {
|
|
flex: 1;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
/* List */
|
|
.home-nav__list {
|
|
width: 100%;
|
|
display: flex;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/* LI nur als Container */
|
|
.home-nav__list li {
|
|
flex: 1;
|
|
position: relative;
|
|
}
|
|
|
|
/* =============================== */
|
|
/* HOME CATEGORY BUTTON */
|
|
/* =============================== */
|
|
|
|
.home-nav__list li button[type="categorybutton"] {
|
|
width: 100%;
|
|
padding: 8px 0;
|
|
|
|
background-color: rgba(255,255,255,0.08);
|
|
color: #ffffff;
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
|
|
border: none;
|
|
border-radius: 0; /* 🔥 ECKIG */
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
/* Hover */
|
|
.home-nav__list li button[type="categorybutton"]:hover {
|
|
background-color: rgba(255,255,255,0.18);
|
|
}
|
|
|
|
/* Active */
|
|
.home-nav__list li button[type="categorybutton"]:active {
|
|
background-color: rgba(255,255,255,0.28);
|
|
}
|
|
|
|
/* Fokus */
|
|
.home-nav__list li button[type="categorybutton"]:focus-visible {
|
|
outline: none;
|
|
box-shadow: inset 0 0 0 2px rgba(255,255,255,0.5);
|
|
}
|
|
|
|
/* 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.3);
|
|
}
|
|
|
|
/* =============================== */
|
|
/* OPTIONAL: FALLS .cat-btn VERWENDET */
|
|
/* =============================== */
|
|
|
|
.cat-btn {
|
|
display: block;
|
|
padding: 8px 0;
|
|
text-align: center;
|
|
|
|
border-radius: 0; /* 🔥 ECKIG */
|
|
color: white;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
|
|
background: rgba(255,255,255,0.08);
|
|
}
|
|
|
|
.cat-btn.active {
|
|
background: rgba(255,255,255,0.25);
|
|
}
|