chore: initialize monorepo with project scaffolding, configs, and CI setup

This commit is contained in:
oib
2025-09-27 06:05:25 +02:00
commit c1926136fb
171 changed files with 13708 additions and 0 deletions

View File

@ -0,0 +1,82 @@
:root {
color-scheme: dark;
font-family: var(--font-base);
font-size: 16px;
line-height: 1.5;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background-color: var(--color-bg);
color: var(--color-text-primary);
}
a {
color: var(--color-primary);
text-decoration: none;
}
a:hover,
a:focus {
text-decoration: underline;
}
p {
margin: 0 0 1rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0 0 0.75rem;
line-height: 1.2;
}
code {
font-family: var(--font-mono);
font-size: 0.95em;
background: var(--color-table-head);
padding: 0.125rem 0.375rem;
border-radius: var(--radius-sm);
}
.table {
width: 100%;
border-collapse: collapse;
margin: 1rem 0;
}
.table thead {
background: var(--color-table-head);
}
.table th,
.table td {
padding: 0.75rem;
text-align: left;
}
.table tbody tr:nth-child(even) {
background: var(--color-table-even);
}
.table tbody tr:hover {
background: var(--color-primary-hover);
}
.placeholder {
color: var(--color-placeholder);
font-style: italic;
}
.lead {
font-size: 1.05rem;
color: var(--color-text-secondary);
}

View File

