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

57 lines
1.1 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-01 17:59:55 +01:00
left: 5%;
top: 5%;
right: 5%;
bottom: 5%;
height: 90%;
width: 90%;
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-01 17:59:55 +01:00
font-size: 3em;
line-height: 1;
margin-bottom: calc(var(--block-width) * 0.03);
2023-09-28 15:48:37 +01:00
}
h2 {
2023-10-01 17:59:55 +01:00
font-size: 1.5em;
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-01 17:59:55 +01:00
font-size: 1.2em;
line-height: 1;
margin-bottom: calc(var(--block-width) * 0.03);
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
}