Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Site
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software/vole.git

Self-hosted forge that lives in your Git repo.

Center the sign-in and registration column

e452b63c760465c09f93dce319c6839b5893a0c6 · Keenan Nemetz · 2d ago · parent 0a12642f

Center the sign-in and registration column

The auth pages capped their card at 34rem but set only a top margin, so the column sat on the left edge of the page while the topbar and every other page center themselves. The card now centers on the page column's center line at every width; the measure and the 8vh vertical offset are unchanged.

A test keeps the rule honest: the three auth pages must render their card in the auth column, and the .auth rule must keep both its measure and its auto inline margin.

closes: 01M8QBQSVG90REZ7SBMH02J9Q6

server/web/static/vole.css +4−1

@@ -942,7 +942,10 @@ a.label:hover { color: var(--accent); border-color: var(--accent); text-decorati
942 942
943 943 /* ---------- auth ---------- */
944 944
945 .auth { max-width: 34rem; margin-top: 8vh; }
945 /* Sign-in, registration and enrollment are one column, not a page of content:
946 the card sits on the page column's center line, and the gutter width is all a
947 phone gets. */
948 .auth { max-width: 34rem; margin: 8vh auto 0; }
946 949 .auth h1 { margin-bottom: 6px; }
947 950
948 951 /* ---------- repository home ---------- */