@font-face { font-family: 'fantasque'; src: url('/fonts/fantasque.woff'); } :root { --content-padding: 2rem; --border-radius: 10px; --font: 'fantasque'; --font-fallback: monospace; } /* */ * { cursor: url('/img/cursor/regular.png'), auto !important; color: var(--foreground); font-family: var(--font), var(--font-fallback); box-sizing: border-box; margin: 0; padding: 0; } /* */ /* */ html { display: flex; justify-content: center; min-height: 100vh; padding: var(--content-padding); background-image: url('/img/background.jpg'); background-repeat: repeat; } body { display: grid; grid-template-rows: auto 1fr auto; padding: var(--content-padding); padding-left: auto; border-radius: var(--border-radius); min-height: calc(100vh - 2 * var(--content-padding)); width: 100%; max-width: 1200px; background-color: var(--background-body); backdrop-filter: blur(16px); } main { height: 100%; overflow-y: scroll; } /* */ /* */ h1 { font-size: 3rem; } h2 { font-size: 2rem; } h3 { font-size: 1.45rem; } hr { margin: 1rem; border: 0; height: 1px; background-image: linear-gradient( to right, rgba(0, 0, 0, 0.1), var(--foreground), rgba(0, 0, 0, 0.1) ); } a { color: var(--regular6); } /* */ /* */ /*
*/ textarea { height: 30rem; border: 3px solid var(--regular3); padding: 1rem; border-radius: 4px; background: none; resize: vertical; } textarea:hover { cursor: url('/img/cursor/hover.png'), auto !important; } *:focus { border-color: var(--regular6); outline: none; transition: border-color 0.5s; } /*
*/ /* */ .maybe-visible { transition: opacity 0.5s; } .visible { opacity: 1; } .invisible { opacity: 0; } /* */ /* */ button { background: none; display: block; border: 3px solid var(--regular3); border-radius: 4px; width: 100%; padding: 8px; } button:hover { cursor: url('/img/cursor/hover.png'), auto !important; border: 3px solid var(--regular6); transition: border-color 0.2s; } /* */