@ -0,0 +1,229 @@
.site-header {
background: rgba(22, 27, 34, 0.95);
border-bottom: 1px solid rgba(125, 196, 255, 0.2);
position: sticky;
top: 0;
z-index: 1000;
}
.site-header__inner {
margin: 0 auto;
max-width: 1200px;
padding: 0.75rem 1.5rem;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 1rem;
}
.site-header__brand {
font-weight: 600;
font-size: 1.15rem;
}
.site-header__title {
flex: 1 1 auto;
font-size: 1.25rem;
color: rgba(244, 246, 251, 0.92);
}
.site-header__controls {
display: flex;
align-items: center;
gap: 0.75rem;
}
.data-mode-toggle {
display: flex;
flex-direction: column;
gap: 0.25rem;
font-size: 0.85rem;
}
.data-mode-toggle select {
border-radius: var(--radius-sm);
border: 1px solid var(--color-border);
background: var(--color-surface);
color: inherit;
padding: 0.25rem 0.5rem;
}
.data-mode-toggle small {
color: var(--color-text-muted);
}
.site-header__nav {
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
}
.site-header__nav a {
padding: 0.35rem 0.75rem;
border-radius: 999px;
transition: background 150ms ease;
outline: none;
}
.site-header__nav a:hover,
.site-header__nav a:focus {
background: rgba(125, 196, 255, 0.15);
}
.site-header__nav a:focus-visible {
box-shadow: 0 0 0 2px rgba(125, 196, 255, 0.7);
}
.page {
margin: 0 auto;
max-width: 1200px;
padding: 2rem 1.5rem 4rem;
}
@media (max-width: 768px) {
.site-header__inner {
justify-content: space-between;
}
.site-header__controls {
width: 100%;
justify-content: flex-start;
}
.site-header__nav {
width: 100%;
justify-content: space-between;
}
.site-header__nav a {
flex: 1 1 auto;
text-align: center;
}
}
.section-header {
display: flex;
flex-direction: column;
gap: 0.5rem;
margin-bottom: 1.5rem;
}
.addresses__table,
.blocks__table,
.transactions__table,
.receipts__table {
background: rgba(18, 22, 29, 0.85);
border-radius: 0.75rem;
overflow: hidden;
border: 1px solid rgba(125, 196, 255, 0.12);
}
.overview__grid {
display: grid;
gap: 1.5rem;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
background: rgba(18, 22, 29, 0.85);
border: 1px solid rgba(125, 196, 255, 0.12);
border-radius: 0.75rem;
padding: 1.25rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.stat-list {
list-style: none;
margin: 0;
padding: 0;
}
.stat-list li + li {
margin-top: 0.35rem;
}
.addresses__search {
display: grid;
gap: 0.75rem;
margin-bottom: 1.5rem;
background: rgba(18, 22, 29, 0.7);
border-radius: 0.5rem;
padding: 1rem 1.25rem;
border: 1px solid rgba(125, 196, 255, 0.12);
}
.addresses__input-group {
display: flex;
gap: 0.75rem;
}
.addresses__input-group input,
.addresses__input-group button {
border-radius: 0.5rem;
border: 1px solid rgba(125, 196, 255, 0.25);
padding: 0.5rem 0.75rem;
background: rgba(12, 15, 20, 0.85);
color: inherit;
outline: none;
transition: border-color 150ms ease, box-shadow 150ms ease;
}
.addresses__input-group input:focus-visible {
border-color: rgba(125, 196, 255, 0.6);
box-shadow: 0 0 0 2px rgba(125, 196, 255, 0.3);
}
.addresses__input-group button {
cursor: not-allowed;
}
.receipts__controls {
display: grid;
gap: 0.75rem;
margin-bottom: 1.5rem;
background: rgba(18, 22, 29, 0.7);
border-radius: 0.5rem;
padding: 1rem 1.25rem;
border: 1px solid rgba(125, 196, 255, 0.12);
}
.receipts__input-group {
display: flex;
gap: 0.75rem;
}
.receipts__input-group input,
.receipts__input-group button {
border-radius: 0.5rem;
border: 1px solid rgba(125, 196, 255, 0.25);
padding: 0.5rem 0.75rem;
background: rgba(12, 15, 20, 0.85);
color: inherit;
outline: none;
transition: border-color 150ms ease, box-shadow 150ms ease;
}
.receipts__input-group input:focus-visible {
border-color: rgba(125, 196, 255, 0.6);
box-shadow: 0 0 0 2px rgba(125, 196, 255, 0.3);
}
.receipts__input-group button {
cursor: not-allowed;
}
.site-footer {
margin: 0;
border-top: 1px solid rgba(125, 196, 255, 0.2);
background: rgba(22, 27, 34, 0.95);
}
.site-footer__inner {
margin: 0 auto;
max-width: 1200px;
padding: 1.25rem 1.5rem;
color: rgba(244, 246, 251, 0.7);
font-size: 0.9rem;
}

View File

@ -0,0 +1,38 @@
:root {
color-scheme: dark;
--font-base: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
--font-mono: "Fira Code", "Source Code Pro", Menlo, Consolas, monospace;
--color-bg: #0b0d10;
--color-surface: rgba(18, 22, 29, 0.85);
--color-surface-muted: rgba(18, 22, 29, 0.7);
--color-border: rgba(125, 196, 255, 0.12);
--color-border-strong: rgba(125, 196, 255, 0.2);
--color-text-primary: #f4f6fb;
--color-text-secondary: rgba(244, 246, 251, 0.7);
--color-text-muted: rgba(244, 246, 251, 0.6);
--color-primary: #7dc4ff;
--color-primary-hover: rgba(125, 196, 255, 0.15);
--color-focus-ring: rgba(125, 196, 255, 0.7);
--color-placeholder: rgba(244, 246, 251, 0.7);
--color-table-even: rgba(255, 255, 255, 0.02);
--color-table-head: rgba(255, 255, 255, 0.06);
--color-shadow-soft: rgba(0, 0, 0, 0.35);
--space-xs: 0.35rem;
--space-sm: 0.5rem;
--space-md: 0.75rem;
--space-lg: 1.25rem;
--space-xl: 2rem;
--radius-sm: 0.375rem;
--radius-md: 0.5rem;
--radius-lg: 0.75rem;
}
:root[data-mode="live"] {
--color-primary: #8ef9d0;
--color-primary-hover: rgba(142, 249, 208, 0.18);
--color-border: rgba(142, 249, 208, 0.12);
--color-border-strong: rgba(142, 249, 208, 0.24);
--color-focus-ring: rgba(142, 249, 208, 0.65);
}