Something went wrong. Try again.
The native gardener's field companion
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387/* See the Tailwind configuration guide for advanced usage https://tailwindcss.com/docs/configuration */
@import "tailwindcss" source(none);@import "phoenix-colocated/bloom/colocated.css";@import "../vendor/leaflet.css";@source "../css";@source "../js";@source "../../lib/bloom_web";/* Required for Tailwind to automatically pick up changes in colocated CSS files in dev */@source "../../_build/dev/phoenix-colocated/bloom/*/";
/* A Tailwind plugin that makes "hero-#{ICON}" classes available. The heroicons installation itself is managed by your mix.exs */@plugin "../vendor/heroicons";
/* daisyUI Tailwind Plugin. */@plugin "daisyui/packages/bundle/daisyui" { themes: false;}
/* Eco-brutalist field notes: graph paper, ink rules, moss and lichen. Square corners, hard edges, no depth effects. */@plugin "daisyui/packages/bundle/daisyui-theme" { name: "light"; default: true; prefersdark: false; color-scheme: "light"; --color-base-100: #f2f6ec; --color-base-200: #e0e8d6; --color-base-300: #17180f; --color-base-content: #17180f; --color-primary: #2c4e1b; --color-primary-content: #eef3d2; --color-secondary: #a33f1a; --color-secondary-content: #f6ede6; --color-accent: #d3e26a; --color-accent-content: #17180f; --color-neutral: #17180f; --color-neutral-content: #edebe3; --color-info: #1f4a66; --color-info-content: #edebe3; --color-success: #4d7a28; --color-success-content: #edebe3; --color-warning: #d49a1c; --color-warning-content: #17180f; --color-error: #b0261c; --color-error-content: #f6ede6; --radius-selector: 0rem; --radius-field: 0rem; --radius-box: 0rem; --size-selector: 0.25rem; --size-field: 0.25rem; --border: 2px; --depth: 0; --noise: 0;}
@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;}
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap;}
@font-face { font-family: "Martian Mono"; src: url("/fonts/martian-mono.woff2") format("woff2"); font-weight: 100 800; font-stretch: 75% 112.5%; font-style: normal; font-display: swap;}
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap;}
@theme { --font-sans: "Archivo", ui-sans-serif, system-ui, sans-serif; --font-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace; --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
--color-ink: #17180f; --color-slab: #fbfcf8; --color-paper: #f2f6ec; --color-moss: #2c4e1b; --color-lichen: #d3e26a; --color-rust: #a33f1a;
/* The dark surfaces -- rail, field report band, keystone plate: a conifer shadow, so lichen on them reads botanical, not as type on a terminal */ --color-canopy: #1f3524;
/* Nativity, in the range map's hues */ --color-native: #2f6a22; --color-introduced: #a33f1a;
/* A plant's stage in a community, and an animal's on the watchlist */ --color-wanted: #b07a14; --color-planted: #5f8a2a; --color-established: #2f6a22; --color-to-remove: #a33f1a;
/* Support tiers as soil horizons: humus down to pale subsoil */ --color-stratum-caterpillars: #1d3212; --color-stratum-bees: #a0712b; --color-stratum-hosts: #3c5f25; --color-stratum-food: #6f8c36; --color-stratum-flowers: #b8cc55; --color-stratum-shelter: #e6e8c2;}
@utility font-display { font-family: var(--font-sans); font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: 0.84; letter-spacing: -0.01em; word-spacing: 0.1em;}
@utility font-wide { font-stretch: 125%;}
@utility label-mono { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; line-height: 1.35; text-transform: uppercase; letter-spacing: 0.06em;}
@utility shadow-hard { box-shadow: 6px 6px 0 0 var(--color-ink);}
@utility shadow-hard-sm { box-shadow: 3px 3px 0 0 var(--color-ink);}
@utility badge-native { --badge-color: var(--color-native); --badge-fg: var(--color-slab);}
@utility badge-introduced { --badge-color: var(--color-introduced); --badge-fg: var(--color-slab);}
/* Add variants based on LiveView classes */@custom-variant phx-click-loading (.phx-click-loading&, .phx-click-loading &);@custom-variant phx-submit-loading (.phx-submit-loading&, .phx-submit-loading &);@custom-variant phx-change-loading (.phx-change-loading&, .phx-change-loading &);
/* Make LiveView wrapper divs transparent for layout */[data-phx-session], [data-phx-teleported-src] { display: contents }
@layer base { /* :root:root outranks daisyUI's own :root background shorthand */ :root:root { background-color: var(--color-paper); /* a field notebook's graph paper */ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 .5H.5V48' fill='none' stroke='%23e9f0e2'/%3E%3C/svg%3E"); }
body { font-family: var(--font-sans); color: var(--color-ink); background: transparent; -webkit-font-smoothing: antialiased; }
/* Binomials read as handwriting on a herbarium label */ .italic, em, i { font-family: var(--font-serif); font-size-adjust: 0.5; font-synthesis-weight: none; letter-spacing: 0.01em; }
::selection { background: var(--color-lichen); color: var(--color-ink); }
:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 1rem; height: 1rem; cursor: pointer; background-color: var(--color-ink); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 3l10 10M13 3L3 13' stroke='black' stroke-width='2.5'/%3E%3C/svg%3E") center / contain no-repeat; }}
@layer components { :root .btn { font-family: var(--font-mono); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; border-width: 2px; border-color: var(--color-ink); box-shadow: none; transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease; }
:root .btn:not(.btn-ghost):hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 0 var(--color-ink); }
:root .btn:not(.btn-ghost):active { transform: translate(1px, 1px); box-shadow: none; }
:root .btn-ghost { border-color: transparent; }
:root .btn-ghost:hover { background-color: var(--color-lichen); border-color: var(--color-ink); }
:root .input, :root .select, :root .textarea { background-color: var(--color-slab); border: 2px solid var(--color-ink); box-shadow: none; }
:root .input:focus-within, :root .select:focus, :root .textarea:focus { outline: 3px solid var(--color-lichen); outline-offset: 0; box-shadow: 4px 4px 0 0 var(--color-ink); }
:root .label, :root .fieldset-legend { font-family: var(--font-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-ink); }
:root .badge { font-family: var(--font-mono); font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
:root .alert { border: 2px solid var(--color-ink); box-shadow: 6px 6px 0 0 var(--color-ink); }
:root .modal-box { border: 3px solid var(--color-ink); box-shadow: 12px 12px 0 0 var(--color-ink); background-color: var(--color-slab); }
:root .checkbox { border-width: 2px; border-color: var(--color-ink); }
:root .table :where(thead) { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-ink); border-bottom: 2px solid var(--color-ink); }
.specimen-photo { transition: transform 300ms ease; }
/* A slab that lifts off its shadow under the pointer and presses flat on click */ .press { transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease; }
.press:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 0 var(--color-ink); }
.press:active { transform: translate(0, 0); box-shadow: none; }
/* The specimen drawer: cells share their ink rules */ .specimens { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); border-top: 2px solid var(--color-ink); border-left: 2px solid var(--color-ink); }
.specimens > * { background-color: var(--color-slab); border-right: 2px solid var(--color-ink); border-bottom: 2px solid var(--color-ink); min-width: 0; }
/* The page column and its gutter. Past the column's width the gutter takes the slack, so a wide screen centres the body beside the rail instead of pressing it against one. Anything marked .bleed pulls back out to the frame's edges, whatever the gutter is. */ .page { --gutter: 1rem; padding-inline: var(--gutter); }
@media (min-width: 40rem) { .page { --gutter: 2rem } }
/* Where the rail becomes a column, its 17rem come off the measure first. */ @media (min-width: 64rem) { .page { --gutter: max(3rem, (100vw - 17rem - 80rem) / 2) } }
.bleed { margin-inline: calc(-1 * var(--gutter)); }
@media (prefers-reduced-motion: reduce) { .press, .specimen-photo, :root .btn { transition: none; } }}
html:has([data-sheet]:popover-open) { overflow: hidden }
/* Unlayered, so it outranks daisyUI's soft variant, which sits in the utilities layer */.btn-soft.btn-primary { --btn-bg: var(--color-slab); --btn-fg: var(--color-ink); --btn-border: var(--color-ink);}
.btn-soft.btn-primary:hover { --btn-bg: var(--color-lichen);}