diff --git a/frontend/src/app/components/eight-blocks/eight-blocks.component.html b/frontend/src/app/components/eight-blocks/eight-blocks.component.html index cc4b7a734..59390c953 100644 --- a/frontend/src/app/components/eight-blocks/eight-blocks.component.html +++ b/frontend/src/app/components/eight-blocks/eight-blocks.component.html @@ -15,13 +15,8 @@ (txClickEvent)="onTxClick($event)" >
-

{{ blockInfo[i].height }}

-

{{ blockInfo[i].id.slice(0, 32) }}
{{ blockInfo[i].id.slice(32) }}

-

{{ blockInfo[i].timeString }}

-

{{ blockInfo[i].tx_count }} transactions

-

{{ blockInfo[i].extras.medianFee | feeRounding }} sat/vB

-

{{ blockInfo[i].size | bytes: 2 : 'B' : 'MB' : true }}

-

Mined by {{ blockInfo[i].extras.pool.name || 'Unknown' }}

+

{{ blockInfo[i].height }}

+

by {{ blockInfo[i].extras.pool.name || 'Unknown' }}

diff --git a/frontend/src/app/components/eight-blocks/eight-blocks.component.scss b/frontend/src/app/components/eight-blocks/eight-blocks.component.scss index 8b7825e8b..52faf1651 100644 --- a/frontend/src/app/components/eight-blocks/eight-blocks.component.scss +++ b/frontend/src/app/components/eight-blocks/eight-blocks.component.scss @@ -21,22 +21,28 @@ .info { position: absolute; - left: 5%; - top: 5%; - right: 5%; - bottom: 5%; - height: 90%; - width: 90%; + left: 8%; + top: 8%; + right: 8%; + bottom: 8%; + height: 84%; + width: 84%; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + font-family:'Inter'; + font-weight: 700; font-size: calc(var(--block-width) * 0.03); text-shadow: 0 0 calc(var(--block-width) * 0.05) black; h1 { - font-size: 3em; + font-size: 6em; line-height: 1; margin-bottom: calc(var(--block-width) * 0.03); } h2 { - font-size: 1.5em; + font-size: 1.8em; line-height: 1; margin-bottom: calc(var(--block-width) * 0.03); } @@ -44,10 +50,17 @@ .hash { font-family: monospace; word-wrap: break-word; - font-size: 1.2em; + font-size: 1.4em; line-height: 1; margin-bottom: calc(var(--block-width) * 0.03); } + + .mined-by { + position: absolute; + bottom: 0; + margin: auto; + text-align: center; + } } } diff --git a/frontend/src/resources/Inter-Bold.ttf b/frontend/src/resources/Inter-Bold.ttf new file mode 100644 index 000000000..fe23eeb9c Binary files /dev/null and b/frontend/src/resources/Inter-Bold.ttf differ diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss index c03d79af5..a3600cb1a 100644 --- a/frontend/src/styles.scss +++ b/frontend/src/styles.scss @@ -1171,3 +1171,10 @@ app-global-footer { line-height: 0.5; border-radius: 0.2rem; } + +@font-face { + font-family: "Inter"; + src: url("/resources/Inter-Bold.ttf"); + font-weight: 700; + font-style: normal; +}