mempool/frontend/src/app/components/eight-blocks/eight-blocks.component.scss

70 lines
1.3 KiB
SCSS
Raw Normal View History

2023-09-28 15:48:37 +01:00
.blocks {
width: 100%;
height: 100%;
min-width: 100vw;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: start;
align-items: start;
align-content: start;
&.wrap {
flex-wrap: wrap;
}
.block-wrapper {
flex-grow: 0;
flex-shrink: 0;
position: relative;
--block-width: 1080px;
.info {
position: absolute;
2023-10-11 17:49:31 +00:00
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;
2023-10-01 17:59:55 +01:00
font-size: calc(var(--block-width) * 0.03);
text-shadow: 0 0 calc(var(--block-width) * 0.05) black;
2023-09-28 15:48:37 +01:00
h1 {
2023-10-11 17:49:31 +00:00
font-size: 6em;
2023-10-01 17:59:55 +01:00
line-height: 1;
margin-bottom: calc(var(--block-width) * 0.03);
2023-09-28 15:48:37 +01:00
}
h2 {
2023-10-11 17:49:31 +00:00
font-size: 1.8em;
2023-10-01 17:59:55 +01:00
line-height: 1;
margin-bottom: calc(var(--block-width) * 0.03);
2023-09-28 15:48:37 +01:00
}
.hash {
font-family: monospace;
word-wrap: break-word;
2023-10-11 17:49:31 +00:00
font-size: 1.4em;
2023-10-01 17:59:55 +01:00
line-height: 1;
margin-bottom: calc(var(--block-width) * 0.03);
2023-09-28 15:48:37 +01:00
}
2023-10-11 17:49:31 +00:00
.mined-by {
position: absolute;
bottom: 0;
margin: auto;
text-align: center;
}
2023-09-28 15:48:37 +01:00
}
}
2023-10-01 17:59:55 +01:00
.block-container {
overflow: hidden;
}
2023-09-28 15:48:37 +01:00
}