mirror of
https://github.com/mempool/mempool.git
synced 2025-02-28 16:58:32 +01:00
97 lines
1.4 KiB
SCSS
97 lines
1.4 KiB
SCSS
|
.bitcoin-block {
|
||
|
width: 125px;
|
||
|
height: 125px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.mined-block {
|
||
|
position: absolute;
|
||
|
top: 0px;
|
||
|
transition: 1s;
|
||
|
}
|
||
|
|
||
|
.block-size {
|
||
|
font-size: 18px;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.blocks-container {
|
||
|
position: absolute;
|
||
|
top: 0px;
|
||
|
left: 40px;
|
||
|
}
|
||
|
|
||
|
.block-body {
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.time-difference {
|
||
|
position: absolute;
|
||
|
bottom: 10px;
|
||
|
text-align: center;
|
||
|
width: 100%;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
|
||
|
.fees {
|
||
|
font-size: 10px;
|
||
|
margin-top: 10px;
|
||
|
margin-bottom: 2px;
|
||
|
}
|
||
|
|
||
|
.transaction-count {
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
|
||
|
.block-height {
|
||
|
position: absolute;
|
||
|
font-size: 12px;
|
||
|
bottom: 160px;
|
||
|
width: 100%;
|
||
|
left: -12px;
|
||
|
text-shadow: 0px 32px 3px #111;
|
||
|
z-index: 100;
|
||
|
}
|
||
|
|
||
|
@media (max-width: 767.98px) {
|
||
|
.block-height {
|
||
|
bottom: 125px;
|
||
|
left: inherit;
|
||
|
text-shadow: inherit;
|
||
|
z-index: inherit;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media (min-width: 768px) {
|
||
|
.bitcoin-block::after {
|
||
|
content: '';
|
||
|
width: 125px;
|
||
|
height: 24px;
|
||
|
position:absolute;
|
||
|
top: -24px;
|
||
|
left: -20px;
|
||
|
background-color: #232838;
|
||
|
transform:skew(40deg);
|
||
|
transform-origin:top;
|
||
|
}
|
||
|
|
||
|
.bitcoin-block::before {
|
||
|
content: '';
|
||
|
width: 20px;
|
||
|
height: 125px;
|
||
|
position: absolute;
|
||
|
top: -12px;
|
||
|
left: -20px;
|
||
|
background-color: #191c27;
|
||
|
|
||
|
transform: skewY(50deg);
|
||
|
transform-origin: top;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.black-background {
|
||
|
background-color: #11131f;
|
||
|
z-index: 100;
|
||
|
position: relative;
|
||
|
}
|