diff --git a/src/style.css b/src/style.css index 4cd553b2a..f374c6dff 100644 --- a/src/style.css +++ b/src/style.css @@ -58,6 +58,11 @@ body { flex: 1; } +.card:target { + scroll-margin-top: 4.5rem; + border-color: #1595fe; +} + .card-body p { margin-bottom: 0; margin-top: 0; @@ -67,6 +72,24 @@ body { margin-bottom: 0.4rem; } +.card-title a { + color: inherit; + text-decoration: none; + border-radius: 4px; + padding: 0 4px; + margin: 0 -4px; +} + +.card-title a::after { + content: " #"; + font-size: 0.8em; + color: #7ec3ff; +} + +.card-title a:focus, .card-title a:hover { + background-color: #f5e9a8; +} + /* ------------------------------ Index ------------------------------------- */ .progress-bar-container { diff --git a/templates/index.html.jinja b/templates/index.html.jinja index 904ed59a3..adb14c9f9 100644 --- a/templates/index.html.jinja +++ b/templates/index.html.jinja @@ -5,9 +5,9 @@
Completion: {{ '{:.2f}%'.format(project.completion) }}
30-day progress: {{ '{:.2f}%'.format(project.change) }}