Header: unveraendertes Logo-Bild oben links
- Vollstaendiges Logo (assets/img/logo-drink-it-cold-480) im Header, auf weisser Platte (56px hoch, mobil 42px), damit die schwarze Wortmarke vor dem dunklen Hero lesbar bleibt - Wortmarken-PNG, brand__wordmark-Regeln und is-scrolled-Invertierung entfernt; Raute-Mark bleibt fuer App-Header und Login - CSS-Query v=9, Service-Worker-Cache dic-v25
This commit is contained in:
parent
ed1b3674ff
commit
f58f33c6c7
5 changed files with 16 additions and 14 deletions
|
|
@ -255,14 +255,17 @@ button { font: inherit; color: inherit; cursor: pointer; }
|
|||
filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .18));
|
||||
transition: transform .3s ease;
|
||||
}
|
||||
.brand__text { display: grid; line-height: 1.05; }
|
||||
.brand__wordmark {
|
||||
/* Header-Logo: unveraendertes Logo-Bild, auf weisser Platte damit die
|
||||
schwarze Wortmarke vor dem dunklen Hero lesbar bleibt. */
|
||||
.brand__logo {
|
||||
display: block;
|
||||
height: 28px;
|
||||
height: 56px;
|
||||
width: auto;
|
||||
background: #fff;
|
||||
border-radius: 10px;
|
||||
padding: 4px 7px;
|
||||
box-shadow: 0 6px 16px rgba(3, 16, 28, .22);
|
||||
}
|
||||
/* 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;
|
||||
|
|
@ -1216,7 +1219,7 @@ button { font: inherit; color: inherit; cursor: pointer; }
|
|||
@media (max-width: 720px) {
|
||||
:root { --header-h: 64px; }
|
||||
.brand__mark { width: 34px; }
|
||||
.brand__wordmark { height: 26px; }
|
||||
.brand__logo { height: 42px; padding: 3px 5px; border-radius: 8px; }
|
||||
.hero { min-height: min(86svh, 780px); }
|
||||
.hero__bg img { object-position: 62% 60%; }
|
||||
.facts { margin-top: 0; }
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB |
Binary file not shown.
|
Before 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=8">
|
||||
<link rel="stylesheet" href="assets/css/style.css?v=9">
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
|
|
@ -87,11 +87,11 @@
|
|||
<header class="header" id="header">
|
||||
<div class="container header__inner">
|
||||
<a class="brand" href="#top" aria-label="Drink it cold – zur Startseite">
|
||||
<img class="brand__mark" src="assets/logo-mark.svg" alt="" width="44" height="32">
|
||||
<span class="brand__text">
|
||||
<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>
|
||||
<picture>
|
||||
<source srcset="assets/img/logo-drink-it-cold-480.webp" type="image/webp">
|
||||
<img class="brand__logo" src="assets/img/logo-drink-it-cold-480.png"
|
||||
alt="Drink it cold – Ihre Kühlwagen-Vermietung" width="480" height="267" decoding="async">
|
||||
</picture>
|
||||
</a>
|
||||
|
||||
<nav class="nav" id="nav" aria-label="Hauptnavigation">
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
* zwischengespeichert, damit niemand veraltete Buchungen sieht.
|
||||
*/
|
||||
|
||||
const VERSION = 'dic-v24';
|
||||
const VERSION = 'dic-v25';
|
||||
const CACHE = VERSION;
|
||||
const BASE = new URL(self.registration.scope).pathname.replace(/\/$/, '');
|
||||
|
||||
|
|
@ -18,7 +18,6 @@ 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