/* make it responsive */ @media (min-width: 852px) { body { font-size: 14px; } } @media (max-width: 852px) { body { font-size: 12px; } } /* resets */ html, body { width: 100%; height: 100%; } *::-webkit-scrollbar { display: none; } * { -ms-overflow-style: none; scrollbar-width: none; } * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } /* default */ body { margin: 0; background-color: var(--primary-bg-color); color: var(--foreground-color); } h1, h2, h3, h4, h5, h6 { margin: 0em; } hr { width: 92%; } button { cursor: pointer; border: none; background-color: transparent; } button:hover { } button:active { } /* components */ .container { margin: 0 auto; padding: 1rem; } .centered { display: flex; flex-direction: column; justify-content: center; align-items: center; } .centered-w-only { position: absolute; left: 50%; transform: translateX(-50%); } .centered-h-only { position: absolute; top: 50%; transform: translateY(-50%); } .card { padding: 0; } .card-header { padding: 0.5rem 1rem; } .card-container { width: 96vw; height: 100%; gap: 1rem; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; } .clean-a { text-decoration: underline; text-decoration-color: #006fc1; text-decoration-thickness: 2px; color: inherit; } .hover-underline { text-decoration: underline; text-decoration-color: #228039; text-decoration-thickness: 2px; color: inherit; } .flex-horizontal { display: flex; flex-direction: row; justify-content: space-between; align-items: center; } .vertical-separator { padding: 0 0.5rem; } [x-cloak] { display: none !important; } pre { background-color: var(--tertiary-bg-color); padding: 1rem; border-radius: 10px; overflow-x: auto; position: relative; } code { font-family: monospace; font-size: 0.9em; } :not(pre) > code { background-color: var(--tertiary-bg-color); padding: 0.2em 0.4em; border-radius: 3px; } .clipboard-button { position: absolute; top: 0.5rem; right: 0.5rem; padding: 0.5rem; background-color: var(--secondary-color); color: var(--foreground-color); border: none; border-radius: 5px; cursor: pointer; transition: 0.2s; } .clipboard-button:hover { background-color: var(--primary-color); }