From 8d7d715dc6b9a476577e1b1f89424a212d2202dc Mon Sep 17 00:00:00 2001 From: Alex Maldonado Date: Sun, 18 Oct 2026 09:47:06 -0400 Subject: [PATCH] fix: fainter pad lines --- README.md | 2 +- public/assets/css/theme-scienting-dark.css | 15 ++++++++------- public/assets/css/theme-scienting-light.css | 15 ++++++++------- templates/home.tmpl | 7 ++++++- 4 files changed, 23 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 7accbea..7cd8913 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ If you remove the mount, the default settings are restored. | `templates/home.tmpl` | the signed-out home page, in the studio's voice | | `templates/custom/extra_links_footer.tmpl` | adds a scient.ing link and the company's legal name, Scientific Computing Studio, LLC, to the footer | -These themes are based on Gitea 28.1.0’s original theme files, with changes only to brand colors, fonts, and corner radius. +These themes are based on Gitea 28.1.0’s original theme files, with changes only to brand colors, fonts, corner radius, and a faint graph-paper grid behind every page except the home page. The named colors for status, diffs, and syntax highlighting remain as Gitea originally set them. All text colors meet WCAG AA standards for contrast with their backgrounds in both themes. diff --git a/public/assets/css/theme-scienting-dark.css b/public/assets/css/theme-scienting-dark.css index 384a955..15ce680 100644 --- a/public/assets/css/theme-scienting-dark.css +++ b/public/assets/css/theme-scienting-dark.css @@ -367,19 +367,20 @@ gitea-theme-meta-info { font-family: var(--fonts-monospace); } -/* scient.ing: the computation pad behind every page. A heavier line every five squares, like an - engineering pad. The lines are faint enough that every text color still passes - WCAG AA where it crosses one. The navbar, panels, code, and menus keep their solid backgrounds. */ +/* scient.ing: the computation pad behind every page, faint, the way an engineering pad's grid + shows through from the back of the sheet. A line every 20 px and a slightly darker line every + 100 px. To make the grid stronger or fainter, change the two colors below. The navbar, panels, + code, and menus keep their solid backgrounds. The home page turns the grid off in home.tmpl. */ :root { - --sc-pad-line: #1F2D24; - --sc-pad-line-major: #26372D; + --sc-pad-line: #19251E; + --sc-pad-line-major: #1C2921; } body { background-color: var(--color-body); background-image: - linear-gradient(var(--sc-pad-line-major) 2px, transparent 2px), - linear-gradient(90deg, var(--sc-pad-line-major) 2px, transparent 2px), + linear-gradient(var(--sc-pad-line-major) 1px, transparent 1px), + linear-gradient(90deg, var(--sc-pad-line-major) 1px, transparent 1px), linear-gradient(var(--sc-pad-line) 1px, transparent 1px), linear-gradient(90deg, var(--sc-pad-line) 1px, transparent 1px); background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px; diff --git a/public/assets/css/theme-scienting-light.css b/public/assets/css/theme-scienting-light.css index 45dc64c..9558ea9 100644 --- a/public/assets/css/theme-scienting-light.css +++ b/public/assets/css/theme-scienting-light.css @@ -342,19 +342,20 @@ gitea-theme-meta-info { font-family: var(--fonts-monospace); } -/* scient.ing: the computation pad behind every page. A heavier line every five squares, like an - engineering pad. The lines are faint enough that every text color still passes - WCAG AA where it crosses one. The navbar, panels, code, and menus keep their solid backgrounds. */ +/* scient.ing: the computation pad behind every page, faint, the way an engineering pad's grid + shows through from the back of the sheet. A line every 20 px and a slightly darker line every + 100 px. To make the grid stronger or fainter, change the two colors below. The navbar, panels, + code, and menus keep their solid backgrounds. The home page turns the grid off in home.tmpl. */ :root { - --sc-pad-line: #DAE6D0; - --sc-pad-line-major: #D6E3CC; + --sc-pad-line: #E5EDDD; + --sc-pad-line-major: #E1EAD9; } body { background-color: var(--color-body); background-image: - linear-gradient(var(--sc-pad-line-major) 2px, transparent 2px), - linear-gradient(90deg, var(--sc-pad-line-major) 2px, transparent 2px), + linear-gradient(var(--sc-pad-line-major) 1px, transparent 1px), + linear-gradient(90deg, var(--sc-pad-line-major) 1px, transparent 1px), linear-gradient(var(--sc-pad-line) 1px, transparent 1px), linear-gradient(90deg, var(--sc-pad-line) 1px, transparent 1px); background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px; diff --git a/templates/home.tmpl b/templates/home.tmpl index 2a43a7f..546c7d1 100644 --- a/templates/home.tmpl +++ b/templates/home.tmpl @@ -7,6 +7,11 @@ padding: 2rem 0 3rem; } + /* The home page sits on plain pad. The theme draws the grid behind other pages; the hero below keeps its own. */ + body { + background-image: none; + } + .scienting-home .sc-wrap { max-width: 68rem; margin: 0 auto; @@ -211,7 +216,7 @@ -

Where we show our work.

+

See our work.

Source code and project history for the Scientific Computing Studio's research, teaching, and engineering work.

Public repositories are open to browse without an account. Private work is limited to members. Accounts are