mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-08 09:38:14 -07:00
website_next: part 3
This commit is contained in:
@@ -0,0 +1,85 @@
|
||||
#block-details section[data-group="difficulty"] {
|
||||
--section-color: var(--orange);
|
||||
|
||||
[data-metric-list] {
|
||||
display: grid;
|
||||
gap: 0.5rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
[data-metric-stat] {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(5.5rem, auto) minmax(0, 1fr);
|
||||
gap: 0.75rem;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
|
||||
> span {
|
||||
color: var(--section-color);
|
||||
font-size: var(--font-size-xs);
|
||||
line-height: var(--line-height-xs);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
strong {
|
||||
min-width: 0;
|
||||
overflow-wrap: anywhere;
|
||||
color: var(--white);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: var(--font-weight-strong);
|
||||
line-height: var(--line-height-sm);
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
[data-epoch] {
|
||||
display: grid;
|
||||
gap: 0.25rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
[data-epoch-head] {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 0.75rem;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
|
||||
> span {
|
||||
min-width: 0;
|
||||
overflow-wrap: anywhere;
|
||||
color: var(--epoch-color);
|
||||
font-size: var(--font-size-xs);
|
||||
line-height: var(--line-height-xs);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
strong {
|
||||
color: var(--white);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: var(--font-weight-strong);
|
||||
line-height: var(--line-height-sm);
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
[data-epoch-bar] {
|
||||
display: flex;
|
||||
gap: 0.125rem;
|
||||
height: 0.5rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
[data-epoch-segment] {
|
||||
width: var(--share);
|
||||
border-radius: 0.125rem;
|
||||
|
||||
&[data-epoch-segment="done"] {
|
||||
background: var(--epoch-color);
|
||||
}
|
||||
|
||||
&[data-epoch-segment="remaining"] {
|
||||
background: color-mix(in oklch, var(--gray) 35%, transparent);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user