16 lines
572 B
CSS
16 lines
572 B
CSS
/* 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"] {
|
||
|
|
display: none;
|
||
|
|
}
|