fix: fainter pad lines
This commit is contained in:
4 files changed
+23
-16
No files matched your search
@@ -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/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 |
|
| `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.
|
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.
|
All text colors meet WCAG AA standards for contrast with their backgrounds in both themes.
|
||||||
|
|
||||||
|
|||||||
@@ -367,19 +367,20 @@ gitea-theme-meta-info {
|
|||||||
font-family: var(--fonts-monospace);
|
font-family: var(--fonts-monospace);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* scient.ing: the computation pad behind every page. A heavier line every five squares, like an
|
/* scient.ing: the computation pad behind every page, faint, the way an engineering pad's grid
|
||||||
engineering pad. The lines are faint enough that every text color still passes
|
shows through from the back of the sheet. A line every 20 px and a slightly darker line every
|
||||||
WCAG AA where it crosses one. The navbar, panels, code, and menus keep their solid backgrounds. */
|
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 {
|
:root {
|
||||||
--sc-pad-line: #1F2D24;
|
--sc-pad-line: #19251E;
|
||||||
--sc-pad-line-major: #26372D;
|
--sc-pad-line-major: #1C2921;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: var(--color-body);
|
background-color: var(--color-body);
|
||||||
background-image:
|
background-image:
|
||||||
linear-gradient(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) 2px, transparent 2px),
|
linear-gradient(90deg, var(--sc-pad-line-major) 1px, transparent 1px),
|
||||||
linear-gradient(var(--sc-pad-line) 1px, transparent 1px),
|
linear-gradient(var(--sc-pad-line) 1px, transparent 1px),
|
||||||
linear-gradient(90deg, 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;
|
background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
|
||||||
|
|||||||
@@ -342,19 +342,20 @@ gitea-theme-meta-info {
|
|||||||
font-family: var(--fonts-monospace);
|
font-family: var(--fonts-monospace);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* scient.ing: the computation pad behind every page. A heavier line every five squares, like an
|
/* scient.ing: the computation pad behind every page, faint, the way an engineering pad's grid
|
||||||
engineering pad. The lines are faint enough that every text color still passes
|
shows through from the back of the sheet. A line every 20 px and a slightly darker line every
|
||||||
WCAG AA where it crosses one. The navbar, panels, code, and menus keep their solid backgrounds. */
|
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 {
|
:root {
|
||||||
--sc-pad-line: #DAE6D0;
|
--sc-pad-line: #E5EDDD;
|
||||||
--sc-pad-line-major: #D6E3CC;
|
--sc-pad-line-major: #E1EAD9;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: var(--color-body);
|
background-color: var(--color-body);
|
||||||
background-image:
|
background-image:
|
||||||
linear-gradient(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) 2px, transparent 2px),
|
linear-gradient(90deg, var(--sc-pad-line-major) 1px, transparent 1px),
|
||||||
linear-gradient(var(--sc-pad-line) 1px, transparent 1px),
|
linear-gradient(var(--sc-pad-line) 1px, transparent 1px),
|
||||||
linear-gradient(90deg, 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;
|
background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
|
||||||
|
|||||||
+6
-1
@@ -7,6 +7,11 @@
|
|||||||
padding: 2rem 0 3rem;
|
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 {
|
.scienting-home .sc-wrap {
|
||||||
max-width: 68rem;
|
max-width: 68rem;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@@ -211,7 +216,7 @@
|
|||||||
</g>
|
</g>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</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
|
<p class="sc-lede">Source code and project history for the Scientific Computing Studio's research, teaching, and
|
||||||
engineering work.</p>
|
engineering work.</p>
|
||||||
<p>Public repositories are open to browse without an account. Private work is limited to members. Accounts are
|
<p>Public repositories are open to browse without an account. Private work is limited to members. Accounts are
|
||||||
|
|||||||
Reference in new issue
Block a user