feat(*.php, *.psql): deduplicate API code + performance improvements

This commit is contained in:
Cory Dransfeldt 2025-04-22 12:39:42 -07:00
parent cf3dac8a46
commit 4bad005e58
No known key found for this signature in database
31 changed files with 502 additions and 666 deletions

View file

@ -6,22 +6,6 @@
font-display: swap;
}
@font-face {
font-family: 'Lexend';
src: url('/assets/fonts/ll.woff2') format('woff2');
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Lexend';
src: url('/assets/fonts/lb.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Space Grotesk";
src: url("/assets/fonts/sg.woff2") format("woff2");

View file

@ -1,7 +1,7 @@
html,
body {
font-family: var(--font-body);
font-weight: var(--font-weight-light);
font-weight: var(--font-weight-regular);
color: var(--text-color);
background: var(--background-color);
}

View file

@ -71,7 +71,7 @@
--border-gray: 1px solid var(--gray-light);
/* fonts */
--font-body: "Lexend", -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, Cantarell, Ubuntu, roboto, noto, helvetica, arial, sans-serif;
--font-body: Helvetica Neue, Helvetica, Arial, sans-serif;
--font-heading: "Space Grotesk", "Arial Black", "Arial Bold", Gadget, sans-serif;
--font-code: "MonoLisa", SFMono-Regular, Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
@ -84,7 +84,6 @@
--font-size-2xl: 1.45rem;
--font-size-3xl: 1.6rem;
--font-weight-light: 300;
--font-weight-regular: 400;
--font-weight-bold: 700;

View file

@ -54,7 +54,7 @@ dialog {
font-size: var(--font-size-lg);
}
h1, h2, h3 {
* {
margin-top: 0;
}