From b61e8e88661d05a0c3a0e133a6d277c5362a785d Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Sun, 1 Feb 2026 10:10:40 -0700 Subject: [PATCH] chore(fmt): format css --- docs/static/style.css | 28 +++++++++++++++++++--------- treefmt.toml | 2 +- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/docs/static/style.css b/docs/static/style.css index 2b63399..ba24d40 100644 --- a/docs/static/style.css +++ b/docs/static/style.css @@ -24,7 +24,8 @@ html { } body { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; + font-family: + -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; background: var(--bg); color: var(--fg); display: grid; @@ -82,7 +83,9 @@ body { text-decoration: none; padding: 0.5rem 0.75rem; border-radius: 6px; - transition: background 0.15s, color 0.15s; + transition: + background 0.15s, + color 0.15s; } .sidebar nav a:hover { @@ -272,7 +275,8 @@ a:hover { /* Code */ code { - font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, monospace; + font-family: + ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, monospace; font-size: 0.875em; background: var(--code-bg); padding: 0.2em 0.4em; @@ -499,7 +503,9 @@ th { height: 2px; background: var(--fg); border-radius: 1px; - transition: transform 0.3s ease, opacity 0.3s ease; + transition: + transform 0.3s ease, + opacity 0.3s ease; transform-origin: center; } @@ -555,7 +561,11 @@ th { max-height: 0; overflow: hidden; opacity: 0; - transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease, padding-top 0.3s ease; + transition: + max-height 0.3s ease, + opacity 0.3s ease, + margin-top 0.3s ease, + padding-top 0.3s ease; } /* Show nav when checkbox is checked - checkbox is inside header now */ @@ -570,15 +580,15 @@ th { } /* Hamburger → X morph animation */ - .nav-toggle:checked~.hamburger span:nth-child(1) { + .nav-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); } - .nav-toggle:checked~.hamburger span:nth-child(2) { + .nav-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; } - .nav-toggle:checked~.hamburger span:nth-child(3) { + .nav-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } @@ -611,4 +621,4 @@ th { td code { white-space: normal; } -} \ No newline at end of file +} diff --git a/treefmt.toml b/treefmt.toml index 7afdaf7..28d096c 100644 --- a/treefmt.toml +++ b/treefmt.toml @@ -19,7 +19,7 @@ options = ["fmt", "-o", "align_entries=true", "-o", "reorder_keys=true"] [formatter.prettier] command = "prettier" excludes = ["*/sources.json"] -includes = ["*.json", "*.md", "*.yaml", "*.yml"] +includes = ["*.json", "*.md", "*.yaml", "*.yml", "*.css"] options = ["--write"] [formatter.rustfmt]