body { padding: 20px; display: flex; flex-direction: column; min-height: 100vh; margin: 0; } h1 { margin-bottom: 20px; } table { width: 100%; } th, td { text-align: left; } .account-balance { font-size: 1.5em; margin-bottom: 20px; } footer { margin-top: 20px; background-color: #f8f9fa; padding: 20px; border-top: 1px solid #e7e7e7; flex-shrink: 0; } .container { flex: 1 0 auto; } a[rel="me"] { display: none; } .dropdown { display: flex; justify-content: flex-end; margin-right: 20px; } header .d-flex { display: flex; justify-content: space-between; align-items: center; } header h1 { flex-grow: 1; text-align: center; } /* Hlavní tabulka - beze změn */ #finance-table { width: 100%; margin-top: 20px; border-collapse: collapse; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); border-radius: 8px; overflow: hidden; } /* Hlavička tabulky */ #finance-table th { background-color: #343a40; color: #fff; text-transform: uppercase; padding: 12px 18px; text-align: center; } /* Řádky tabulky */ #finance-table td { padding: 10px 15px; text-align: left; border-bottom: 1px solid #ddd; } /* Speciální úpravy pro archivní tabulku */ .archive-table-container { max-width: 1000px; /* Pevná maximální šířka tabulky */ width: 100%; margin: 0 auto; /* Centrované umístění */ padding: 20px; } /* Archivní tabulka - nebude přes celý monitor */ .archive-table { width: 100%; border-collapse: collapse; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); border-radius: 8px; overflow: hidden; } /* Zvýraznění řádků pro archivní tabulku */ .archive-table tbody tr:nth-child(even) { background-color: #d9d9d9; /* O něco tmavší šedá */ } .archive-table tbody tr:nth-child(odd) { background-color: #f2f2f2; /* O něco světlejší šedá */ } /* Barevné odlišení příjmů a výdajů pro archivní tabulku */ .archive-table td.pozitivni { color: #218838; /* Sytější zelená */ font-weight: bold; } .archive-table td.negativni { color: #c82333; /* Sytější červená */ font-weight: bold; } /* Responzivní design */ @media (max-width: 768px) { .archive-table-container { max-width: 100%; /* Na mobilech bude tabulka široká 100% */ } #finance-table th, #finance-table td { padding: 8px; font-size: 14px; } } /* Zvýraznění nadpisu archivu */ .archive-title { text-align: center; font-size: 26px; font-weight: bold; color: #343a40; text-transform: uppercase; margin-bottom: 20px; border-bottom: 3px solid #218838; padding-bottom: 8px; }