Update index.html for Gitea Pages
This commit is contained in:
parent
daced25fd2
commit
64f020bbec
310
index.html
310
index.html
@ -11,315 +11,7 @@
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap" rel="stylesheet" />
|
||||
<style>
|
||||
/* ========== RESET / BASE ========== */
|
||||
*, *::before, *::after { box-sizing: border-box; }
|
||||
html { scroll-behavior: smooth; }
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
font-weight: 400;
|
||||
color: #1f2937;
|
||||
background: #fff;
|
||||
line-height: 1.6;
|
||||
}
|
||||
h1, h2, h3 { margin: 0 0 12px; font-weight: 800; color: #0f172a; line-height: 1.2; }
|
||||
h2 { font-size: 2rem; }
|
||||
p { margin: 0 0 12px; }
|
||||
a { color: #FF6B35; text-decoration: none; }
|
||||
a:hover { text-decoration: underline; }
|
||||
img { max-width: 100%; display: block; }
|
||||
|
||||
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
|
||||
|
||||
:root {
|
||||
--orange: #FF6B35;
|
||||
--orange-dark: #e55522;
|
||||
--blue: #00AAFF;
|
||||
--gray-bg: #f8fafc;
|
||||
--border: #e5e7eb;
|
||||
--shadow: 0 4px 12px rgba(0,0,0,0.08);
|
||||
--shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
|
||||
}
|
||||
|
||||
/* ========== BUTTONS ========== */
|
||||
.btn {
|
||||
display: inline-block;
|
||||
padding: 14px 28px;
|
||||
border-radius: 999px;
|
||||
font-weight: 700;
|
||||
font-size: 1rem;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
|
||||
text-align: center;
|
||||
}
|
||||
.btn:hover { transform: translateY(-2px); text-decoration: none; box-shadow: var(--shadow-hover); }
|
||||
.btn--primary { background: var(--orange); color: #fff; }
|
||||
.btn--primary:hover { background: var(--orange-dark); color: #fff; }
|
||||
.btn--secondary { background: #fff; color: var(--orange); border: 2px solid var(--orange); }
|
||||
.btn--secondary:hover { background: var(--orange); color: #fff; }
|
||||
.btn--small { padding: 10px 20px; font-size: 0.95rem; }
|
||||
.btn--ghost { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
|
||||
.btn--ghost:hover { background: var(--blue); color: #fff; }
|
||||
|
||||
/* ========== HEADER ========== */
|
||||
.header {
|
||||
position: sticky; top: 0; z-index: 50;
|
||||
background: #fff;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
.header__inner {
|
||||
display: flex; align-items: center; justify-content: space-between;
|
||||
height: 70px;
|
||||
}
|
||||
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.3rem; color: #0f172a; }
|
||||
.logo:hover { text-decoration: none; }
|
||||
.logo__mark { font-size: 1.6rem; }
|
||||
.nav { display: flex; gap: 24px; }
|
||||
.nav a { color: #334155; font-weight: 600; }
|
||||
.nav a:hover { color: var(--orange); text-decoration: none; }
|
||||
.nav__cta { margin-left: 16px; }
|
||||
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
|
||||
.burger span { display: block; width: 26px; height: 3px; background: #0f172a; margin: 5px 0; border-radius: 2px; transition: 0.3s; }
|
||||
|
||||
/* ========== HERO ========== */
|
||||
.hero { position: relative; min-height: 80vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
|
||||
.hero__bg {
|
||||
position: absolute; inset: 0;
|
||||
background:
|
||||
linear-gradient(135deg, rgba(255,107,53,0.65) 0%, rgba(0,170,255,0.55) 100%),
|
||||
url('images/photo_08.jpg') center / cover no-repeat,
|
||||
linear-gradient(180deg, #4a90e2 0%, #2c5282 100%);
|
||||
z-index: -1;
|
||||
}
|
||||
.hero__bg::after {
|
||||
content: ''; position: absolute; inset: 0;
|
||||
background-image:
|
||||
radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 30%),
|
||||
radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15) 0%, transparent 40%);
|
||||
}
|
||||
.hero__content { position: relative; padding: 80px 20px; }
|
||||
.hero__title { font-size: 3rem; color: #fff; max-width: 700px; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
|
||||
.hero__subtitle { font-size: 1.25rem; max-width: 600px; text-shadow: 0 1px 6px rgba(0,0,0,0.3); }
|
||||
.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
|
||||
|
||||
/* ========== SECTION ========== */
|
||||
.section { padding: 80px 0; }
|
||||
.section--gray { background: var(--gray-bg); }
|
||||
.section__title { text-align: center; }
|
||||
.section__lead { text-align: center; color: #64748b; margin-bottom: 40px; font-size: 1.1rem; }
|
||||
|
||||
/* ========== ABOUT ========== */
|
||||
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
|
||||
.about__points { list-style: none; padding: 0; margin: 20px 0 0; }
|
||||
.about__points li { padding: 8px 0; font-size: 1.05rem; }
|
||||
.about__photo {
|
||||
height: 360px; border-radius: 20px;
|
||||
background: url('images/photo_05.jpg') center / cover no-repeat;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
/* ========== SHIFTS ========== */
|
||||
.shifts {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: 24px;
|
||||
}
|
||||
.shift {
|
||||
background: #fff;
|
||||
border-radius: 16px;
|
||||
padding: 28px;
|
||||
box-shadow: var(--shadow);
|
||||
display: flex; flex-direction: column;
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
border-top: 4px solid var(--orange);
|
||||
}
|
||||
.shift:nth-child(even) { border-top-color: var(--blue); }
|
||||
.shift:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
|
||||
.shift__name { font-size: 1.25rem; }
|
||||
.shift__dates { color: #64748b; font-weight: 600; margin-bottom: 12px; }
|
||||
.shift__desc { flex-grow: 0; color: #334155; }
|
||||
.shift__includes { list-style: none; padding: 0; margin: 12px 0; font-size: 0.95rem; color: #475569; }
|
||||
.shift__includes li { padding: 3px 0; }
|
||||
.shift__includes li::before { content: '✓ '; color: var(--orange); font-weight: 700; }
|
||||
.shift__price-row {
|
||||
display: flex; align-items: baseline; justify-content: space-between;
|
||||
margin: 16px 0 12px; padding-top: 16px; border-top: 1px solid var(--border);
|
||||
}
|
||||
.shift__price { font-size: 1.6rem; font-weight: 800; color: #0f172a; }
|
||||
.shift__price small { font-size: 0.9rem; color: #64748b; font-weight: 600; }
|
||||
.shift__spots { font-size: 0.9rem; color: #16a34a; font-weight: 700; }
|
||||
.shift__spots--low { color: #dc2626; }
|
||||
.shift__buttons { display: flex; gap: 8px; margin-top: auto; }
|
||||
.shift__buttons .btn { flex: 1; padding: 12px 16px; font-size: 0.95rem; }
|
||||
|
||||
/* ========== SCHEDULE ========== */
|
||||
.schedule {
|
||||
width: 100%; max-width: 700px; margin: 0 auto;
|
||||
border-collapse: collapse;
|
||||
background: #fff; border-radius: 16px; overflow: hidden;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
.schedule th, .schedule td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); }
|
||||
.schedule th { background: var(--orange); color: #fff; font-weight: 700; }
|
||||
.schedule tbody tr:last-child td { border-bottom: none; }
|
||||
.schedule tbody tr:hover { background: #fff7ed; }
|
||||
.schedule td:first-child { font-weight: 700; color: var(--orange); width: 100px; }
|
||||
|
||||
/* ========== GALLERY ========== */
|
||||
.gallery {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
.gallery__item {
|
||||
aspect-ratio: 1 / 1;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
padding: 0;
|
||||
border: none;
|
||||
background: #e5e7eb;
|
||||
}
|
||||
.gallery__item img {
|
||||
width: 100%; height: 100%; object-fit: cover; display: block;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
.gallery__item:hover { transform: scale(1.03); box-shadow: var(--shadow-hover); }
|
||||
.gallery__item:hover img { transform: scale(1.06); }
|
||||
|
||||
/* ========== SIGNUP / FORM ========== */
|
||||
.signup { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
|
||||
.signup__info h2 { text-align: left; }
|
||||
.signup__note { color: #64748b; font-size: 0.95rem; font-style: italic; }
|
||||
.form {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 16px;
|
||||
background: #fff;
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
.form__field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.95rem; color: #334155; }
|
||||
.form__field--wide { grid-column: 1 / -1; }
|
||||
.form__field input, .form__field select, .form__field textarea {
|
||||
padding: 12px 14px;
|
||||
border: 2px solid var(--border);
|
||||
border-radius: 10px;
|
||||
font-family: inherit;
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
transition: border-color 0.15s ease;
|
||||
background: #fff;
|
||||
}
|
||||
.form__field input:focus, .form__field select:focus, .form__field textarea:focus {
|
||||
outline: none; border-color: var(--orange);
|
||||
}
|
||||
.form__field input:invalid:not(:placeholder-shown) { border-color: #dc2626; }
|
||||
.form__submit { grid-column: 1 / -1; }
|
||||
.form__success {
|
||||
grid-column: 1 / -1;
|
||||
background: #dcfce7;
|
||||
color: #166534;
|
||||
padding: 14px 18px;
|
||||
border-radius: 10px;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* ========== PAYMENT ========== */
|
||||
.payment-simple {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
||||
gap: 20px;
|
||||
}
|
||||
.pay-card {
|
||||
background: #fff;
|
||||
padding: 28px 24px;
|
||||
border-radius: 14px;
|
||||
text-align: center;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
.pay-card__icon { font-size: 2.5rem; margin-bottom: 8px; }
|
||||
.pay-card h3 { font-size: 1.15rem; }
|
||||
.pay-card p { margin: 6px 0; color: #334155; }
|
||||
.pay-card__big { font-size: 1.25rem; font-weight: 700; color: #0f172a; }
|
||||
.pay-card__hint { font-size: 0.9rem; color: #64748b; font-style: italic; }
|
||||
.pay-card a { font-weight: 700; }
|
||||
|
||||
/* ========== CONTACTS ========== */
|
||||
.contacts__grid {
|
||||
display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px;
|
||||
margin-top: 32px;
|
||||
}
|
||||
.contact-card {
|
||||
background: #fff;
|
||||
padding: 24px;
|
||||
border-radius: 14px;
|
||||
text-align: center;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
.contact-card__icon { font-size: 2.5rem; margin-bottom: 8px; }
|
||||
.contact-card h3 { font-size: 1.1rem; }
|
||||
.contact-card a { display: block; font-weight: 700; padding: 4px 0; font-size: 1.05rem; }
|
||||
.contact-card__sub { font-size: 0.9rem; color: #64748b; margin-top: 6px; }
|
||||
|
||||
/* ========== FOOTER ========== */
|
||||
.footer { background: #0f172a; color: #cbd5e1; padding: 32px 0; }
|
||||
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
|
||||
.footer strong { color: #fff; font-size: 1.1rem; }
|
||||
.footer p { margin: 4px 0 0; font-size: 0.9rem; }
|
||||
.footer__nav { display: flex; gap: 20px; flex-wrap: wrap; }
|
||||
.footer__nav a { color: #cbd5e1; font-weight: 600; }
|
||||
.footer__nav a:hover { color: var(--orange); }
|
||||
|
||||
/* ========== LIGHTBOX ========== */
|
||||
.lightbox {
|
||||
display: none;
|
||||
position: fixed; inset: 0; z-index: 100;
|
||||
background: rgba(0,0,0,0.92);
|
||||
align-items: center; justify-content: center;
|
||||
padding: 20px;
|
||||
}
|
||||
.lightbox.is-open { display: flex; }
|
||||
.lightbox__img {
|
||||
width: min(90vw, 900px); max-height: 85vh;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
}
|
||||
.lightbox__img img {
|
||||
max-width: 100%; max-height: 85vh;
|
||||
border-radius: 12px; object-fit: contain;
|
||||
box-shadow: 0 10px 40px rgba(0,0,0,0.5);
|
||||
}
|
||||
.lightbox__close {
|
||||
position: absolute; top: 16px; right: 24px;
|
||||
background: none; border: none; color: #fff; font-size: 3rem; cursor: pointer; line-height: 1;
|
||||
}
|
||||
|
||||
/* ========== MOBILE ========== */
|
||||
@media (max-width: 860px) {
|
||||
.nav, .nav__cta { display: none; }
|
||||
.nav.is-open {
|
||||
display: flex; flex-direction: column;
|
||||
position: absolute; top: 70px; left: 0; right: 0;
|
||||
background: #fff; padding: 20px; gap: 16px;
|
||||
box-shadow: var(--shadow);
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
.burger { display: block; }
|
||||
.hero__title { font-size: 2.2rem; }
|
||||
.hero__subtitle { font-size: 1.1rem; }
|
||||
.about, .signup { grid-template-columns: 1fr; }
|
||||
.form { grid-template-columns: 1fr; padding: 24px; }
|
||||
.section { padding: 56px 0; }
|
||||
h2 { font-size: 1.6rem; }
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="style.css?v=4" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user