html { height: 100%; font-size: 8px; --nimiq-size: 1rem; font-family: Muli, system-ui, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; --nimiq-gray: #F4F4F5; --nimiq-gray-bg: radial-gradient(circle at bottom right, #F4F4F4, var(--nimiq-gray)); } .loading-screen { display: none; } .loading-screen > .loading { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-grow: 1; padding-bottom: 9.5rem /* height of header */ } body.preparing > .loading-screen { display: flex; visibility: visible !important; min-height: 100%; display: flex; flex-direction: column; align-items: center; padding: 0 1rem; } #app > .logo, .loading-screen > .logo { box-sizing: content-box; width: calc(100% - 2 * 2rem); /* minus padding */ padding: 3rem 2rem; flex-shrink: 0; color: var(--nimiq-blue); } .nq-icon { width: 1em; height: 1em; background-repeat: no-repeat; background-position: center; display: inline-block; background-size: 100%; background-size: contain; } .nq-icon.nimiq-logo { background-image: url('data:image/svg+xml,'); } .logo { --signet-width: 3.5rem; height: var(--signet-width); box-sizing: border-box; font-size: calc(.75 * var(--signet-width)); display: flex; align-items: center; color: var(--nimiq-blue); } .logo .nimiq-logo { height: var(--signet-width); width: var(--signet-width); margin-right: calc(.382 * var(--signet-width)); /* 0.382 times the signet width following the style guide */ } .logo .logo-wordmark { font-weight: bold; text-transform: uppercase; letter-spacing: .08em; margin-left: -.1em; /* subtract small margin before letter N present in font */ } #loading-spinner .big-hex { stroke-dashoffset: -40.5; animation: loading-big-hex 4s cubic-bezier(0.76, 0.29, 0.29, 0.76) infinite; } #loading-spinner .small-hex { stroke-dashoffset: 13; animation: loading-small-hex 4s cubic-bezier(0.76, 0.29, 0.29, 0.76) infinite; } @keyframes loading-big-hex { 0% { stroke-dashoffset: -40.5 } 17% { stroke-dashoffset: -15.08 } 33% { stroke-dashoffset: 10.33 } 50% { stroke-dashoffset: 35.75 } 67% { stroke-dashoffset: 61.17 } 83% { stroke-dashoffset: 86.58 } 100% { stroke-dashoffset: 112 } } @keyframes loading-small-hex { 0% { stroke-dashoffset: 13 } 17% { stroke-dashoffset: 38.42 } 33% { stroke-dashoffset: 63.84 } 50% { stroke-dashoffset: 89.25 } 67% { stroke-dashoffset: 114.66 } 83% { stroke-dashoffset: 140.08 } 100% { stroke-dashoffset: 165.5 } } @media (max-width: 450px) { html { font-size: 7px; } }