Something went wrong. Try again.
My website, danielmorrisey.com. Written in HTML, CSS and javascript, by hand. danielmorrisey.com
javascript html css wisp-place
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511:root { --bg-deep: #100b09; --bg: #1c1310; --bg-raised: #251a15; --bg-card: #2e2018; --border: #3d2b1f; --border-hover:#5c3d28; --text: #f4deb8; --text-muted: #e8c28a; --text-dim: #b37a48; --accent: #d4975c; --accent-bright:#e8c28a; --accent-dim: rgba(212, 151, 92, 0.14); --green: #4caf7d; --red: #e06c6c; --font-serif: 'Lota', Georgia, 'Times New Roman', serif; --font-mono: 'Sometype Mono', 'Monaco', 'Courier New', monospace; --font-sans: 'DM Sans', system-ui, sans-serif; --radius: 10px; --transition: 0.2s ease; --max-w: 680px;}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-serif); font-size: 16px; line-height: 1.7; color: var(--text); background-color: var(--bg); -webkit-font-smoothing: antialiased;}
/* ── Typography ── */
h1, h2, h3 { font-family: var(--font-mono); font-weight: 600; line-height: 1.2;}
a { color: var(--accent); text-decoration: none; transition: opacity var(--transition);}a:hover { opacity: 0.75; }
code { font-family: var(--font-mono); font-size: 0.875em; background: var(--bg-raised); padding: 0.15em 0.4em; border-radius: 4px; color: var(--accent); word-break: break-all;}
/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);}
.nav-container { max-width: var(--max-w); margin: 0 auto; padding: 0.875rem 1.5rem; display: flex; justify-content: space-between; align-items: center;}
.nav-logo { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--text);}.nav-logo:hover { opacity: 0.6; }
.nav-menu { list-style: none; display: flex; gap: 1.5rem;}
.nav-menu a { font-size: 0.875rem; color: var(--text-muted); letter-spacing: 0.01em;}.nav-menu a:hover { color: var(--text); opacity: 1; }
.nav-dropdown { position: relative;}.nav-dropdown details { position: relative;}.nav-dropdown summary { list-style: none; cursor: pointer; font-size: 0.875rem; color: var(--text-muted); letter-spacing: 0.01em; display: inline-flex; align-items: center; gap: 0.25rem;}.nav-dropdown summary::-webkit-details-marker { display: none; }.nav-dropdown summary:hover,.nav-dropdown details[open] summary { color: var(--text);}.nav-dropdown .dropdown-menu { position: absolute; left: 0; top: calc(100% + 0.5rem); min-width: 220px; margin: 0; padding: 0.5rem 0; background: var(--bg); border: 1px solid var(--border); border-radius: 0.75rem; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08); list-style: none; z-index: 200; display: none;}.nav-dropdown details[open] .dropdown-menu { display: block; }.nav-dropdown .dropdown-menu li { white-space: nowrap; }.nav-dropdown .dropdown-menu a,.nav-dropdown .dropdown-disabled { display: block; padding: 0.5rem 1rem; color: var(--text-muted); font-size: 0.875rem;}.nav-dropdown .dropdown-menu a:hover { background: rgba(255,255,255,0.04); color: var(--text);}.nav-dropdown .dropdown-disabled { cursor: default; color: var(--text-dim); }.nav-dropdown summary:focus { outline: none; }@media (max-width: 600px) { .nav-dropdown .dropdown-menu { position: static; box-shadow: none; border: none; }}
/* ── Main ── */
.main-content { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem;}
/* ── Hero ── */
.hero { padding: 4rem 0 3rem;}
.hero-eyebrow { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.25rem; letter-spacing: 0.04em;}
.hero-title { font-size: clamp(2.5rem, 6vw, 3.5rem); color: var(--text); margin-bottom: 1.25rem; letter-spacing: -0.02em;}
.hero-bio { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.8; max-width: 560px; margin-bottom: 1.5rem;}
.hero-bio a { color: var(--accent); border-bottom: 1px solid var(--accent-dim); transition: border-color var(--transition), opacity var(--transition);}.hero-bio a:hover { opacity: 1; border-bottom-color: var(--accent);}
/* ── Sections ── */
.content-section { padding: 2.5rem 0; border-top: 1px solid var(--border);}
.section-label { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 1.25rem;}
/* ── Try it card ── */
.try-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;}
.try-card-body { padding: 1.25rem; }
.url-row { display: flex; gap: 0.5rem; align-items: center;}
.url-input { flex: 1; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 999px; padding: 0.6rem 1rem; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--text); outline: none; transition: border-color var(--transition);}.url-input::placeholder { color: var(--text-dim); }.url-input:focus { border-color: var(--accent); }
/* ── Larger toggle ── */
.larger-toggle { display: flex; align-items: center; gap: 0.375rem; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--text-dim); cursor: pointer; white-space: nowrap; flex-shrink: 0; user-select: none; transition: color var(--transition);}.larger-toggle:hover { color: var(--text-muted); }
.larger-toggle input[type="checkbox"] { accent-color: var(--accent); width: 0.875rem; height: 0.875rem; cursor: pointer;}
.try-btn { background: var(--accent); color: var(--bg); border: none; border-radius: 999px; padding: 0.6rem 1.25rem; font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500; cursor: pointer; white-space: nowrap; transition: opacity var(--transition); flex-shrink: 0;}.try-btn:hover { opacity: 0.85; }.try-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.try-result { display: none; margin-top: 1rem;}.try-result.show { display: block; }
/* ── Favicon result preview ── */
.result-favicon-wrap { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-raised); padding: 1.25rem; margin-bottom: 0.875rem; display: flex; align-items: center; gap: 2rem;}
.favicon-sizes { display: flex; align-items: flex-end; gap: 1.25rem; flex-shrink: 0;}
.favicon-size-item { display: flex; flex-direction: column; align-items: center; gap: 0.375rem;}
.favicon-size-item span { font-family: var(--font-mono); font-size: 0.625rem; color: var(--text-dim); letter-spacing: 0.04em;}
.favicon-size-item img { display: block; image-rendering: auto; border-radius: 3px; background: var(--bg-card);}
.favicon-size-large img { width: 64px; height: 64px; object-fit: contain;}
/* ── Result URL row ── */
.result-url-row { display: flex; align-items: center; gap: 0.5rem;}
.result-url-box { flex: 1; font-family: var(--font-mono); font-size: 0.775rem; padding: 0.5rem 0.875rem; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 8px; color: var(--text-muted); word-break: break-all; line-height: 1.5;}
.copy-btn { background: var(--bg-raised); border: 1px solid var(--border); border-radius: 999px; padding: 0.5rem 1rem; font-family: var(--font-sans); font-size: 0.8125rem; color: var(--text-muted); cursor: pointer; white-space: nowrap; transition: border-color var(--transition), color var(--transition); flex-shrink: 0;}.copy-btn:hover { border-color: var(--accent); color: var(--accent); }.copy-btn.copied { background: var(--green); border-color: var(--green); color: var(--bg); }
.try-error { display: none; font-size: 0.875rem; color: var(--red); margin-top: 0.75rem;}.try-error.show { display: block; }
.try-card-meta { font-size: 0.8125rem; color: var(--text-dim); padding: 0.75rem 1.25rem; border-top: 1px solid var(--border);}
/* ── Usage examples ── */
.usage-list { display: flex; flex-direction: column; gap: 1.25rem;}
.usage-item h3 { font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500; color: var(--text); margin-bottom: 0.375rem;}
.usage-item p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.5rem; line-height: 1.6;}
.code-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.875rem 1rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); overflow-x: auto; line-height: 1.7; white-space: pre;}
.code-block .hl { color: var(--accent); }
/* ── How it works ── */
.steps { display: flex; flex-direction: column;}
.step { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border);}.step:last-child { border-bottom: none; }
.step-num { flex-shrink: 0; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 500; color: var(--accent); margin-top: 0.1rem; font-family: var(--font-mono);}
.step-body h3 { font-family: var(--font-serif); font-size: 0.9375rem; font-weight: 400; color: var(--text); margin-bottom: 0.2rem;}.step-body p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7;}
/* ── Footer ── */
.site-footer { max-width: var(--max-w); margin: 0 auto; padding: 2.5rem 1.5rem 3rem; border-top: 1px solid var(--border); font-size: 0.8125rem; color: var(--text-dim); line-height: 1.8;}
.site-footer a { color: var(--text-muted); }.site-footer a:hover { color: var(--text); opacity: 1; }
/* ── Responsive ── */
@media (max-width: 600px) { .hero { padding: 2.5rem 0 2rem; } .url-row { flex-wrap: wrap; } .larger-toggle { order: 3; width: 100%; padding-left: 0.25rem; } .try-btn { border-radius: var(--radius); } .nav-menu { display: none; } .result-favicon-wrap { flex-direction: column; align-items: flex-start; gap: 1rem; } .favicon-sizes { gap: 1rem; }}