@import "../../node_modules/@fortawesome/fontawesome-free/css/all.css";
@import "@fontsource/b612-mono/400.css";
@import "@fontsource/b612-mono/700.css";
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Reaction emoji: tinted with the theme primary (the #emoji-tint SVG filter
in root.html) until their button, badge or Focus tile is hovered or
focused. */
.emoji-tint { filter: url(#emoji-tint); opacity: .85; transition: opacity 150ms; }
.group\/react:hover .emoji-tint,
.group\/react:focus-visible .emoji-tint,
.group\/tile:hover .emoji-tint,
.group\/tile:focus-visible .emoji-tint { filter: none; opacity: 1; }
/* htmx request indicator helpers */
.htmx-indicator { opacity: 0; transition: opacity 300ms ease-in; }
.htmx-request .htmx-indicator { opacity: 1; }
.htmx-request.htmx-indicator { opacity: 1; }
/* Post bodies (.prose, src/markdown.rs): code and footnotes in the theme's
own colours rather than typography's fixed greys, in every theme. */
.prose :where(pre) {
background-color: oklch(var(--b3));
color: oklch(var(--bc));
border: 1px solid oklch(var(--bc) / 0.12);
border-radius: var(--rounded-box, 0.5rem);
padding: 0.75rem 1rem;
overflow-x: auto;
font-size: 0.85em;
line-height: 1.5;
}
.prose :where(:not(pre) > code) {
background-color: oklch(var(--b2));
color: oklch(var(--bc));
border-radius: 0.25rem;
padding: 0.1em 0.35em;
font-weight: 500;
}
.prose :where(:not(pre) > code)::before,
.prose :where(:not(pre) > code)::after { content: none; }
.prose :where(pre code) { background: transparent; color: inherit; padding: 0; }
.prose .footnote-reference { font-size: 0.75em; line-height: 0; }
.prose .footnote-reference a { text-decoration: none; }
.prose .footnote-definition {
display: flex;
gap: 0.5em;
font-size: 0.85em;
margin-top: 0.5rem;
padding-top: 0.25rem;
border-top: 1px solid oklch(var(--bc) / 0.12);
}
.prose .footnote-definition + .footnote-definition { border-top: 0; margin-top: 0; }
.prose .footnote-definition > p { margin: 0; }
.prose .footnote-definition-label { opacity: 0.7; }
.prose .footnote-definition:target { background-color: oklch(var(--p) / 0.12); border-radius: 0.25rem; }
neiam
/recourse
public · Issues · Pulls · Labels · Forks · Compare · Actions success · Badges · Packages
⭐
Log in to mark this repository.
2.1 KiB · text
History
7250478