@charset "UTF-8"; :root { --primary-color: #000; --primary-background: #ddd; --header-background: #246; --header-color: #ccc; --primary-color: #000; --accent-color: #f80; --transition-time: 0.2s; } @media (prefers-color-scheme: dark) { :root { --primary-color: #ddd; --primary-background: #003; --header-background: #000; --header-color: #ccc; } } @media screen and (orientation: portrait) and (max-width: 600px) { .size, .modified { display: none; } } @media screen and (min-width: 800px) and (--webkit-min-device-pixel-ratio: 2) { html { font-size: 1.5rem; } header .buttons:has(input[type='search']) > div { display: none; } header .buttons > div:has(input[type='search']) { display: inherit; } } @media screen and (min-width: 1400px) and (--webkit-min-device-pixel-ratio: 3) { html { font-size: 2rem; } } @media print { :root { --primary-color: black; --primary-background: none; --header-background: none; --header-color: black; } nav, .menu, .rename-button { display: none; } .breadcrumb > a { color: black !important; background: none !important; padding: 0 !important; margin: 0 !important; clip-path: none !important; max-width: none !important; } .breadcrumb > a::after { content: '/'; } .breadcrumb svg { fill: black !important; } main { height: auto !important; padding-bottom: 0 !important; } thead tr { position: static !important; background: none !important; border-bottom: 1pt solid black !important; } .selection { min-width: 0 !important; padding: 0 !important; } .selection input { display: none } .selection input:checked { display: inherit; } tbody .selection input:checked { opacity: 1 !important; transform: scale(0.5); top: 0.1rem !important; left: -0.3rem !important; } } /* Hide scrollbar for all browsers */ main::-webkit-scrollbar { display: none; } main { -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ } body { background-color: var(--primary-background); font-size: 1rem; font-family: 'Roboto', sans-serif; color: var(--primary-color); margin: 0; } tbody .size, tbody .modified { font-family: 'Roboto Mono'; } header { background-color: var(--header-background); color: var(--header-color); } main { height: 100%; } ::selection { color: #000; background: yellow !important; } button { font: inherit; color: inherit; margin: 0; border: 0; padding: 0; background: none; cursor: pointer; min-width: 1rem; min-height: 1rem; } input { margin: 0; } :focus { outline: none; } a:link, a:visited, a:active, a:hover { color: var(--primary-color); text-decoration: none; } table { border-collapse: collapse; border-spacing: 0; border: 0; gap: 0; } #app { height: 100%; display: flex; flex-direction: column; } main { height: calc(100svh - 9rem); /* fill almost the rest of the screen after header */ padding-bottom: 3rem; /* convenience space on the bottom */ overflow-y: scroll; }