chore(fmt): format css

This commit is contained in:
Timothy DeHerrera
2026-02-01 10:10:40 -07:00
parent e607454af6
commit b61e8e8866
2 changed files with 20 additions and 10 deletions

28
docs/static/style.css vendored
View File

@@ -24,7 +24,8 @@ html {
} }
body { 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); background: var(--bg);
color: var(--fg); color: var(--fg);
display: grid; display: grid;
@@ -82,7 +83,9 @@ body {
text-decoration: none; text-decoration: none;
padding: 0.5rem 0.75rem; padding: 0.5rem 0.75rem;
border-radius: 6px; border-radius: 6px;
transition: background 0.15s, color 0.15s; transition:
background 0.15s,
color 0.15s;
} }
.sidebar nav a:hover { .sidebar nav a:hover {
@@ -272,7 +275,8 @@ a:hover {
/* Code */ /* Code */
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; font-size: 0.875em;
background: var(--code-bg); background: var(--code-bg);
padding: 0.2em 0.4em; padding: 0.2em 0.4em;
@@ -499,7 +503,9 @@ th {
height: 2px; height: 2px;
background: var(--fg); background: var(--fg);
border-radius: 1px; border-radius: 1px;
transition: transform 0.3s ease, opacity 0.3s ease; transition:
transform 0.3s ease,
opacity 0.3s ease;
transform-origin: center; transform-origin: center;
} }
@@ -555,7 +561,11 @@ th {
max-height: 0; max-height: 0;
overflow: hidden; overflow: hidden;
opacity: 0; 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 */ /* Show nav when checkbox is checked - checkbox is inside header now */
@@ -570,15 +580,15 @@ th {
} }
/* Hamburger → X morph animation */ /* 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); transform: translateY(8px) rotate(45deg);
} }
.nav-toggle:checked~.hamburger span:nth-child(2) { .nav-toggle:checked ~ .hamburger span:nth-child(2) {
opacity: 0; opacity: 0;
} }
.nav-toggle:checked~.hamburger span:nth-child(3) { .nav-toggle:checked ~ .hamburger span:nth-child(3) {
transform: translateY(-8px) rotate(-45deg); transform: translateY(-8px) rotate(-45deg);
} }
@@ -611,4 +621,4 @@ th {
td code { td code {
white-space: normal; white-space: normal;
} }
} }

View File

@@ -19,7 +19,7 @@ options = ["fmt", "-o", "align_entries=true", "-o", "reorder_keys=true"]
[formatter.prettier] [formatter.prettier]
command = "prettier" command = "prettier"
excludes = ["*/sources.json"] excludes = ["*/sources.json"]
includes = ["*.json", "*.md", "*.yaml", "*.yml"] includes = ["*.json", "*.md", "*.yaml", "*.yml", "*.css"]
options = ["--write"] options = ["--write"]
[formatter.rustfmt] [formatter.rustfmt]