- **Added component-specific styles**: Introduced scoped CSS files for `Hero`, `Header`, `Drinks`, `Footer`, and `Welcome` components. - **Expanded functionality**: Added `Drinks` section with a new layout and stylized elements. - **Assets fix**: Replaced asset links with correct paths, ensuring consistency for images and files (e.g., `Welcome.png`, `Menu.pdf`). - **Reorganized header and footer**: Modernized `Header` layout with a fixed navbar, added utility spacer, and redesigned footer to include additional details. - **Integrated Docker and CI/CD**: Added `Dockerfile`, `fly.toml`, and `.woodpecker.yml` for multi-environment deployment. - **Improved homepage**: Incorporated `Drinks` component and updated styles for cohesive design. - **CSS cleanup**: Removed redundant global styles from `index.css` and migrated them to appropriate scoped styles. Complete revamp to provide modular and deployable updates for long-term scalability.
115 lines
1.9 KiB
CSS
115 lines
1.9 KiB
CSS
/* === Header & Nav === */
|
|
.header {
|
|
background-color: #0e0c0c;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 1rem 2rem;
|
|
border-bottom: 1px solid #444;
|
|
}
|
|
|
|
.nav-main {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-right: 377px;
|
|
}
|
|
|
|
.nav-main a,
|
|
.dropdbtn {
|
|
margin: 0 1rem;
|
|
color: white;
|
|
text-decoration: none;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.nav-main a:hover,
|
|
.dropdbtn:hover {
|
|
color: #ffa500;
|
|
}
|
|
|
|
/* Dropdown für Home */
|
|
.dropdown {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.dropdown-content {
|
|
display: none;
|
|
position: absolute;
|
|
background-color: #0e0c0c;
|
|
min-width: 160px;
|
|
z-index: 1;
|
|
border: 1px solid #444;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.dropdown-content a {
|
|
color: #f5f5f5;
|
|
padding: 0.5rem 1rem;
|
|
text-decoration: none;
|
|
display: block;
|
|
}
|
|
|
|
.dropdown-content a:hover {
|
|
background-color: #1f1a1a;
|
|
color: #ffa500;
|
|
}
|
|
|
|
.dropdown:hover .dropdown-content {
|
|
display: block;
|
|
}
|
|
|
|
.hero {
|
|
position: relative;
|
|
height: 70vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.hero-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
text-align: center;
|
|
z-index: 1;
|
|
}
|
|
|
|
.hero-content h1 {
|
|
font-size: 4rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.hero-content p {
|
|
margin: 0.5rem 0 1rem 0;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.button {
|
|
margin-top: 2rem;
|
|
padding: 0.8rem 2rem;
|
|
background: linear-gradient(45deg, #ffa500, #ff7f00);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 30px;
|
|
font-size: 1rem;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
.button:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
|
|
} |