fix: fainter pad lines

This commit is contained in:
alexm committed 2026-10-18 09:47:06 -04:00
1 parent 11ad6fa9f0
commit 8d7d715dc6
4 files changed
+23 -16

No files matched your search

+8 -7
View File
@@ -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;
+8 -7
View File
@@ -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;