From 507c972ecafeceaf4f8962ad881f8fb50c9b86c1 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sat, 4 Oct 2025 17:37:22 -0700 Subject: paste art --- src/styles/styles.css | 140 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 src/styles/styles.css (limited to 'src/styles/styles.css') diff --git a/src/styles/styles.css b/src/styles/styles.css new file mode 100644 index 0000000..1bf4663 --- /dev/null +++ b/src/styles/styles.css @@ -0,0 +1,140 @@ +@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; +} +/* */ -- cgit v1.2.3-70-g09d2