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

+1 -1
View File
@@ -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.
+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;
+6 -1
View File
@@ -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 @@
</g>
</g>
</svg>
<h1 class="sc-title">Where we show our work<span class="sc-dot">.</span></h1>
<h1 class="sc-title">See our work<span class="sc-dot">.</span></h1>
<p class="sc-lede">Source code and project history for the Scientific Computing Studio's research, teaching, and
engineering work.</p>
<p>Public repositories are open to browse without an account. Private work is limited to members. Accounts are