diff options
author | houston[bot] <astrobot-houston@users.noreply.github.com> | 2025-08-10 16:30:08 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-08-11 18:30:29 -0700 |
commit | 941cd2cb0ff2b9f40c424f3b36d59064e1e8fdb9 (patch) | |
tree | 43a1306ce3d6419ffbe042c328dbf9e372691198 /public/styles/styles.css | |
download | coffee-941cd2cb0ff2b9f40c424f3b36d59064e1e8fdb9.tar.gz coffee-941cd2cb0ff2b9f40c424f3b36d59064e1e8fdb9.zip |
Initial commit
Diffstat (limited to 'public/styles/styles.css')
-rw-r--r-- | public/styles/styles.css | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/public/styles/styles.css b/public/styles/styles.css new file mode 100644 index 0000000..5208191 --- /dev/null +++ b/public/styles/styles.css @@ -0,0 +1,87 @@ +@import url("./theme.css"); + +@font-face { + font-family: "fantasque"; + src: url("/fonts/fantasque.woff"); +} + +:root { + --content-padding: 2rem; + --border-radius: 10px; + + --font: "fantasque"; + --font-fallback: monospace; +} + +/* <global> */ +* { + cursor: url("/img/cursor/regular.png"), auto !important; + + box-sizing: border-box; + margin: 0; + padding: 0; +} +/* </global> */ + +/* <layout> */ +html { + display: flex; + justify-content: center; + min-height: 100vh; + padding: var(--content-padding); + + color: var(--foreground); + font-family: var(--font), var(--font-fallback); + + background-image: url("/img/background.gif"); + background-repeat: no-repeat; + background-size: cover; + background-position: center center; + background-clip: border-box; + image-rendering: pixelated; +} + +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); + + overflow-y: scroll; +} +/* </layout> */ + +/* <typography> */ +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)); +} +/* </typography> */ + +/* <footer> */ +.blinkies { + display: flex; + justify-content: left; + flex-wrap: wrap; + gap: 10px 10px; +} +/* </footer> */ |