*, *::before, *::after { box-sizing: inherit; } html { box-sizing: border-box; } body { margin: 0; padding: 0; width: 100%; height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; background-color: var(--md-sys-color-surface-container-low); color: var(--md-sys-color-on-surface); } .downloading-icon { --md-icon-size: 4rem; } .downloading-splash { display: flex; align-items: center; justify-content: center; text-align: center; flex-direction: column; gap: 0.5rem; overflow: visible; } .downloading-splash h1 { margin-top: 0; } #out { flex-grow: 1; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: width 500ms ease, height 500ms ease, border-radius 300ms ease, margin 500ms ease, padding 500ms ease; transition-delay: 500ms; } /* HTML styles for the splash screen */ .avalonia-splash { width: 100%; flex-grow: 1; display: flex; flex-direction: column; } .avalonia-canvas { z-index: 1; } html, p, a, h1, h2, h3, h4, h5, h6 { font-family: "Google Sans Flex", system-ui, sans-serif; font-variation-settings: 'ROND' 100; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: var(--md-sys-color-on-surface); } .loading { display: flex; flex-direction: column; justify-content: center; align-items: center; pointer-events: none; user-select: none; } .topbar { flex-shrink: 0; display: flex; align-items: center; padding-left: 0.5rem; padding-right: 0.5rem; gap: 0.5rem; height: 3rem; transition: height 500ms ease, padding 500ms ease, margin 500ms ease; transition-delay: 500ms; } .topbar.collapse { height: 0; margin: 0; padding: 0; pointer-events: none; user-select: none; overflow: hidden; } .content { width: 100%; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; } .pane { box-sizing: border-box; width: 95%; flex-grow: 1; margin-bottom: 2rem; overflow: auto; background-color: var(--md-sys-color-surface); border-radius: 3rem; } #out.pane:has(.avalonia-splash.fullscreen) { border-radius: 0; margin: 0; padding: 0; width: 100%; } .loading-progress { width: 50%; } .topbar .logo { --md-icon-size: 2rem; } .avalonia-splash.fullscreen { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 200ms ease, visibility 200ms ease; }