refactor: drop pattern

This commit is contained in:
alexm committed 2026-10-21 00:12:36 -04:00
1 parent 7a3c0d320a
commit 6ea657f4d0
8 files changed
+26 -56

No files matched your search

+4 -19
View File
@@ -1,5 +1,5 @@
/* scient.ing light theme for Gitea 28: the computation pad.
Built from Gitea v28.1.0's theme-gitea-light.css with the scient.ing tokens. */
/* scienting light theme for Gitea 28: the computation pad.
Built from Gitea v28.1.0's theme-gitea-light.css with the scienting tokens. */
@font-face {
font-family: "Atkinson Hyperlegible Next";
src: url("../fonts/scienting/AtkinsonHyperlegibleNext.woff2") format("woff2");
@@ -17,7 +17,7 @@
}
gitea-theme-meta-info {
--theme-display-name: "scient.ing light";
--theme-display-name: "scienting light";
--theme-color-scheme: "light";
}
@@ -328,7 +328,7 @@ gitea-theme-meta-info {
color-scheme: light;
}
/* scient.ing: type, corners, and a few brand touches on top of the color variables */
/* scienting: type, corners, and a few brand touches on top of the color variables */
:root {
--fonts-override: "Atkinson Hyperlegible Next", -apple-system, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial;
--fonts-monospace: "Atkinson Hyperlegible Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace, var(--fonts-emoji);
@@ -342,21 +342,6 @@ gitea-theme-meta-info {
font-family: var(--fonts-monospace);
}
/* 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: #E5EDDD;
--sc-pad-line-major: #E1EAD9;
}
body {
background-color: var(--color-body);
background-image:
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;
}