From f6f9fa5bcea89c8c544edb951dd164e77c411881 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Tue, 27 Sep 2022 18:33:46 +0200 Subject: [PATCH] Fix issues --- src/page/background/background.ts | 4 ++-- src/page/header/header.scss | 2 +- src/style/vars.scss | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/page/background/background.ts b/src/page/background/background.ts index 64ecf0e..f29e2ba 100644 --- a/src/page/background/background.ts +++ b/src/page/background/background.ts @@ -13,7 +13,7 @@ export class Background extends PageElement { private static readonly maxHeight = 740; private static readonly minBlobCount = 30; private static readonly blobCountScaler = 0.05; - private static readonly stableSeed = 50; + private static readonly stableSeed = 51; private random = new Random(); private stableRandom = new Random(); @@ -57,7 +57,7 @@ export class Background extends PageElement { const endXSpan = ((1 / Background.perspective) * (Background.zMax + Background.perspective)) / 2; - const x = this.stableRandom.inInterval( + const x = this.random.inInterval( mix(0, -(endXSpan - 0.5), z / Background.zMax), mix(1, 1 + endXSpan - 0.5, z / Background.zMax) ); diff --git a/src/page/header/header.scss b/src/page/header/header.scss index 784e0df..da8aa24 100644 --- a/src/page/header/header.scss +++ b/src/page/header/header.scss @@ -74,7 +74,6 @@ > p, a { color: var(--very-light-text-color); - margin-top: var(--line-height); :focus:not(:hover) { outline: var(--very-light-text-color) solid var(--line-width); @@ -83,6 +82,7 @@ > p { text-align: justify; + margin-top: var(--line-height); } a { diff --git a/src/style/vars.scss b/src/style/vars.scss index 7fba600..8eb838b 100644 --- a/src/style/vars.scss +++ b/src/style/vars.scss @@ -26,7 +26,7 @@ --inset-shadow: inset 0 -9px 7px -7px rgb(0, 0, 0, 0.15); --icon-size: 45px; --large-icon-size: 60px; - --body-width: min(80%, 830px); + --body-width: min(80%, 900px); } }