Kartet kant i kant, ordmerket til venstre #22
No files matched your search
+24
@@ -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;
|
||||||
|
}
|
||||||
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user