diff --git a/static/css/main.css b/static/css/main.css index 46047ff..b576f4a 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -444,6 +444,21 @@ h1.page-title { margin-bottom: 0; margin-left: 32px; font-size: 1.25rem; + + & a { + color: var(--text-color); + text-decoration: none; + + &:hover { + text-decoration: underline; + } + } +} + +@media (hover: none) { + h1.page-title a { + text-decoration: underline; + } } /* Style the `new` link on the homepage */ diff --git a/template/components/_nav.hbs b/template/components/_nav.hbs index 3518db2..d71b214 100644 --- a/template/components/_nav.hbs +++ b/template/components/_nav.hbs @@ -15,7 +15,7 @@ {{/if}} {{#if (and (ne page.title config.user.title) (ne page.title page.tree_path))}} -

{{ page.title }}

+

{{ page.title }}

{{/if}}