Kartet kant i kant, ordmerket til venstre, og litt raskere dreining
lint-and-reload / lint (push) Successful in 5s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
This commit is contained in:
blandClaude Opus 5.5 committed 2026-11-07 19:07:39 +01:00
1 parent 0fe0420790
commit 2b910c93a0
2 files changed
+25 -1

No files matched your search

+24
View File
@@ -128,3 +128,27 @@ button:hover, .button:hover, input[type="submit"]:hover {
margin: 0.8rem auto 0; margin: 0.8rem auto 0;
text-align: center; text-align: center;
} }
/* Kartet på forsiden går kant i kant: portalens .hero er en smal,
polstret spalte, så kartet fikk marg over og på sidene. Spalten
flyttes inn til teksten under, og kartet får hele bredden. */
.hero.hero-module {
max-width: none;
padding: 0 0 2.5rem;
}
.hero.hero-module .hero-copy {
box-sizing: border-box;
width: 100%;
max-width: 46rem;
margin: 0 auto;
padding: 0 1.5rem;
}
/* Ordmerket står til venstre, i flukt med innholdet under, og
innloggingen til høyre på samme linje. */
.hero.hero-module .hero-top {
justify-content: space-between;
}
.hero.hero-module .hero-top .session {
position: static;
transform: none;
}
+1 -1
View File
@@ -18,7 +18,7 @@ const STYLE_ID = 'tomtervel-hero-style';
const CENTER = [11.004, 59.6635]; const CENTER = [11.004, 59.6635];
const ZOOM = 13.8; const ZOOM = 13.8;
const PITCH = 42; const PITCH = 42;
const DEGREES_PER_SECOND = 0.8; const DEGREES_PER_SECOND = 1.4;
const CSS = ` const CSS = `
.tomtervel-map { .tomtervel-map {