Fix issues
This commit is contained in:
parent
f3e201f221
commit
f6f9fa5bce
3 changed files with 4 additions and 4 deletions
|
|
@ -13,7 +13,7 @@ export class Background extends PageElement {
|
||||||
private static readonly maxHeight = 740;
|
private static readonly maxHeight = 740;
|
||||||
private static readonly minBlobCount = 30;
|
private static readonly minBlobCount = 30;
|
||||||
private static readonly blobCountScaler = 0.05;
|
private static readonly blobCountScaler = 0.05;
|
||||||
private static readonly stableSeed = 50;
|
private static readonly stableSeed = 51;
|
||||||
|
|
||||||
private random = new Random();
|
private random = new Random();
|
||||||
private stableRandom = new Random();
|
private stableRandom = new Random();
|
||||||
|
|
@ -57,7 +57,7 @@ export class Background extends PageElement {
|
||||||
const endXSpan =
|
const endXSpan =
|
||||||
((1 / Background.perspective) * (Background.zMax + Background.perspective)) / 2;
|
((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(0, -(endXSpan - 0.5), z / Background.zMax),
|
||||||
mix(1, 1 + endXSpan - 0.5, z / Background.zMax)
|
mix(1, 1 + endXSpan - 0.5, z / Background.zMax)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,6 @@
|
||||||
> p,
|
> p,
|
||||||
a {
|
a {
|
||||||
color: var(--very-light-text-color);
|
color: var(--very-light-text-color);
|
||||||
margin-top: var(--line-height);
|
|
||||||
|
|
||||||
:focus:not(:hover) {
|
:focus:not(:hover) {
|
||||||
outline: var(--very-light-text-color) solid var(--line-width);
|
outline: var(--very-light-text-color) solid var(--line-width);
|
||||||
|
|
@ -83,6 +82,7 @@
|
||||||
|
|
||||||
> p {
|
> p {
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
|
margin-top: var(--line-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
--inset-shadow: inset 0 -9px 7px -7px rgb(0, 0, 0, 0.15);
|
--inset-shadow: inset 0 -9px 7px -7px rgb(0, 0, 0, 0.15);
|
||||||
--icon-size: 45px;
|
--icon-size: 45px;
|
||||||
--large-icon-size: 60px;
|
--large-icon-size: 60px;
|
||||||
--body-width: min(80%, 830px);
|
--body-width: min(80%, 900px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue