diff --git a/custom.css b/custom.css index fb26489..f6f636b 100644 --- a/custom.css +++ b/custom.css @@ -1,15 +1,13 @@ /* uhhm - the skin over portal's own stylesheet (site.yaml `stylesheet`, loaded after main.css, so these rules win). */ -/* The way in sits beside the wordmark on every page. uhhm.no is read - and answered without an account, so the invitation is not shown. - Whoever edits the site still signs in at /auth/login directly, and - once signed in the nav keeps its name and its way out. */ -.session:has(a[href^="/auth/login"]) { - display: none; -} - -/* Without :has(), the link alone goes and the empty nav stays. */ -.session a[href^="/auth/login"] { +/* Portal puts the way in beside the wordmark on every page of a site + that has sign-in at all, and there is no setting to turn it off: + `sign_in` follows whether OIDC is enabled on the instance. uhhm.no is + read and answered without an account, so the whole nav goes - signed + out, where it reads "Sign in", and signed in, where it reads a name + and "Sign out". Whoever edits the site goes to /auth/login and + /auth/logout directly. */ +.session { display: none; }