Files
Aberwyn/Aberwyn/wwwroot/css/Welcome.css
Elias Jansson 8ebbb803e8
All checks were successful
continuous-integration/drone/push Build is passing
Meal rating and some fixes to meals
2025-07-07 15:22:12 +02:00

195 lines
3.4 KiB
CSS

.welcome-section.light-mode {
display: flex;
justify-content: center;
align-items: center;
min-height: 90vh;
text-align: center;
padding: 0 20px;
background: linear-gradient(to bottom right, #f9fafb, #e2e8f0);
animation: fadeIn 0.6s ease-in;
}
*, *::before, *::after {
box-sizing: border-box;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.welcome-content {
max-width: 700px;
color: #1e293b;
font-family: 'Segoe UI', sans-serif;
}
.welcome-title {
font-size: 3rem;
font-weight: 700;
margin-bottom: 10px;
color: #1e293b;
}
.highlight {
color: #eab308;
}
.welcome-subtitle {
font-size: 1.35rem;
color: #334155;
margin-bottom: 28px;
}
.meal-line {
margin-bottom: 0rem;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}
.meal-line p {
font-size: 1rem;
margin-bottom: 0.5rem;
}
.meal-line a {
color: #007d36;
text-decoration: none;
font-weight: 500;
}
.meal-line a:hover {
text-decoration: underline;
}
.meal-large-thumb-container {
margin-top: 0rem;
width: 100%;
max-width: 300px;
height: 100px;
overflow: hidden;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.meal-large-thumb {
width: 100%;
max-width: 300px;
height: 160px;
object-fit: cover;
object-position: center%;
display: block;
border-radius: 8px;
margin-top: 0rem;
}
.no-menu {
font-size: 1.1rem;
color: #64748b;
margin-bottom: 24px;
}
.nav-button {
background: #3b82f6;
color: white;
text-decoration: none;
padding: 12px 26px;
border-radius: 10px;
font-size: 1rem;
font-weight: 600;
display: inline-block;
margin-top: 24px;
transition: background 0.2s ease, transform 0.2s ease;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.nav-button:hover {
background: #2563eb;
transform: translateY(-2px);
}
.thumb-button {
border: none;
background: none;
padding: 0;
cursor: pointer;
}
.meal-line {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 10px;
}
.meal-thumb {
width: 48px;
height: 48px;
object-fit: cover;
border-radius: 6px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.lightbox-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.8);
display: flex;
align-items: center;
justify-content: center;
z-index: 10000;
padding: 20px;
}
.lightbox-content {
position: relative;
max-width: 90%;
max-height: 90%;
display: flex;
flex-direction: column;
align-items: center;
}
.lightbox-image {
max-width: 100%;
max-height: 80vh;
border-radius: 8px;
box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
.lightbox-caption {
color: white;
margin-top: 10px;
font-size: 16px;
text-align: center;
}
.close-lightbox {
position: absolute;
top: -10px;
right: -10px;
background: #fff;
color: #333;
border: none;
border-radius: 50%;
font-size: 20px;
width: 32px;
height: 32px;
cursor: pointer;
box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.no-scroll {
overflow: hidden;
}