Header: neues Logo oben links
- Wortmarke (Drink it cold / Ihre Kuehlwagen-Vermietung) aus dem Logo freigestellt als assets/img/logo-wordmark-light.png (weiss, Alpha) - Header zeigt Raute plus Wortmarke statt der gesetzten Typo; im gescrollten (hellen) Header wird die Wortmarke per CSS invertiert - Alte brand__name/brand__sub-Regeln entfernt, Mobile-Groesse 26px - CSS-Query v=7, Service-Worker-Cache dic-v23
This commit is contained in:
parent
11c0e2fb68
commit
3334a73f86
6 changed files with 18 additions and 32 deletions
|
|
@ -16,6 +16,11 @@ Die Anforderungen stammen aus
|
|||
beim Kunden nötig. Alle Felder außer der Nachricht sind Pflicht; ein Honeypot
|
||||
und ein IP-Limit (5 Anfragen/Stunde) bremsen Spam (Logik: `app/inquiry.php`).
|
||||
Wird „Von“ gewählt, übernimmt „Bis“ denselben Tag; frühere Tage sind gesperrt.
|
||||
- **Logo**: Quelle `docs/drink_it_cold_logo.jpeg`, freigestellt als
|
||||
`web/assets/img/logo-drink-it-cold*.png|webp` (Kontaktblock, Footer,
|
||||
`offline.html`) sowie `logo-wordmark-light.png` für den Header oben links
|
||||
(wird beim Scrollen per CSS invertiert). PWA-Icons liegen unter
|
||||
`web/assets/icons/`.
|
||||
|
||||
- **Kalender** mit Tages-, 4-Wochen- und Monatsansicht (4 Kalenderwochen sind Standard und starten mit der aktuellen KW). Alle Anhänger haben
|
||||
eine eigene Zeile und sind immer gleichzeitig sichtbar. Jeder Termin ist ein
|
||||
|
|
|
|||
|
|
@ -256,20 +256,13 @@ button { font: inherit; color: inherit; cursor: pointer; }
|
|||
transition: transform .3s ease;
|
||||
}
|
||||
.brand__text { display: grid; line-height: 1.05; }
|
||||
.brand__name {
|
||||
font-family: var(--font-display);
|
||||
font-weight: 800;
|
||||
font-size: 1.16rem;
|
||||
letter-spacing: -.02em;
|
||||
}
|
||||
.brand__sub {
|
||||
white-space: nowrap;
|
||||
font-size: .62rem;
|
||||
letter-spacing: .16em;
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
opacity: .82;
|
||||
.brand__wordmark {
|
||||
display: block;
|
||||
height: 32px;
|
||||
width: auto;
|
||||
}
|
||||
/* Im gescrollten (hellen) Header wird die weiße Wortmarke dunkel. */
|
||||
.header.is-scrolled .brand__wordmark { filter: invert(1); }
|
||||
.nav { display: flex; align-items: center; gap: .1rem; }
|
||||
.nav a {
|
||||
display: inline-block;
|
||||
|
|
@ -1223,8 +1216,7 @@ button { font: inherit; color: inherit; cursor: pointer; }
|
|||
@media (max-width: 720px) {
|
||||
:root { --header-h: 64px; }
|
||||
.brand__mark { width: 34px; }
|
||||
.brand__name { font-size: 1.05rem; }
|
||||
.brand__sub { font-size: .56rem; letter-spacing: .13em; }
|
||||
.brand__wordmark { height: 26px; }
|
||||
.hero { min-height: min(86svh, 780px); }
|
||||
.hero__bg img { object-position: 62% 60%; }
|
||||
.facts { margin-top: 0; }
|
||||
|
|
|
|||
BIN
web/assets/img/logo-wordmark-light.png
Normal file
BIN
web/assets/img/logo-wordmark-light.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
BIN
web/assets/img/logo-wordmark-light.webp
Normal file
BIN
web/assets/img/logo-wordmark-light.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.4 KiB |
|
|
@ -21,7 +21,7 @@
|
|||
<link rel="preload" as="font" type="font/woff2" href="assets/fonts/manrope-latin.woff2" crossorigin>
|
||||
<link rel="preload" as="font" type="font/woff2" href="assets/fonts/inter-latin.woff2" crossorigin>
|
||||
<link rel="preload" as="image" imagesrcset="assets/img/hero-800.webp 800w, assets/img/hero-1280.webp 1280w, assets/img/hero-1920.webp 1920w" imagesizes="100vw">
|
||||
<link rel="stylesheet" href="assets/css/style.css?v=6">
|
||||
<link rel="stylesheet" href="assets/css/style.css?v=7">
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
|
|
@ -87,22 +87,10 @@
|
|||
<header class="header" id="header">
|
||||
<div class="container header__inner">
|
||||
<a class="brand" href="#top" aria-label="Drink it cold – zur Startseite">
|
||||
<svg class="brand__mark" viewBox="0 0 100 72" aria-hidden="true">
|
||||
<path d="M50 1.5 98.5 36 50 70.5 1.5 36Z" fill="#196abc"/>
|
||||
<g fill="none" stroke="#fff" stroke-width="2.1" stroke-linecap="round" stroke-linejoin="round">
|
||||
<g transform="translate(50 35.5) scale(1.8)">
|
||||
<g transform="rotate(0)"><path d="M0-13V0"/><path d="M0-4.6-3.3-8"/><path d="M0-4.6 3.3-8"/><path d="M0-8.6-2.3-11"/><path d="M0-8.6 2.3-11"/></g>
|
||||
<g transform="rotate(60)"><path d="M0-13V0"/><path d="M0-4.6-3.3-8"/><path d="M0-4.6 3.3-8"/><path d="M0-8.6-2.3-11"/><path d="M0-8.6 2.3-11"/></g>
|
||||
<g transform="rotate(120)"><path d="M0-13V0"/><path d="M0-4.6-3.3-8"/><path d="M0-4.6 3.3-8"/><path d="M0-8.6-2.3-11"/><path d="M0-8.6 2.3-11"/></g>
|
||||
<g transform="rotate(180)"><path d="M0-13V0"/><path d="M0-4.6-3.3-8"/><path d="M0-4.6 3.3-8"/><path d="M0-8.6-2.3-11"/><path d="M0-8.6 2.3-11"/></g>
|
||||
<g transform="rotate(240)"><path d="M0-13V0"/><path d="M0-4.6-3.3-8"/><path d="M0-4.6 3.3-8"/><path d="M0-8.6-2.3-11"/><path d="M0-8.6 2.3-11"/></g>
|
||||
<g transform="rotate(300)"><path d="M0-13V0"/><path d="M0-4.6-3.3-8"/><path d="M0-4.6 3.3-8"/><path d="M0-8.6-2.3-11"/><path d="M0-8.6 2.3-11"/></g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
<img class="brand__mark" src="assets/logo-mark.svg" alt="" width="44" height="32">
|
||||
<span class="brand__text">
|
||||
<span class="brand__name">Drink it cold</span>
|
||||
<span class="brand__sub">Kühlwagen-Vermietung</span>
|
||||
<img class="brand__wordmark" src="assets/img/logo-wordmark-light.png"
|
||||
alt="Drink it cold – Ihre Kühlwagen-Vermietung" width="367" height="78" decoding="async">
|
||||
</span>
|
||||
</a>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
* zwischengespeichert, damit niemand veraltete Buchungen sieht.
|
||||
*/
|
||||
|
||||
const VERSION = 'dic-v22';
|
||||
const VERSION = 'dic-v23';
|
||||
const CACHE = VERSION;
|
||||
const BASE = new URL(self.registration.scope).pathname.replace(/\/$/, '');
|
||||
|
||||
|
|
@ -18,6 +18,7 @@ const PRECACHE = [
|
|||
'/assets/logo-mark.svg',
|
||||
'/assets/img/logo-drink-it-cold-480.png',
|
||||
'/assets/img/logo-drink-it-cold-480.webp',
|
||||
'/assets/img/logo-wordmark-light.png',
|
||||
'/assets/favicon.svg',
|
||||
'/assets/fonts/manrope-latin.woff2',
|
||||
'/assets/fonts/inter-latin.woff2',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue