@charset "UTF-8"; :root { --primary-color: #000; --primary-background: #ddd; --header-background: var(--soft-color); --header-color: #ccc; --input-background: #fff; --input-color: #000; --primary-color: #000; --soft-color: #146; --accent-color: #f80; --transition-time: 0.2s; /* The following are overridden by responsive layouts */ --root-font-size: 1rem; --header-font-size: clamp(0.7rem, 2.5vw, 1rem); --header-height: clamp(2.8rem, 10vw, 4rem); } @media (prefers-color-scheme: dark) { :root { --primary-color: #ddd; --primary-background: var(--soft-color); --header-background: #000; --header-color: #ccc; --input-background: var(--soft-color); --input-color: #ddd; } } @media screen and (max-width: 600px) { .size, .modified, .summary { display: none; } } @media screen and (min-width: 1000px) { :root { --root-font-size: calc(8px + 8 * 100vw / 1000); --header-font-size: 16px; } } @media screen and (min-width: 2000px) { :root { --root-font-size: 1.5rem; } } @media screen and (orientation: landscape) and (min-width: 700px) { /* Breadcrumbs and buttons side by side */ header { display: flex; justify-content: space-between; } header .headermain { order: 1; } header .breadcrumb { align-self: stretch; } } /* Directory navigation slide transitions */ .transition-wrapper { display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr; height: 100%; } .explorer-content { grid-area: 1 / 1; height: 100%; } .slide-forward-enter-active, .slide-backward-enter-active { z-index: 2; } .slide-forward-leave-active, .slide-backward-leave-active { z-index: 1; } .slide-forward-enter-active, .slide-forward-leave-active, .slide-backward-enter-active, .slide-backward-leave-active { transition: transform 0.22s cubic-bezier(0.32, 0.72, 0, 1); } .slide-forward-enter-from { transform: translate3d(100%, 0, 0); } .slide-forward-enter-to { transform: translate3d(0, 0, 0); } .slide-forward-leave-from { transform: translate3d(0, 0, 0); } .slide-forward-leave-to { transform: translate3d(-100%, 0, 0); } .slide-backward-enter-from { transform: translate3d(-100%, 0, 0); } .slide-backward-enter-to { transform: translate3d(0, 0, 0); } .slide-backward-leave-from { transform: translate3d(0, 0, 0); } .slide-backward-leave-to { transform: translate3d(100%, 0, 0); } @media print { :root { --primary-color: black; --primary-background: none; --header-background: none; --header-color: black; } .headermain, .menu, .rename-button { display: none !important; } .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; margin: 0 .5rem 0 1rem !important; } body#app { position: static !important; height: auto !important; } main { padding-bottom: 0 !important; } thead tr { font-size: 1rem !important; position: static !important; background: none !important; border-bottom: 1pt solid black !important; } audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline { display: none; } audio::-webkit-media-controls, video::-webkit-media-controls { display: none; } tr, figure { page-break-inside: avoid; } .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); left: 0; } } * { box-sizing: border-box; } html { font-size: var(--root-font-size); overflow: hidden; } main { -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ } body { background-color: var(--primary-background); font-size: 1rem; font-family: "Roboto"; color: var(--primary-color); margin: 0; /* Prevent any scrolling on body */ overflow: hidden; /* Fallback for older browsers */ height: 100vh; height: 100dvh; } tbody .size, tbody .modified { font-family: "Roboto Mono"; } header { flex: 0 0 auto; background-color: var(--header-background); color: var(--header-color); font-size: var(--header-font-size); } 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; } body#app { position: fixed; inset: 0; display: flex; flex-direction: column; } main { flex: 1 1 auto; min-height: 0; /* Allow flex child to shrink below content size */ padding-bottom: 3em; /* convenience space on the bottom */ overflow-y: scroll; overflow-x: hidden; position: relative; text-align: center; } header nav.headermain { /* Position so that tooltips can appear on top of other positioned elements */ position: relative; z-index: 100; } .spacer { flex-grow: 1; } .smallgap { flex-shrink: 1; width: 2em; } .error-message { padding: .5em; font-weight: bold; background: var(--accent-color); color: #000; } .ghost { opacity: 0.5; }